From d5fdef55226a176ae124aaa1896fea732ceefc03 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Sat, 30 Jul 2005 20:14:34 +0000 Subject: [PATCH] * (bug 2999) Fix encoding conversion of pl_title in upgrade1_5.php --- RELEASE-NOTES | 1 + maintenance/FiveUpgrade.inc | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) 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 ); -- 2.20.1