Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -939,6 +939,8 @@ |
940 | 940 | 'uncategorizedcategories-summary', |
941 | 941 | 'uncategorizedimages', |
942 | 942 | 'uncategorizedimages-summary', |
| 943 | + 'uncategorizedtemplates', |
| 944 | + 'uncategorizedtemplates-summary', |
943 | 945 | 'unusedcategories', |
944 | 946 | 'unusedimages', |
945 | 947 | 'popularpages', |
Index: trunk/phase3/maintenance/language/messageTypes.inc |
— | — | @@ -123,6 +123,7 @@ |
124 | 124 | 'uncategorizedpages-summary', |
125 | 125 | 'uncategorizedcategories-summary', |
126 | 126 | 'uncategorizedimages-summary', |
| 127 | + 'uncategorizedtemplates-summary', |
127 | 128 | 'popularpages-summary', |
128 | 129 | 'wantedcategories-summary', |
129 | 130 | 'wantedpages-summary', |
Index: trunk/phase3/includes/SpecialUncategorizedtemplates.php |
— | — | @@ -0,0 +1,31 @@ |
| 2 | +<?php |
| 3 | + |
| 4 | +/** |
| 5 | + * Special page lists all uncategorised pages in the |
| 6 | + * template namespace |
| 7 | + * |
| 8 | + * @addtogroup SpecialPage |
| 9 | + * @author Rob Church <robchur@gmail.com> |
| 10 | + */ |
| 11 | +class UncategorizedTemplatesPage extends UncategorizedPagesPage { |
| 12 | + |
| 13 | + var $requestedNamespace = NS_TEMPLATE; |
| 14 | + |
| 15 | + public function getName() { |
| 16 | + return 'Uncategorizedtemplates'; |
| 17 | + } |
| 18 | + |
| 19 | +} |
| 20 | + |
| 21 | +/** |
| 22 | + * Main execution point |
| 23 | + * |
| 24 | + * @param mixed $par Parameter passed to the page |
| 25 | + */ |
| 26 | +function wfSpecialUncategorizedtemplates() { |
| 27 | + list( $limit, $offset ) = wfCheckLimits(); |
| 28 | + $utp = new UncategorizedTemplatesPage(); |
| 29 | + $utp->doQuery( $offset, $limit ); |
| 30 | +} |
| 31 | + |
| 32 | +?> |
Property changes on: trunk/phase3/includes/SpecialUncategorizedtemplates.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 33 | + native |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -210,6 +210,7 @@ |
211 | 211 | 'ShortPagesPage' => 'includes/SpecialShortpages.php', |
212 | 212 | 'UncategorizedCategoriesPage' => 'includes/SpecialUncategorizedcategories.php', |
213 | 213 | 'UncategorizedPagesPage' => 'includes/SpecialUncategorizedpages.php', |
| 214 | + 'UncategorizedTemplatesPage' => 'includes/SpecialUncategorizedtemplates.php', |
214 | 215 | 'PageArchive' => 'includes/SpecialUndelete.php', |
215 | 216 | 'UndeleteForm' => 'includes/SpecialUndelete.php', |
216 | 217 | 'DBUnlockForm' => 'includes/SpecialUnlockdb.php', |
Index: trunk/phase3/includes/QueryPage.php |
— | — | @@ -34,6 +34,7 @@ |
35 | 35 | array( 'UncategorizedCategoriesPage', 'Uncategorizedcategories' ), |
36 | 36 | array( 'UncategorizedPagesPage', 'Uncategorizedpages' ), |
37 | 37 | array( 'UncategorizedImagesPage', 'Uncategorizedimages' ), |
| 38 | + array( 'UncategorizedTemplatesPage', 'Uncategorizedtemplates' ), |
38 | 39 | array( 'UnusedCategoriesPage', 'Unusedcategories' ), |
39 | 40 | array( 'UnusedimagesPage', 'Unusedimages' ), |
40 | 41 | array( 'WantedCategoriesPage', 'Wantedcategories' ), |
Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -94,6 +94,7 @@ |
95 | 95 | 'Uncategorizedpages' => array( 'SpecialPage', 'Uncategorizedpages' ), |
96 | 96 | 'Uncategorizedcategories' => array( 'SpecialPage', 'Uncategorizedcategories' ), |
97 | 97 | 'Uncategorizedimages' => array( 'SpecialPage', 'Uncategorizedimages' ), |
| 98 | + 'Uncategorizedtemplates' => array( 'SpecialPage', 'Uncategorizedtemplates' ), |
98 | 99 | 'Unusedcategories' => array( 'SpecialPage', 'Unusedcategories' ), |
99 | 100 | 'Unusedimages' => array( 'SpecialPage', 'Unusedimages' ), |
100 | 101 | 'Wantedpages' => array( 'IncludableSpecialPage', 'Wantedpages' ), |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -368,6 +368,7 @@ |
369 | 369 | 'Uncategorizedpages' => array( 'Uncategorizedpages' ), |
370 | 370 | 'Uncategorizedcategories' => array( 'Uncategorizedcategories' ), |
371 | 371 | 'Uncategorizedimages' => array( 'Uncategorizedimages' ), |
| 372 | + 'Uncategorizedtemplates' => array( 'Uncategorizedtemplates' ), |
372 | 373 | 'Unusedcategories' => array( 'Unusedcategories' ), |
373 | 374 | 'Unusedimages' => array( 'Unusedimages' ), |
374 | 375 | 'Wantedpages' => array( 'Wantedpages', 'Brokenlinks' ), |
— | — | @@ -1543,6 +1544,8 @@ |
1544 | 1545 | 'uncategorizedcategories-summary' => '', # only translate this message to other languages if you have to change it |
1545 | 1546 | 'uncategorizedimages' => 'Uncategorized images', |
1546 | 1547 | 'uncategorizedimages-summary' => '', # only translate this message to other languages if you have to change it |
| 1548 | +'uncategorizedtemplates' => 'Uncategorized templates', |
| 1549 | +'uncategorizedtemplates-summary' => '', |
1547 | 1550 | 'unusedcategories' => 'Unused categories', |
1548 | 1551 | 'unusedimages' => 'Unused files', |
1549 | 1552 | 'popularpages' => 'Popular pages', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -80,6 +80,7 @@ |
81 | 81 | * Use shared.css for all skins and oldshared.css in place of common.css for |
82 | 82 | pre-Monobook skins. As always, modifications should go in-wiki to MediaWiki: |
83 | 83 | Common.css and MediaWiki:Monobook.css. |
| 84 | +* (bug 8869) Introduce Special:Uncategorizedtemplates |
84 | 85 | |
85 | 86 | == Bugfixes since 1.10 == |
86 | 87 | |