Author: eep
Description:
I've added rudimentary sorting to "Whatlinkshere" (backlinks) results (see http://www.tnlc.com/wiki/index.php?title=Special:Whatlinkshere/Template:effect for an example) but this (and other) results page(s) need some tweaking:
- Don't show the "View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500)." lines if there aren't more than 50 (or whatever is configured in prefs) results. Also, it's not a sentence so the period should be removed (which can be changed in MediaWiki:Viewprevnext at least--case-sensitive and won't take effect even if redirected to upper case version until it's re-edited, annoyingly).
- I assume the initial sorting is by database table ID/key so a table column for that should be added (I couldn't figure it out), and the "(inclusion)", "(redirect)", and other "description" text should be in a separate column from the page name (without the parentheses).
*Show the total result count (like category lists do); I can get the total results but not for each page (tried using $rows--returns "Array"--and $row--returns nothing--but they don't work).
Version: 1.9.x
Severity: enhancement