mediawiki-skins-Vector/includes/templates
jdlrobson ee6974ad35 Merge SkinVector and VectorTemplate (step 1/2)
Please note I7e06a4cc226f3434c0f655212a464b8b98bcc7f4 should be
merged at the same time as this patch.

== The background ==
All extensions have been weaned of BaseTemplate hooks in
Wikimedia projects.

This change now means that Vector will no longer run
any BaseTemplate hooks. See the epic T253809 for the
implementation details.

== The change ==
BaseTemplate will now have nothing to do with the rendering of
Vector. The skin version is added to express the significance of
breaking compatibility with 3rd party extensions.

We TEMPORARILY remove SkinVector to retain git blame. SkinTemplateVector will
be renamed SkinVector in the follow up (see 2/2)
Update skin.json to use SkinTemplateVector for the skin (this will be fixed
in a follow up).

The isLegacy method is moved to SkinTemplateVector.

Changes of note:
* html-debuglog is no longer needed. SkinMustache includes this information on
the skins behalf
* html-printtail and html-headelement are now not needed in the master template
and added by SkinMustache
* Skin::getAfterPortlet does not provide the `after-portlet` wrapping element provided
by BaseTemplate::getAfterPortlet so this is added
* SkinTemplate::getFooterIcons does not support the options that BaseTemplate::getFooterIcons
does so any icons which do not have an image must be manually checked for and unset

Known changes to HTML output as a result of intentionally
delegating their output to the core SkinMustache class:
* A new line is removed between the body element and #mw-page-base
* #mw-html-debug-log now appears at the end of the body element
* #printfooter is now a child of #mw-content-text rather than sibling.

Bug: T251212
Change-Id: I4e89beb96f6401ed7e51bafdf0aac408f5a2c42f
2020-07-30 11:18:45 -07:00
..
legacy Separate languages portal from other portals in sidebar 2020-06-22 15:28:02 -07:00
Footer.mustache Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
Indicators.mustache Rename template variables to mirror SkinMustache 2020-07-13 21:57:40 +00:00
Logo.mustache [modern] A new version of Vector with a new logo 2020-04-30 14:11:54 -07:00
Menu.mustache Remove VectorAfterToolbox hook 2020-07-27 00:18:51 +01:00
SearchBox.mustache Refactor: html-userlangattributes -> html-user-language-attributes 2020-07-15 10:18:45 -07:00
Sidebar.mustache Remove unused mw-checkbox-hack-target class 2020-06-24 17:31:11 -07:00
skin-legacy.mustache Merge SkinVector and VectorTemplate (step 1/2) 2020-07-30 11:18:45 -07:00
skin.mustache Merge SkinVector and VectorTemplate (step 1/2) 2020-07-30 11:18:45 -07:00