* (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews fix
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 25 Mar 2006 11:18:33 +0000 (11:18 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 25 Mar 2006 11:18:33 +0000 (11:18 +0000)
RELEASE-NOTES
languages/LanguageYi.php

index 1fd664a..e079f2d 100644 (file)
@@ -254,6 +254,7 @@ i18n / Languages:
 * Typo in English messages file
 * (bug 4114) Spacing in watchlist rows (in editing mode)
 * Update default "exporttext" to reflect that Special:Import exists
+* (bug 4960) Add additional namespaces variants to Yi projects: Yiddish Wikinews fix
 
 Parser:
 * (bug 2522) {{CURRENTDAY2}} now shows the current day number with two digits
index da05216..cb8ec70 100644 (file)
@@ -65,6 +65,10 @@ class LanguageYi extends LanguageUtf8 {
                        if( 0 == strcasecmp( 'וויקיווערטערבוך', $text ) ) return NS_PROJECT;
                        if( 0 == strcasecmp( 'וויקיווערטערבוך_רעדן', $text ) ) return NS_PROJECT_TALK;
                }
+               if( $wgSitename == 'װיקינײַעס' ) {
+                       if( 0 == strcasecmp( 'וויקינייעס', $text ) ) return NS_PROJECT;
+                       if( 0 == strcasecmp( 'וויקינייעס_רעדן', $text ) ) return NS_PROJECT_TALK;
+               }
                if( 0 == strcasecmp( 'באזונדער', $text ) ) return NS_SPECIAL;
                if( 0 == strcasecmp( 'באנוצער', $text ) ) return NS_USER;
                if( 0 == strcasecmp( 'באנוצער_רעדן', $text ) ) return NS_USER_TALK;