r36108 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36107‎ | r36108 | r36109 >
Date:21:45, 9 June 2008
Author:brion
Status:old
Tags:
Comment:
* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
extension tables using uppercase letters or digits in their names.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Database.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Database.php
@@ -2215,7 +2215,7 @@
22162216 }
22172217
22182218 // Table prefixes
2219 - $ins = preg_replace_callback( '/\/\*(?:\$wgDBprefix|_)\*\/([a-z_]*)/',
 2219+ $ins = preg_replace_callback( '/\/\*(?:\$wgDBprefix|_)\*\/([a-zA-Z_0-9]*)/',
22202220 array( &$this, 'tableNameCallback' ), $ins );
22212221 return $ins;
22222222 }
Index: trunk/phase3/RELEASE-NOTES
@@ -352,6 +352,9 @@
353353 * (bug 11951) EditPage::getEditToolbar() is now static.
354354 * (bug 14404) Use of {{int:...}} to generate links no longer breaks links table
355355 if user has a custom interface language
 356+* (bug 14392) Fix regression breaking table prefix in installer
 357+* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
 358+ extension tables using uppercase letters or digits in their names.
356359
357360
358361 === API changes in 1.13 ===

Status & tagging log