return $wgNamespaceNamesTh;
}
- function getNsText( $index ) {
- global $wgNamespaceNamesTh;
- return $wgNamespaceNamesTh[$index];
- }
-
- function getNsIndex( $text ) {
- global $wgNamespaceNamesTh;
-
- foreach ( $wgNamespaceNamesTh as $i => $n ) {
- if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
- }
- return false;
- }
-
function getQuickbarSettings() {
global $wgQuickbarSettingsTh;
return $wgQuickbarSettingsTh;
if( isset( $wgAllMessagesTh[$key] ) ) {
return $wgAllMessagesTh[$key];
} else {
- return parent:getMessage( $key );
+ return parent::getMessage( $key );
}
}