Page MenuHomePhabricator

[Bug] Two PDF links appearing on left sidebar in desktop
Closed, ResolvedPublic

Description

Steps to reproduce

Go to https://en.wikipedia.org/wiki/Main_Page (or any other main namespace page)

Expected results

  • There is only one PDF link to Special:ElectronPdf

Actual results

Screen Shot 2019-05-27 at 5.54.25 PM.png (110×151 px, 13 KB)

Environments observed

Production

Check any additional observations

Seems to be on ALL projects

Event Timeline

ovasileva updated the task description. (Show Details)
ovasileva added a subscriber: Johan.

I'll remove the rdf2latex portlet format from config - https://github.com/wikimedia/operations-mediawiki-config/blob/master/wmf-config/InitialiseSettings.php#L13874.
With empty portlet formats config system will not render "Download as PDF" option (code responsible for injecting the option: https://github.com/wikimedia/mediawiki-extensions-Collection/blob/master/includes/CollectionHooks.php#L154).

The Downloading via Collection extension is disabled anyway (https://en.wikipedia.org/w/index.php?title=Special:Book - download box is disabled)

Change 512743 had a related patch set uploaded (by Pmiazga; owner: Pmiazga):
[operations/mediawiki-config@master] Disable the rdf2latex Collection portlet format

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

Change 512743 merged by jenkins-bot:
[operations/mediawiki-config@master] Disable the rdf2latex Collection portlet format

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

Mentioned in SAL (#wikimedia-operations) [2019-05-28T12:11:12Z] <pmiazga@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit:512743 Disable the rdf2latex Collection portlet format(T224433)]] (duration: 00m 55s)

ovasileva claimed this task.

Resolving. Thank you @pmiazga!