diff options
Diffstat (limited to 'includes/api/ApiPageSet.php')
-rw-r--r-- | includes/api/ApiPageSet.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/api/ApiPageSet.php b/includes/api/ApiPageSet.php index 2386d9ed70bd..e6dd7f2e940a 100644 --- a/includes/api/ApiPageSet.php +++ b/includes/api/ApiPageSet.php @@ -600,14 +600,14 @@ class ApiPageSet extends ApiQueryBase { $db->freeResult( $res ); if ( $this->mPendingRedirectIDs ) { - # We found pages that aren't in the redirect table - # Add them + // We found pages that aren't in the redirect table + // Add them foreach ( $this->mPendingRedirectIDs as $id => $title ) { $article = new Article( $title ); $rt = $article->insertRedirect(); if ( !$rt ) - # What the hell. Let's just ignore this + // What the hell. Let's just ignore this continue; $lb->addObj( $rt ); $this->mRedirectTitles[$title->getPrefixedText()] = $rt->getPrefixedText(); @@ -635,7 +635,7 @@ class ApiPageSet extends ApiQueryBase { $titleObj = is_string( $title ) ? Title :: newFromText( $title ) : $title; if ( !$titleObj ) { - # Handle invalid titles gracefully + // Handle invalid titles gracefully $this->mAllpages[0][$title] = $this->mFakePageId; $this->mInvalidTitles[$this->mFakePageId] = $title; $this->mFakePageId--; |