X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryRecentChanges.php;h=79a8dc96f9c5736a2238cfe4a3303f57f303684a;hb=96fde047c82d436228a925704189d4882882511d;hp=6ccc2886c4648541bbb8017cd5abdaed36750000;hpb=f726bbf6e7f26cd268e6c44a4af675c15a337921;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryRecentChanges.php b/includes/api/ApiQueryRecentChanges.php index 6ccc2886c4..79a8dc96f9 100644 --- a/includes/api/ApiQueryRecentChanges.php +++ b/includes/api/ApiQueryRecentChanges.php @@ -69,8 +69,8 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase { } /** - * @param $pageid - * @param $title + * @param $pageid + * @param $title * @param $rc RecentChange (optional) * @return bool|string */ @@ -281,8 +281,8 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase { /* Add fields to our query if they are specified as a needed parameter. */ $this->addFieldsIf( array( 'rc_this_oldid', 'rc_last_oldid' ), $this->fld_ids ); $this->addFieldsIf( 'rc_comment', $this->fld_comment || $this->fld_parsedcomment ); - $this->addFieldsIf( 'rc_user', $this->fld_user ); - $this->addFieldsIf( 'rc_user_text', $this->fld_user || $this->fld_userid ); + $this->addFieldsIf( 'rc_user', $this->fld_user || $this->fld_userid ); + $this->addFieldsIf( 'rc_user_text', $this->fld_user ); $this->addFieldsIf( array( 'rc_minor', 'rc_type', 'rc_bot' ), $this->fld_flags ); $this->addFieldsIf( array( 'rc_old_len', 'rc_new_len' ), $this->fld_sizes ); $this->addFieldsIf( 'rc_patrolled', $this->fld_patrolled ); @@ -892,7 +892,7 @@ class ApiQueryRecentChanges extends ApiQueryGeneratorBase { } public function getDescription() { - return 'Enumerate recent changes'; + return 'Enumerate recent changes.'; } public function getPossibleErrors() {