Skins should no longer output HTML and head tag
jdlrobson opened this issue · 2 comments
@zlzleking wrote
First : we moved main repo to github [https://github.com/librewiki/liberty-skin]
Liberty skin uses many head elements and meta tags. If we apply this, many elements will go inside to body tag.
Following the intent of MediaWiki 1.39, it seems that many features of Liberty skins will have to be removed.
I don't think so. You can still modify the head element to add meta tags (making sure to check the skin key to see if you are in Liberty skin), but to do this you should make use of the https://www.mediawiki.org/wiki/Manual:Hooks/BeforePageDisplay hook or extend Skin::initPage. This change is only changing where and how the head element and scripts are outputted for greater compatibility with extensions.
Let me know if you still have any questions!
resolved after liberty 1.13