summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialUncategorizedcategories.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialUncategorizedcategories.php')
-rw-r--r--includes/specials/SpecialUncategorizedcategories.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/includes/specials/SpecialUncategorizedcategories.php b/includes/specials/SpecialUncategorizedcategories.php
new file mode 100644
index 00000000..f23e89ce
--- /dev/null
+++ b/includes/specials/SpecialUncategorizedcategories.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @file
+ * @ingroup SpecialPage
+ */
+
+/**
+ * implements Special:Uncategorizedcategories
+ * @ingroup 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 );
+}