* Bishnupriya (bpy) stub file
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 17 Jul 2006 19:27:03 +0000 (19:27 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 17 Jul 2006 19:27:03 +0000 (19:27 +0000)
http://meta.wikimedia.org/wiki/Approved_requests_for_new_languages#Bishnupriya_Manipuri

RELEASE-NOTES
languages/LanguageBpy.deps.php [new file with mode: 0644]
languages/LanguageBpy.php [new file with mode: 0644]
languages/Names.php

index c093b38..a4ed3b2 100644 (file)
@@ -74,6 +74,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 == Languages updated ==
 
 * Albanian (sq)
+* Bishnupriya (bpy) stub file
 * Brazilian Portuguese (pt-br)
 * Catalan (ca)
 * Dutch (nl)
diff --git a/languages/LanguageBpy.deps.php b/languages/LanguageBpy.deps.php
new file mode 100644 (file)
index 0000000..2ce8bd5
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+// This file exists to ensure that base classes are preloaded before
+// LanguageBpy.php is compiled, working around a bug in the APC opcode
+// cache on PHP 5, where cached code can break if the include order
+// changed on a subsequent page view.
+// see http://mail.wikipedia.org/pipermail/wikitech-l/2006-January/033660.html
+
+require_once 'LanguageBn.php';
+
+?>
\ No newline at end of file
diff --git a/languages/LanguageBpy.php b/languages/LanguageBpy.php
new file mode 100644 (file)
index 0000000..98596ce
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+/**
+ * Bishnupriya
+ * most speakers have Bengali as second language, use as default fallback
+ *
+ * @package MediaWiki
+ * @subpackage Language
+ */
+
+class LanguageBpy extends LanguageBn {
+
+       function getFallbackLanguage() {
+               return 'bn';
+       }
+}
+
+?>
index f30ef03..129b011 100644 (file)
@@ -28,6 +28,7 @@
        'bm' => 'Bamanankan',   # Bambara
        'bn' => 'বাংলা',      # Bengali
        'bo' => 'བོད་ཡིག',        # Tibetan
+       'bpy' => 'ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী',        # Bishnupriya Manipuri
        'br' => 'Brezhoneg',    # Breton
        'bs' => 'Bosanski',             # Bosnian
        'bug' => 'ᨅᨔ ᨕᨘᨁᨗ', # Buginese