Page MenuHomePhabricator

Deprecate Skin::getIndicatorsHTML
Closed, ResolvedPublic

Description

This doesn't appear to be used anywhere, so let's deprecate it. Going forward we want to move away from PHP string concatenation inside Skin.php and embrace templates.

Skins that don't wish to use Mustache should do this kind of skin concatenation themselves.

https://codesearch.wmcloud.org/search/?q=getIndicatorsHTML&i=nope&files=&repos=

Note: The line in WikimediaApiPortal Skin is actually commented out so no change there is needed.

Event Timeline

Change 618251 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/core@master] Deprecate Skin::getIndicatorsHTML()

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

Change 618260 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/WikimediaApiPortal@master] Remove commented-out code

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

Change 618260 merged by jenkins-bot:
[mediawiki/skins/WikimediaApiPortal@master] Remove commented-out code

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

Change 618251 merged by jenkins-bot:
[mediawiki/core@master] Deprecate Skin::getIndicatorsHTML()

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