r31841 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r31840‎ | r31841 | r31842 >
Date:05:11, 12 March 2008
Author:werdna
Status:old
Tags:
Comment:
* (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialUnusedtemplates.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialUnusedtemplates.php
@@ -22,7 +22,8 @@
2323 FROM $page
2424 LEFT JOIN $templatelinks
2525 ON page_namespace = tl_namespace AND page_title = tl_title
26 - WHERE page_namespace = 10 AND tl_from IS NULL";
 26+ WHERE page_namespace = 10 AND tl_from IS NULL
 27+ AND page_is_redirect = 0";
2728 return $sql;
2829 }
2930
Index: trunk/phase3/RELEASE-NOTES
@@ -80,6 +80,7 @@
8181 * (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
8282 case-insensitive names.
8383 * Adding the fix for lists in RTL wikis to more skins, and fixing the image toc
 84+* (bug 8157) Remove redirects from Special:Unusedtemplates. Patch by WebBoy.
8485
8586 === API changes in 1.13 ===
8687

Status & tagging log