-<?
+<?php
-include_once( "LanguageUtf8.php" );
+require_once( "LanguageUtf8.php" );
// The names of the namespaces can be set here, but the numbers
// are magical, so don't change or move them! The Namespace class
7 => "Discutida_Image",
8 => "MediaWiki",
9 => "MediaWiki_talk",
-);
+ 10 => "Template",
+ 11 => "Template_talk"
-/* using default options */
-/* private */ $wgDefaultUserOptionsOc = array(
- "quickbar" => 1,
- "underline" => 1,
- "hover" => 1,
- "cols" => 80,
- "rows" => 25,
- "searchlimit" => 20,
- "contextlines" => 5,
- "contextchars" => 50,
- "skin" => 0,
- "math" => 1,
- "rcdays" => 7,
- "rclimit" => 50,
- "highlightbroken" => 1,
- "stubthreshold" => 0,
- "previewontop" => 1,
- "editsection" => 1,
- "editsectiononrightclick" => 0,
- "showtoc" => 1,
- "date" => 0
);
/* private */ $wgQuickbarSettingsOc = array(
);
/* private */ $wgSkinNamesOc = array(
- "Normal", "Nostalgia", "Còlonha Blau"
+ 'standard' => "Normal",
+ 'nostalgia' => "Nostalgia",
+ 'cologneblue' => "Còlonha Blau",
+ 'smarty' => "Paddington",
+ 'montparnasse' => "Montparnasse",
+ 'davinci' => "DaVinci",
+ 'mono' => "Mono",
+ 'monobook' => "MonoBook"
);
/* private */ $wgMathNamesOc = array(
"hideminor" => "Amagar las <i>Cambiadas recentas</i> minoras",
"usenewrc" => "Cambiadas recentas melhorats<br> (non per tots los navigaires)",
"numberheadings" => "Numerotacion automatica de los títols",
+ "showtoolbar" => "Show edit toolbar",
"editondblclick" => "Editar paginas amb un doble clic (JavaScript)",
"editsection" => "Éditer une section via les liens [éditer]", //Looxix (Enable section editing via [edit] links)
"editsectiononrightclick" => "Éditer une section en cliquant à droite<br> sur le titre de la section", // Looxix
"Amazon.fr" => "http://www.amazon.fr/exec/obidos/ISBN=$1"
);
-/* private */ $wgLanguageNamesOc = array(
- "aa" => "Afar",
- "ab" => "Abkhazien",
- "af" => "Africans",
- "am" => "Amharic",
- "ar" => "Arab",
- "as" => "Assamais",
- "ay" => "Aymara",
- "az" => "Aserbaijani",
- "ba" => "Bashkir",
- "be" => "Biélorusse",
- "bh" => "Bihari",
- "bi" => "Bislama",
- "bn" => "Bengali",
- "bo" => "Tibétain",
- "bs" => "Bosanski",
- "ca" => "Catalan",
- "co" => "Corse",
- "cs" => "Chèc",
- "cy" => "Galès",
- "da" => "Danès", # Note two different subdomains.
- "dk" => "Danès", # 'da' is correct for the language.
- "de" => "Aleman",
- "dz" => "Bhoutani",
- "el" => "Grec",
- "en" => "Anglès",
- "simple" => "Anglès simplifié",
- "eo" => "Esperanto",
- "es" => "Castelhan",
- "et" => "Estonian",
- "eu" => "Basc",
- "fa" => "Persec",
- "fi" => "Finès",
- "fj" => "Fidjien",
- "fo" => "Feroés",
- "fr" => "Francès",
- "fy" => "Frison",
- "ga" => "Gaelic d'Irlanda",
- "gl" => "Gaelic d'Escòcia",
- "gn" => "Guarani",
- "gu" => "Gujarati",
- "ha" => "Haoussa",
- "he" => "Ebreu",
- "hi" => "Indi",
- "hr" => "Croat",
- "hu" => "Hongarès",
- "hy" => "Arménien",
- "ia" => "Interlingua",
- "id" => "Indonesian",
- "ik" => "Inupiak",
- "is" => "Islandès",
- "it" => "Italian",
- "iu" => "Inuktitut",
- "ja" => "Japonès",
- "jv" => "Javanès",
- "ka" => "Georgian",
- "kk" => "Kazakh",
- "kl" => "Groenlandais",
- "km" => "Cambodgien",
- "kn" => "Cannada",
- "ko" => "Corean",
- "ks" => "Kashmiri",
- "ky" => "Kirghize",
- "la" => "Latin",
- "ln" => "Lingala",
- "lo" => "Laotien",
- "lt" => "Lituan;",
- "lv" => "Leton",
- "mg" => "Malgache",
- "mi" => "Maori",
- "mk" => "Macedonian",
- "ml" => "Malaialam",
- "mn" => "Mongol",
- "mo" => "Moldave",
- "mr" => "Marathe",
- "ms" => "Malai",
- "my" => "Birman",
- "na" => "Nauri",
- "ne" => "Nepalès",
- "nl" => "Neerlandès",
- "no" => "Noruec",
- "oc" => "Occitan",
- "om" => "Oromo",
- "or" => "Oriya",
- "pa" => "Punjabi",
- "pl" => "Polonès",
- "ps" => "Pashto",
- "pt" => "Português",
- "qu" => "Quechua",
- "rm" => "Rhéto-Roman",
- "rn" => "Kirundi",
- "ro" => "Romanès;",
- "ru" => "Rus",
- "rw" => "Kinyarwanda",
- "sa" => "Sanscrit",
- "sd" => "Sindhi",
- "sg" => "Sango",
- "sh" => "Serbo-croat",
- "si" => "Singhalais",
- "sk" => "Eslovac",
- "sl" => "Esloven",
- "sm" => "Samoan",
- "sn" => "Shona",
- "so" => "Somali",
- "sq" => "Albanès",
- "sr" => "Serbi",
- "ss" => "Siswati",
- "st" => "Sésotho",
- "su" => "Soudanais",
- "sv" => "Svenska",
- "sw" => "Kiswahili",
- "ta" => "Tamoul",
- "te" => "Télougou",
- "tg" => "Tadjik",
- "th" => "Thaï",
- "ti" => "Tigrinya",
- "tk" => "Turkmène",
- "tl" => "Tagalog",
- "tn" => "Setchwana",
- "to" => "Tonga",
- "tr" => "Türkçe",
- "ts" => "Tsonga",
- "tt" => "Tatar",
- "tw" => "Tchi",
- "ug" => "Ouïgour",
- "uk" => "Українська (Ukrayins`ka)",
- "ur" => "Ourdou",
- "uz" => "Ouzbek",
- "vi" => "Vietnamien",
- "vo" => "Volapük",
- "wo" => "Ouolof",
- "xh" => "isiXhosa",
- "yi" => "Yiddish",
- "yo" => "Yorouba",
- "za" => "Zhuang",
- "zh" => "中文 (Zhongwen)",
- "zu" => "Zoulou"
-);
-
/* private */ $wgWeekdayNamesOc = array(
"dimenge", "diluns", "dimarts", "dimèrcres", "dijòus",
"divendres", "dissabte"
"Booksources" => "Librairies en ligne",
// "Categories" => "Page des catégories" // Looxix "Page categories"
"Export" => "XML export",
+ "Version" => "Version",
);
/* private */ $wgSysopSpecialPagesOc = array(
/* private */ $wgDeveloperSpecialPagesOc = array(
"Lockdb" => "Bloquer la base de données",
"Unlockdb" => "Débloquer la base de données",
- "Debug" => "Informations de déboguage"
);
/* private */ $wgAllMessagesOc = array(
"redirectedfrom" => "(Redirigé depuis $1)",
"lastmodified" => "Dernière modification de cette page : $1.",
"viewcount" => "Cette page a été consultée $1 fois.",
-"gnunote" => "Tous les textes sont disponibles sous les termes de la <a class=internal href='/wiki/GFDL'>Licence de documentation libre GNU</a>.",
+"gnunote" => "Tous les textes sont disponibles sous les termes de la <a class=internal href='$wgScriptPath/GFDL'>Licence de documentation libre GNU</a>.",
"printsubtitle" => "(de http://www.wikipedia.org)",
"protectedpage" => "Page protégée",
"administrators" => "Wikipédia:Administrateurs",
vous ne pourrez donc pas sauvegarder vos modifications maintenant. Vous pouvez copier le texte dans un fichier et le sauver pour plus tard.", // Looxix
"protectedpagewarning" => "AVERTISSEMENT : cette page a été bloquée.
Seuls les utilisateurs ayant le statut d'administrateur peuvent la modifier. Soyez certain que
-vous suivez les <a href='/wiki/Wikipédia:Page protégée'>directives concernant les pages protégées</a>.", // Looxix
+vous suivez les <a href='$wgScriptPath/$wgMetaNamespace:Page protégée'>directives concernant les pages protégées</a>.", // Looxix
# History pages
#
function getDefaultUserOptions()
{
- global $wgDefaultUserOptionsOc;
- return $wgDefaultUserOptionsOc;
+ $opt = Language::getDefaultUserOptions();
+ return $opt;
}
function getBookstoreList () {
return $wgUserTogglesOc;
}
- function getLanguageName( $code )
- {
- global $wgLanguageNamesOc;
- if ( ! array_key_exists( $code, $wgLanguageNamesOc ) )
- {
- return "";
- }
- return $wgLanguageNamesOc[$code];
- }
-
function getMonthName( $key )
{
global $wgMonthNamesOc;