Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_WikiPage.php |
— | — | @@ -252,6 +252,7 @@ |
253 | 253 | } |
254 | 254 | } |
255 | 255 | if ($this->m_title === NULL) { // should not normally happen, but anyway ... |
| 256 | + global $wgContLang; |
256 | 257 | wfLoadExtensionMessages('SemanticMediaWiki'); |
257 | 258 | $this->addError(wfMsgForContent('smw_notitle', $wgContLang->getNsText($this->m_namespace) . ':' . $this->m_dbkeyform)); |
258 | 259 | $this->m_dbkeyform = ''; |