summaryrefslogtreecommitdiff
path: root/includes/SpecialUncategorizedcategories.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/SpecialUncategorizedcategories.php')
-rw-r--r--includes/SpecialUncategorizedcategories.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/includes/SpecialUncategorizedcategories.php b/includes/SpecialUncategorizedcategories.php
new file mode 100644
index 00000000..ba399f0c
--- /dev/null
+++ b/includes/SpecialUncategorizedcategories.php
@@ -0,0 +1,39 @@
+<?php
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+
+/**
+ *
+ */
+require_once( "SpecialUncategorizedpages.php" );
+
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+class UncategorizedCategoriesPage extends UncategorizedPagesPage {
+ function UncategorizedCategoriesPage() {
+ $this->requestedNamespace = NS_CATEGORY;
+ }
+
+ function getName() {
+ return "Uncategorizedcategories";
+ }
+}
+
+/**
+ * constructor
+ */
+function wfSpecialUncategorizedcategories() {
+ list( $limit, $offset ) = wfCheckLimits();
+
+ $lpp = new UncategorizedCategoriesPage();
+
+ return $lpp->doQuery( $offset, $limit );
+}
+
+?>