* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
extension tables using uppercase letters or digits in their names.
This commit is contained in:
parent
10deba116d
commit
85930f1dc9
2 changed files with 4 additions and 1 deletions
|
|
@ -352,6 +352,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
|
|||
* (bug 11951) EditPage::getEditToolbar() is now static.
|
||||
* (bug 14404) Use of {{int:...}} to generate links no longer breaks links table
|
||||
if user has a custom interface language
|
||||
* (bug 14392) Fix regression breaking table prefix in installer
|
||||
* (bug 11084) $wgDBprefix replacement for updater SQL will now work for
|
||||
extension tables using uppercase letters or digits in their names.
|
||||
|
||||
|
||||
=== API changes in 1.13 ===
|
||||
|
|
|
|||
|
|
@ -2215,7 +2215,7 @@ class Database {
|
|||
}
|
||||
|
||||
// Table prefixes
|
||||
$ins = preg_replace_callback( '/\/\*(?:\$wgDBprefix|_)\*\/([a-z_]*)/',
|
||||
$ins = preg_replace_callback( '/\/\*(?:\$wgDBprefix|_)\*\/([a-zA-Z_0-9]*)/',
|
||||
array( &$this, 'tableNameCallback' ), $ins );
|
||||
return $ins;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue