r69588 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69587‎ | r69588 | r69589 >
Date:09:26, 20 July 2010
Author:catrope
Status:ok
Tags:
Comment:
Followup to r69587: forgot to hit Save *facepalm*
Modified paths:
  • /trunk/phase3/includes/api/ApiPageSet.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiPageSet.php
@@ -677,8 +677,8 @@
678678 global $wgContLang;
679679 if ( $this->mConvertTitles &&
680680 count( $wgContLang->getVariants() ) > 1 &&
681 - $titleObj->getArticleID() == 0 ) {
682 - // Language::findVariantLink will modify titleObj into
 681+ !$titleObj->exists() ) {
 682+ // Language::findVariantLink will modify titleObj into
683683 // the canonical variant if possible
684684 $wgContLang->findVariantLink( $title, $titleObj );
685685 $titleWasConverted = $unconvertedTitle !== $titleObj->getPrefixedText();

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r69587Followup to r69237: clarify documentation to avoid confusion with title norma...catrope09:24, 20 July 2010

Status & tagging log