Kiailandi added a comment. |
From Customization:Explaining skins
A 'Skin' in MediaWiki is a PHP class containing functions (or methods) designed to gather the information needed to generate the HTML that your browser displays for each page in the Wiki.
This could be the way to rework our current fronted to make it maintainable, modular and less of an UI hack.
- Mediawiki uses the Vector skin as default. Code can be found on the Github mirror.
- The manual on Skinning is pretty long and made of 3 parts:
- Developing a skin from zero could be a huge work/overkill. I would suggest to simply fork Vector and extend it to achieve with php the same result we are achieving right now with _javascript_
As a starting point we will need to split our "monolithic" JS into a "template part", to translate it to php, and into the actual "user interaction" part that will remain as _javascript_.
TASK DETAIL
EMAIL PREFERENCES
To: Kiailandi
Cc: Afnecors, Hjfocs, Aklapper, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331
Cc: Afnecors, Hjfocs, Aklapper, Kiailandi, dachary, Wikidata-bugs, Ricordisamoa, Sjoerddebruin, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs