Page MenuHomePhabricator

Remove unused configuration global $wgSiteSupportPage
Closed, ResolvedPublic


This configuration global is unused in MediaWiki, and does not appear to have any usages in any extensions or skins.
The documentation page states that

This has been superseded in later versions by the $wgNavigationLinks setting and MediaWiki:Sidebar

but it was never deprecated. Note that $wgNavigationLinks has been removed in MediaWiki 1.5.0, which means that this setting is unused for over a decade.

Considering its lack of usage, I think we can forego a deprecation period as there are no known usages.

Usage search:


Event Timeline

Change 427428 had a related patch set uploaded (by Mainframe98; owner: Mainframe98):
[mediawiki/core@master] Remove $wgSiteSupportPage

Change 427428 merged by jenkins-bot:
[mediawiki/core@master] Remove $wgSiteSupportPage

@Krinkle You've added the MW-1.31-release project, so does that mean this should also be back-ported to 1.31?

I was planning to, but there's not much value in doing so at this point, and we've already merged the release notes.

Then, all that's left is removing from InitialiseSettings.php.

Change 428365 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[operations/mediawiki-config@master] Don't try to set wgSiteSupportPage, ignored for a decade

Change 428365 merged by jenkins-bot:
[operations/mediawiki-config@master] Don't try to set wgSiteSupportPage, ignored for a decade

Jdforrester-WMF removed a project: Patch-For-Review.
Jdforrester-WMF updated the task description. (Show Details)