Page MenuHomePhabricator

Make WantedQueryPage::makeWlhLink protected instead of private
Closed, ResolvedPublic


makeWlhLink is a method for generating list items on special pages listing most wanted pages or similar. One can already overload the formatResult method in this class (it's public), but an extension developer may just want to tweak the link a little, without rewriting the entire formatResult method.

There is an actual use case in the AdvancedBacklinks extension, which adds special pages extending the WantedQueryPage class (you can see the class that would benefit from this here).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 28 2019, 4:50 PM

Change 533065 had a related patch set uploaded (by Ostrzyciel; owner: Ostrzyciel):
[mediawiki/core@master] Make WantedQueryPage::makeWlhLink protected

Change 533065 merged by jenkins-bot:
[mediawiki/core@master] Make WantedQueryPage::makeWlhLink protected

Ostrzyciel closed this task as Resolved.Feb 11 2020, 9:20 AM