Directory

⚓ T342514 Indicate on Special:Version when no skins or no extension are installed
Page MenuHomePhabricator

Indicate on Special:Version when no skins or no extension are installed
Closed, ResolvedPublic

Description

When one is new to MediaWiki development, one is likely to look at Special:Version early on, as often instructed by documentation.

During an introductory session last week, I noticed that referring to the "Installed extensions" section there was a brief moment of confusion as this section doesn't exist unless there are also non-zero extensions installed.

This special page is not an encyclopedic article or end-user interface, where an empty section may be unhelpful. Rather, it's meta information, and the fact that no extensions are installed is useful information to state.

Outcome

  • Ensure the " Installed extensions" is always present.
  • When no extensions are installed, output a sentence that says so. As all sentences in our software, this should be a localized sentence.

This task will cover:

  • SpecialVersion.php
  • SpecialPage interface: Which methods are invoked by the request handler? Where does execution begin?
  • OutputPage interface: How does text end up on the page?
  • Html.php utility: How is HTML formatted?
  • Localisation system:

Event Timeline

Change 941977 had a related patch set uploaded (by Hokwelum; author: Hokwelum):

[mediawiki/core@master] Indicate on Special:Version when no skins are installed

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

pmiazga changed the task status from Open to In Progress.Jul 28 2023, 3:22 PM
pmiazga triaged this task as Medium priority.

Change 941977 merged by jenkins-bot:

[mediawiki/core@master] SpecialVersion: Indicate when no skins or extensions are installed

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

Change 944841 had a related patch set uploaded (by Hokwelum; author: Hokwelum):

[mediawiki/core@master] Use Html class instead of Xml to format Html elements on SpecialVersion

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

Change 944841 merged by jenkins-bot:

[mediawiki/core@master] Use Html class instead of Xml to format Html elements on SpecialVersion

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