Page MenuHomePhabricator

Skins should not use $wgUseTwoButtonsSearchForm
Closed, ResolvedPublic

Description

These skins (among others, non-WMF deployed) make use of this variable to provide two-buttons search form (see https://www.mediawiki.org/wiki/MediaWiki?useskin=monobook).

This variable (which lives in core but not used there) is now removed (see T42622)

This task is to decide the future of the config option in these skins. If it's decided that any of these skin want continue supporting it, then the config would be moved inside the skin itself. Otherwise it would be removed completely.

Event Timeline

I'm not sure if I understand Nostalgia (this one will be simply removed completely). correctly; does that mean Nostalgia will no longer show two buttons? To preserve the look, I think Nostalgia should just display two buttons independent of MediaWiki.

I'm not sure if I understand Nostalgia (this one will be simply removed completely). correctly; does that mean Nostalgia will no longer show two buttons? To preserve the look, I think Nostalgia should just display two buttons independent of MediaWiki.

Thanks, I didn't thought of that.

Change 608216 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/Nostalgia@master] Nostalgia: Always show two-buttons search form

https://gerrit.wikimedia.org/r/c/mediawiki/skins/Nostalgia/ /608216

I think regarding these 3 skins we should consider them legacy and just do whatever they were doing before by default minus the configuration (so show 2 buttons on all of them).
That said 2 buttons is bad for usability, but I don't think it's in our interest to change norms on deprecated skins.

For users or site admins who want 1 button, CSS can be used to hide the latter button.

Jdlrobson triaged this task as Medium priority.Jun 29 2020, 11:26 PM
Jdlrobson updated the task description. (Show Details)

Change 608216 merged by jenkins-bot:
[mediawiki/skins/Nostalgia@master] Nostalgia: Always show two-buttons search form

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

Change 611653 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/MonoBook@master] MonoBook: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Change 611675 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/Modern@master] Modern: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Change 611653 merged by jenkins-bot:
[mediawiki/skins/MonoBook@master] MonoBook: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Change 611675 merged by jenkins-bot:
[mediawiki/skins/Modern@master] Modern: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Change 612465 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/CologneBlue@master] CologneBlue: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Change 612465 merged by jenkins-bot:
[mediawiki/skins/CologneBlue@master] CologneBlue: Remove usage of $wgUseTwoButtonsSearchForm config variable

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

Jdlrobson renamed this task from Decide whether Monobook, CologneBlue and Modern should continue supporting $wgUseTwoButtonsSearchForm to Skins should not use $wgUseTwoButtonsSearchForm.Jul 14 2020, 3:01 PM
Jdlrobson updated the task description. (Show Details)

Change 614030 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/Bouquet@master] Remove usage of $wgUseTwoButtonsSearchForm.

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

Change 614030 merged by jenkins-bot:
[mediawiki/skins/Bouquet@master] Remove usage of $wgUseTwoButtonsSearchForm.

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

Change 618647 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/DuskToDawn@master] Remove usages of Revision object and $wgUseTwoButtonsSearchForm global

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

Change 618648 had a related patch set uploaded (by Ammarpad; owner: Ammarpad):
[mediawiki/skins/Gamepress@master] Remove usage of $wgUseTwoButtonsSearchForm global

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

Change 618648 merged by jenkins-bot:
[mediawiki/skins/Gamepress@master] Remove usage of $wgUseTwoButtonsSearchForm global

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

Change 618647 merged by jenkins-bot:
[mediawiki/skins/DuskToDawn@master] Remove usages of Revision object and $wgUseTwoButtonsSearchForm global

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

Ammarpad claimed this task.
Ammarpad updated the task description. (Show Details)