mediawiki-skins-Vector/includes
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
..
FeatureManagement Merge "[fix] "Existing account only" skin version config" 2020-04-29 18:55:30 +00:00
templates Merge SkinVector and VectorTemplate (step 1/2) 2020-07-30 11:18:45 -07:00
Constants.php Add config to disable sidebar state persistence for logged-in users. 2020-07-17 09:32:21 -07:00
Hooks.php Merge SkinVector and VectorTemplate (step 1/2) 2020-07-30 11:18:45 -07:00
ServiceWiring.php Merge "[fix] "Existing account only" skin version config" 2020-04-29 18:55:30 +00:00
SkinTemplateVector.php Merge SkinVector and VectorTemplate (step 1/2) 2020-07-30 11:18:45 -07:00
SkinVersionLookup.php [fix] "Existing account only" skin version config 2020-04-29 18:36:03 +00:00