(bug 12608) Unifying the spelling of getDBkey() in the extension code.

This commit is contained in:
Siebrand Mazeland 2008-01-14 10:09:08 +00:00
parent abcd149c48
commit d942c258ba

View file

@ -65,7 +65,7 @@ class TitleBlacklistHooks {
public static function validateBlacklist( $editor, $text, $section, $error ) {
global $wgTitleBlacklist;
$title = $editor->mTitle;
if( $title->getNamespace() != NS_MEDIAWIKI || $title->getDbKey() != 'Titleblacklist' )
if( $title->getNamespace() != NS_MEDIAWIKI || $title->getDBkey() != 'Titleblacklist' )
return true;
wfLoadExtensionMessages( 'TitleBlacklist' );
@ -91,7 +91,7 @@ class TitleBlacklistHooks {
public static function clearBlacklist( &$article, &$user,
$text, $summary, $isminor, $iswatch, $section ) {
$title = $article->getTitle();
if( $title->getNamespace() == NS_MEDIAWIKI && $title->getDbKey() == 'Titleblacklist' ) {
if( $title->getNamespace() == NS_MEDIAWIKI && $title->getDBkey() == 'Titleblacklist' ) {
global $wgTitleBlacklist;
$wgTitleBlacklist->invalidate();
}