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.

  1. Mediawiki uses the Vector skin as default. Code can be found on the Github mirror.
  2. The manual on Skinning is pretty long and made of 3 parts:
    1. Part 1
    2. Part 2
    3. Part 3
  3. 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
https://phabricator.wikimedia.org/T167589

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Kiailandi
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

Reply via email to