API: (bug 16225) apfrom=Talk:Foo behaved like apfrom=Foo because Talk: was interprete...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 3 Nov 2008 10:13:00 +0000 (10:13 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 3 Nov 2008 10:13:00 +0000 (10:13 +0000)
RELEASE-NOTES
includes/api/ApiQueryBase.php

index 6ff481b..3372e8c 100644 (file)
@@ -397,6 +397,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * (bug 16105) Image metadata attributes containing spaces result in invalid XML
 * (bug 16126) Added siprop=magicwords to meta=siteinfo
 * (bug 16159) Added wlshow=patrolled|!patrolled to list=watchlist
+* (bug 16225) Titles like Talk:Talk:Foo broke apfrom and friends
 
 === Languages updated in 1.14 ===
 
index e2c43ac..024f5a5 100644 (file)
@@ -338,7 +338,7 @@ abstract class ApiQueryBase extends ApiBase {
                $t = Title::newFromText($title);
                if(!$t)
                        $this->dieUsageMsg(array('invalidtitle', $title));
-               return $t->getDbKey();
+               return $t->getPrefixedDbKey();
        }
 
        /**