From: Brion Vibber Date: Sat, 30 Jul 2005 20:14:34 +0000 (+0000) Subject: * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php X-Git-Tag: 1.5.0beta4~1 X-Git-Url: http://git.cyclocoop.org/wiki/%7B%7Bpath%7D%7Dmw-config/index.php?a=commitdiff_plain;h=d5fdef55226a176ae124aaa1896fea732ceefc03;p=lhc%2Fweb%2Fwiklou.git * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 43e4bc38ce..8b1df213f9 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -616,6 +616,7 @@ of MediaWiki:Newpagetext) to &action=edit, if page is new. * (bug 2952) Added Asturian language file with translated namespaces * (bug 2676) Apply a protective transformation on editing input/output for browsers that hit the Unicode blacklist. Patch by plugwash. +* (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php === Caveats === diff --git a/maintenance/FiveUpgrade.inc b/maintenance/FiveUpgrade.inc index 34a0929880..4c8fcbc797 100644 --- a/maintenance/FiveUpgrade.inc +++ b/maintenance/FiveUpgrade.inc @@ -537,9 +537,9 @@ CREATE TABLE $pagelinks ( $add = array(); while( $row = $this->dbr->fetchObject( $result ) ) { $add[] = array( - 'pl_from' => $row->l_from, - 'pl_namespace' => $row->cur_namespace, - 'pl_title' => $row->cur_title ); + 'pl_from' => $row->l_from, + 'pl_namespace' => $row->cur_namespace, + 'pl_title' => $this->conv( $row->cur_title ) ); $this->addChunk( $add ); } $this->lastChunk( $add );