Page MenuHomePhabricator

English Wikipedia sidebar changes
Closed, InvalidPublic

Description

Per the results of the recent RFC on the English Wikipedia, the following changes should be made to the ENWP sidebar:

  • Remove "Upload file" from the Toolbox section.
  • Remove the "Wikipedia store" link, which is added by an extension.
  • The "Cite this page" link, currently under "Toolbox", should be moved to the bottom of the "Print/export" section.

(The first two removals are currently done via CSS, but that doesn't run on certain pages for security reasons, causing certain issues.)

Event Timeline

Remove "Upload file" from the Toolbox section.

To be moved to where? or does this mean remove 'entirely'?

Remove the "Wikipedia store" link, which is added by an extension.

It's simple to exclude enwiki here. (It's not added by extension)

The "Cite this page" link, currently under "Toolbox", should be moved to the bottom of the "Print/export" section.

These links are provided by two different extensions. While it's possible to merge the "Cite this page" link in "Print/export" section, it would probably means doing that for all projects (where both extensions are installed), which may not be ideal outcome. Providing config variable to change only this order and in only one project may seems overkill.

Remove "Upload file" from the Toolbox section.

To be moved to where? or does this mean remove 'entirely'?

Removed entirely; it was added on-wiki in MediaWiki:Sidebar.

Removed entirely; it was added on-wiki in MediaWiki:Sidebar.

Thanks. The link is set in the base Skin class. This probably means it may also require config variable for a project to be able to unset it.

I believe Local-Wiki-Template-And-Gadget-Issues can provide guidance on what's the best way to suppress the upload link, the way enwiki wants.

Aklapper changed the task status from Open to Stalled.Jun 15 2020, 7:53 AM

This task is quite confusing. See https://www.mediawiki.org/wiki/Manual:Sidebar and T254546#6196971 for what's possible.

For what's currently not possible, either development tasks need to be created, or specific items need to be declined.

The "Wikipedia store" link can be disabled by setting $wmgUseWikimediaShopLink to false, which is a straightforward configuration change (hence, adding Wikimedia-Site-requests)

@Yair_rand: This task is not actionable, so I am closing it. Please create separate tasks for each separate request: Only one problem per task, please.

Some stuff listed above can be done, other stuff first requires someone to volunteer to write code in MediaWiki core to allow enabling/disabling requested functionality per wiki. Hence such tasks would be stalled as they first require resolving code development subtasks. Wikimedia-Site-requests is for already existing settings.)

The "Wikipedia store" link can be disabled by setting $wmgUseWikimediaShopLink to false, which is a straightforward configuration change (hence, adding Wikimedia-Site-requests)

I'm vaguely certain this task can be done now but I don't recall which task the config was added in. @Pppery?

Following up here, it looks like the "cite this page" link hasn't been moved yet; @Yair_rand, do we have a phab task for that?