Merge "Don't check namespace in SpecialWantedtemplates"
[lhc/web/wiklou.git] / includes / api / ApiQueryWatchlist.php
index 9d35a55..648d259 100644 (file)
@@ -483,9 +483,14 @@ class ApiQueryWatchlist extends ApiQueryGeneratorBase {
                                )
                        ),
                        'type' => array(
-                               ApiBase::PARAM_DFLT => 'edit|new|log|categorize',
+                               ApiBase::PARAM_DFLT => 'edit|new|log',
                                ApiBase::PARAM_ISMULTI => true,
-                               ApiBase::PARAM_TYPE => RecentChange::getChangeTypes()
+                               ApiBase::PARAM_TYPE => array(
+                                       'edit',
+                                       'external',
+                                       'new',
+                                       'log',
+                               )
                        ),
                        'owner' => array(
                                ApiBase::PARAM_TYPE => 'user'