Index: trunk/phase3/includes/api/ApiQuery.php |
— | — | @@ -430,7 +430,7 @@ |
431 | 431 | ApiQueryBase::addTitleInfo( $vals, $title ); |
432 | 432 | $vals['special'] = ''; |
433 | 433 | if ( $title->getNamespace() == NS_SPECIAL && |
434 | | - !SpecialPage::exists( $title->getText() ) ) { |
| 434 | + !SpecialPage::exists( $title->getDbKey() ) ) { |
435 | 435 | $vals['missing'] = ''; |
436 | 436 | } elseif ( $title->getNamespace() == NS_MEDIA && |
437 | 437 | !wfFindFile( $title ) ) { |