MW_DATE_ISO => '2001-01-15 16:12:34'
);
- function LanguageSq() {
- LanguageUtf8::LanguageUtf8();
+ function __construct() {
+ parent::__construct();
global $wgAllMessagesSq;
$this->mMessagesSq =& $wgAllMessagesSq;
}
function getNsIndex( $text ) {
- global $wgNamespaceNamesSq;
- foreach ( $wgNamespaceNamesSq as $i => $n ) {
+ foreach ( $this->mNamespaceNamesSq as $i => $n ) {
if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
}
# Compatbility with alt names: