Page MenuHomePhabricator

Document tagline and icon options of $wgLogos by putting them in the installer
Closed, ResolvedPublic

Description

T249047: [Site Config] Make new logos available in production in preparation for T246170 added taglines and icons to the $wgLogos definition, apparently so that $wgMobileFrontendLogo could be removed (T248500). The problem is that these new keys are not documented anywhere!

From the associated commits rOMWC9065650029e45f02438a90e306c0837b82f4019b and rOMWCb8b051fee1b85522b9002dc5b2c618e37b8977f1, I can derive that icon links to an image file, and that tagline defines an <img> specification, with a src, width and height attribute. What they're actually for is not mentioned.

Definition of Done

  • DefaultSettings.php mentions the new keys
  • The release notes section on $wgLogos mentions the new keys
  • Documentation on MediaWiki specifies a description of the keys, the kind of image they expect and when they should be used
  • Installer takes into account the new keys

Event Timeline

Krinkle added a subscriber: Krinkle.

Does not seem like a release blocker. Nothing suggests or implies that these need to be used, so 1.35 works fine without it as well. It can be publicly launched in 1.36 instead.

Change 612437 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/core@master] Add support in installer for other logo keys

https://gerrit.wikimedia.org/r/612437

Jdlrobson renamed this task from Document tagline and icon options of $wgLogos to Document tagline and icon options of $wgLogos by putting them in the installer.Jul 29 2020, 3:24 PM

Change 612437 abandoned by Jdlrobson:
[mediawiki/core@master] Add support in installer for other logo keys

Reason:
Not a priority of mine right now (I may resurrect this patch nearer to the 1.36 release). Somebody should feel free to fork this in the mean time if they feel inspired!

https://gerrit.wikimedia.org/r/612437

Hey there, should this be moved to 1.37? The cut for 1.36 has happened, and 1.36.0-rc.0 will be cut in a fortnight or so, after which feature changes shouldn't be landed and back-ported.

Skins are still transitioning and since Modern Vector is not yet the default skin for an installed MediaWiki instance I think this can wait until 1.37 and when Desktop improvements has rolled out to at least 50% of Wikimedia wikis.

Punting to a future release as the new logos are still not used in the main Vector version.

Change 761503 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] WIP: Add logos to installer

https://gerrit.wikimedia.org/r/761503

Change 761738 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Make the default skin for 1.38 Vector

https://gerrit.wikimedia.org/r/761738

Change 761503 merged by jenkins-bot:

[mediawiki/core@master] Update installer to reflect modern logos

https://gerrit.wikimedia.org/r/761503

Jdlrobson updated the task description. (Show Details)