Provide some info on which case value was not handled in ApiLogin
[lhc/web/wiklou.git] / includes / api / ApiQueryRecentChanges.php
index b6b8267..14d6354 100644 (file)
@@ -32,7 +32,7 @@ if (!defined('MEDIAWIKI')) {
  * A query action to enumerate the recent changes that were done to the wiki.
  * Various filters are supported.
  *
- * @addtogroup API
+ * @ingroup API
  */
 class ApiQueryRecentChanges extends ApiQueryBase {
 
@@ -166,7 +166,7 @@ class ApiQueryRecentChanges extends ApiQueryBase {
                        if($this->fld_redirect || isset($show['redirect']) || isset($show['!redirect']))
                        {
                                $this->addTables('page');
-                               $this->addWhere(array('page_namespace=rc_namespace', 'page_title=rc_title'));
+                               $this->addJoinConds(array('page' => array('LEFT JOIN', array('rc_namespace=page_namespace', 'rc_title=page_title'))));
                                $this->addFields('page_is_redirect');
                        }
                }
@@ -394,7 +394,7 @@ class ApiQueryRecentChanges extends ApiQueryBase {
                                'For example, to see only minor edits done by logged-in users, set show=minor|!anon'
                        ),
                        'type' => 'Which types of changes to show.',
-                       'limit' => 'How many total pages to return.'
+                       'limit' => 'How many total changes to return.'
                );
        }