Page MenuHomePhabricator

Remove "Printable version" link in toolbox from [[Special:Upload]]
Closed, DeclinedPublic

Description

A recent change (maybe [1]?) added a "Printable version" link to the toolbox on [[Special:Upload]].

Despite the fact, that is not useful at all there, it breaks the access key ("p") for the preview button which is added by custom JS to Special:Upload on many Wikis (e.g. [2],[3]).

The easiest option would probably be to not display the link there, similarly as it is not shown when editing an article.

[1] https://gerrit.wikimedia.org/r/#/c/62844/
[2] https://commons.wikimedia.org/wiki/MediaWiki:UploadForm.js
[3] https://de.wikipedia.org/wiki/MediaWiki:Onlyifuploading.js


Version: 1.23.0
Severity: minor

Details

Reference
bz56786

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:20 AM
bzimport set Reference to bz56786.
bzimport added a subscriber: Unknown Object (MLST).

Using "P" for preview and print is always inevitably going to result in collisions, isn't it? I think it makes sense to focus on handling collisions gracefully rather than trying to special-case Special:Upload.

I don't see Print/Export in the sidebar with 1.23wmf4 on enwiki.

(In reply to comment #2)

I don't see Print/Export in the sidebar with 1.23wmf4 on enwiki.

I don't know what this comment means.

This bug is about a "Printable version" link in the sidebar at [[Special:Upload]]. I see this link on both the German and English Wikipedias currently (in the "Tools" sidebar section).

(In reply to comment #3)

(In reply to comment #2)

I don't see Print/Export in the sidebar with 1.23wmf4 on enwiki.

I don't know what this comment means.

This bug is about a "Printable version" link in the sidebar at
[[Special:Upload]]. I see this link on both the German and English Wikipedias
currently (in the "Tools" sidebar section).

I think he meant the collection/pdf download stuff, which has a similar name but is separate from what this bug is about.

I think this should be handled by your custom script.