summaryrefslogtreecommitdiff
path: root/languages/LanguagePs.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
committerPierre Schmitz <pierre@archlinux.de>2006-10-11 18:12:39 +0000
commit183851b06bd6c52f3cae5375f433da720d410447 (patch)
treea477257decbf3360127f6739c2f9d0ec57a03d39 /languages/LanguagePs.php
MediaWiki 1.7.1 wiederhergestellt
Diffstat (limited to 'languages/LanguagePs.php')
-rw-r--r--languages/LanguagePs.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/languages/LanguagePs.php b/languages/LanguagePs.php
new file mode 100644
index 00000000..ea5fa1bf
--- /dev/null
+++ b/languages/LanguagePs.php
@@ -0,0 +1,26 @@
+<?php
+/**
+ * @package MediaWiki
+ * @subpackage Language
+ */
+
+# Stub for Pashto
+
+require_once( "LanguageUtf8.php" );
+
+class LanguagePs extends LanguageUtf8 {
+
+ function getDefaultUserOptions() {
+ $opt = Language::getDefaultUserOptions();
+ $opt["quickbar"] = 2; # Right-to-left
+ $opt["underline"] = 0; # Underline is hard to read in Arabic script
+ return $opt;
+ }
+
+ # For right-to-left language support
+ function isRTL() {
+ return true;
+ }
+}
+
+?>