Page MenuHomePhabricator

Edit links in Special:DisambiguationPageLinks should only be shown if user can edit
Closed, ResolvedPublic

Description

This change will be very similar to https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/specials/SpecialBrokenRedirects.php$129. It should check whether the user can edit (has the "edit" permission and isn't blocked) and whether the page will "accept" action=edit.

For performance, the following piece of code should also be added to SpecialDisambiguationPageLinks: https://phabricator.wikimedia.org/source/mediawiki/browse/master/includes/specials/SpecialBrokenRedirects.php$172.

The relevant method is [[ https://phabricator.wikimedia.org/diffusion/EDIS/browse/master/specials/SpecialDisambiguationPageLinks.php$71 | SpecialDisambiguationPageLinks::formatResult ]].

Event Timeline

Change 463679 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[mediawiki/extensions/Disambiguator@master] Edit links in Special:DisambiguationPageLinks should only be shown if user can edit

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

Change 463679 had a related patch set uploaded (by Matěj Suchánek; owner: Urbanecm):
[mediawiki/extensions/Disambiguator@master] Show edit links in Special:DisambiguationPageLinks only if user can edit

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

Umherirrender assigned this task to Urbanecm.

Change 463679 merged by jenkins-bot:
[mediawiki/extensions/Disambiguator@master] Show edit links in Special:DisambiguationPageLinks only if user can edit

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