Page MenuHomePhabricator

Special page showing most linked-to redirects
Closed, ResolvedPublic

Description

Author: helios89

Description:
It would be possible to add a page [[Special:MostLinkedRedirects]] that show the list of redirects not sorted by name, but by how many times are linked?


Version: unspecified
Severity: enhancement

Details

Reference
bz10997

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:51 PM
bzimport set Reference to bz10997.

helios89 wrote:

Well, i tried to figure out how to solve this problem by myself, but, as I barely know PHP and our database tables, I only figured out that what i would do is adding: "WHERE page_is_redirect = 1" on a copy of SpecialMostlinked.php in /includes/, but I think this will not solve my problem. I thought that I could understand something from SpecialMostLinkedcategories.php but as i see <<" . NS_CATEGORY . " as namespace, >> the structure is different.

Well, I dont really know if something i just wrote is wrong or correct, but I would be happy to know where I got wrong...

oldakquill wrote:

Create new special page "SpecialMostedlinkedredirects.php"; modify messagesEn.php, QueryPage.php, SpecialPage.php, AutoLoader.php, messages.inc, messageTypes.inc

Attached: