r60521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60520‎ | r60521 | r60522 >
Date:14:41, 31 December 2009
Author:mkroetzsch
Status:deferred
Tags:
Comment:
+forgotten global declaration
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php
@@ -252,6 +252,7 @@
253253 }
254254 }
255255 if ($this->m_title === NULL) { // should not normally happen, but anyway ...
 256+ global $wgContLang;
256257 wfLoadExtensionMessages('SemanticMediaWiki');
257258 $this->addError(wfMsgForContent('smw_notitle', $wgContLang->getNsText($this->m_namespace) . ':' . $this->m_dbkeyform));
258259 $this->m_dbkeyform = '';

Status & tagging log