MediaWiki
REL1_24
|
00001 <?php 00021 $namespaceNames = array( 00022 NS_MEDIA => 'Media', 00023 NS_SPECIAL => 'Erenoamáš', 00024 NS_TALK => 'Ságastallan', 00025 NS_USER => 'Geavaheaddji', 00026 NS_USER_TALK => 'Geavaheaddjeságastallan', 00027 NS_PROJECT_TALK => '$1-ságastallan', 00028 NS_FILE => 'Fiila', 00029 NS_FILE_TALK => 'Fiilaságastallan', 00030 NS_MEDIAWIKI => 'MediaWiki', 00031 NS_MEDIAWIKI_TALK => 'MediaWiki-ságastallan', 00032 NS_TEMPLATE => 'Málle', 00033 NS_TEMPLATE_TALK => 'Málleságastallan', 00034 NS_HELP => 'Veahkki', 00035 NS_HELP_TALK => 'Veahkkeságastallan', 00036 NS_CATEGORY => 'Kategoriija', 00037 NS_CATEGORY_TALK => 'Kategoriijaságastallan', 00038 ); 00039 00040 $namespaceAliases = array( 00041 'Doaimmat' => NS_SPECIAL, 00042 ); 00043 00044 $specialPageAliases = array( 00045 'Activeusers' => array( 'Aktiivvalaš_geavaheaddjit' ), 00046 'Allmessages' => array( 'Buot_systemadieđáhusat', 'Buot_vuogádatdieđáhusat' ), 00047 'Allpages' => array( 'Buot_siiddut' ), 00048 'Ancientpages' => array( 'Dološ_siiddut' ), 00049 'Badtitle' => array( 'Veadjemeahttun_bajilčála' ), 00050 'Blankpage' => array( 'Guoros_siidu' ), 00051 'Block' => array( 'Hehtte', 'Hehtte_geavaheaddji', 'Hehtte_IP' ), 00052 'Booksources' => array( 'Girjegáldut' ), 00053 'BrokenRedirects' => array( 'Boatkanan_stivremat', 'Boatkanan_ođđasitstivremat' ), 00054 'Categories' => array( 'Kategoriijat' ), 00055 'ChangeEmail' => array( 'Rievdat_E-poastta' ), 00056 'ComparePages' => array( 'Veardit_siidduid' ), 00057 'Confirmemail' => array( 'Sihkaraste_e-poastta' ), 00058 'Contributions' => array( 'Rievdadusat' ), 00059 'CreateAccount' => array( 'Ráhkat_dovddaldaga', 'Ráhkat_konttu' ), 00060 'DeletedContributions' => array( 'Sihkkojuvvon_rievdadusat' ), 00061 'DoubleRedirects' => array( 'Guoktegeardásaš_ođđasitstivremat' ), 00062 'EditWatchlist' => array( 'Rievdat_čuovvunlisttu' ), 00063 'Emailuser' => array( 'Sádde_e-poastta' ), 00064 'Export' => array( 'Olggosfievrrit_siidduid' ), 00065 'Import' => array( 'Sisafievrrit' ), 00066 'BlockList' => array( 'Hehttenlistu', 'Listu_hehttemiin' ), 00067 'Listadmins' => array( 'Administráhtorlistu', 'Listu_administráhtoriin' ), 00068 'Listbots' => array( 'Bohttalistu', 'Listu_bohtain' ), 00069 'Listfiles' => array( 'Fiilalogahallan' ), 00070 'Listgrouprights' => array( 'Listu_joavkkuid_vuoigatvuođain' ), 00071 'Listredirects' => array( 'Stivrenlistu', 'Listu_stivremiin', 'Listu_ođđasitstivremiin' ), 00072 'Listusers' => array( 'Geavaheaddjelistu', 'Listu_geavaheddjiin' ), 00073 'Log' => array( 'Loggat', 'Logga' ), 00074 'Lonelypages' => array( 'Oarbbes_siiddut' ), 00075 'Longpages' => array( 'Guhkes_siiddut' ), 00076 'MIMEsearch' => array( 'MIME-ohcan' ), 00077 'Movepage' => array( 'Sirdde_siiddu' ), 00078 'Mycontributions' => array( 'Mu_rievdadusat' ), 00079 'Mypage' => array( 'Mu_siidu' ), 00080 'Mytalk' => array( 'Mu_ságastallan' ), 00081 'Newimages' => array( 'Ođđa_govat', 'Ođđa_fiillat' ), 00082 'Newpages' => array( 'Ođđa_siiddut' ), 00083 'Popularpages' => array( 'Bivnnuhis_siiddut' ), 00084 'Preferences' => array( 'Válljemat', 'Ásahusat' ), 00085 'Protectedpages' => array( 'Suodjaluvvon_siiddut' ), 00086 'Protectedtitles' => array( 'Suodjaluvvon_bajilčállagat', 'Suodjaluvvon_siidonamat' ), 00087 'Randompage' => array( 'Summal', 'Summal_siidu' ), 00088 'Randomredirect' => array( 'Summal_ođđasitstivren' ), 00089 'Recentchanges' => array( 'Varas_rievdadusat' ), 00090 'Revisiondelete' => array( 'Sihko_veršuvnna' ), 00091 'Search' => array( 'Oza' ), 00092 'Shortpages' => array( 'Oanehis_siiddut' ), 00093 'Specialpages' => array( 'Erenoamáš_siiddut', 'Doaibmasiiddut' ), 00094 'Statistics' => array( 'Statistihkat' ), 00095 'Unblock' => array( 'Sihko_hehttema' ), 00096 'Uncategorizedcategories' => array( 'Klassifiserekeahtes_kategoriijat' ), 00097 'Uncategorizedimages' => array( 'Klassifiserekeahtes_fiillat', 'Klassifiserekeahtes_govat' ), 00098 'Uncategorizedpages' => array( 'Klassifiserekeahtes_siiddut' ), 00099 'Uncategorizedtemplates' => array( 'Klassifiserekeahtes_mállet' ), 00100 'Undelete' => array( 'Máhccat' ), 00101 'Unusedcategories' => array( 'Geavatkeahtes_kategoriijat' ), 00102 'Unusedimages' => array( 'Geavatkeahtes_govat', 'Geavatkeahtes_fiillat' ), 00103 'Unusedtemplates' => array( 'Geavatkeahtes_mállet' ), 00104 'Unwatchedpages' => array( 'Čuovotkeahtes_siiddut' ), 00105 'Upload' => array( 'Sádde_fiilla' ), 00106 'Userlogin' => array( 'Logge_sisa' ), 00107 'Userlogout' => array( 'Logge_olggos' ), 00108 'Userrights' => array( 'Geavaheaddjevuoigatvuođat' ), 00109 'Version' => array( 'Veršuvdna' ), 00110 'Wantedcategories' => array( 'Kategoriijasávaldagat' ), 00111 'Wantedfiles' => array( 'Fiilasávaldagat', 'Govvasávaldagat' ), 00112 'Wantedpages' => array( 'Siidosávaldagat' ), 00113 'Wantedtemplates' => array( 'Mállesávaldagat' ), 00114 'Watchlist' => array( 'Čuovvunlistu' ), 00115 'Withoutinterwiki' => array( 'Interwikihis_siiddut', 'Giellaliŋkkahis_siiddut', 'Giellaleaŋkkahis_siiddut' ), 00116 ); 00117 00118 $magicWords = array( 00119 'redirect' => array( '0', '#STIVREN', '#OĐĐASITSTIVREN', '#REDIRECT' ), 00120 'notoc' => array( '0', '__IISISDOALLU__', '__IISIS__', '__NOTOC__' ), 00121 'nogallery' => array( '0', '__IIGALLERIIJA__', '__NOGALLERY__' ), 00122 'toc' => array( '0', '__SISDOALLU__', ' __SIS__', '__TOC__' ), 00123 'noeditsection' => array( '0', '__IIRIEVDADITOASI__', '__NOEDITSECTION__' ), 00124 'numberofarticles' => array( '1', 'ARTIHKKALIIDMEARRI', ' ARTIHKALMEARRI', 'NUMBEROFARTICLES' ), 00125 'numberoffiles' => array( '1', 'FIILLAIDMEARRI', 'FIILAMEARRI', ' GOVAIDMEARRI', ' GOVVAMEARRI', 'NUMBEROFFILES' ), 00126 'numberofusers' => array( '1', 'GEAVAHEDDJIIDMEARRI', ' GEAVAHEADDJIMEARRI', ' GEAVAHEADDJEMEARRI', 'NUMBEROFUSERS' ), 00127 'numberofactiveusers' => array( '1', 'AKTIIVAGEAVAHEDDJIIDMEARRI', ' AKTIIVAGEAVAHEADDJIMEARRI', ' AKTIIVAGEAVAHEADDJEMEARRI', 'NUMBEROFACTIVEUSERS' ), 00128 'numberofedits' => array( '1', 'RIEVDADUSAIDMEARRI', ' RIEVDADUSMEARRI', 'NUMBEROFEDITS' ), 00129 'subst' => array( '0', 'LIIBME:', 'SUBST:' ), 00130 'img_thumbnail' => array( '1', 'mini', 'thumbnail', 'thumb' ), 00131 'img_manualthumb' => array( '1', 'mini=$1', 'thumbnail=$1', 'thumb=$1' ), 00132 'img_right' => array( '1', 'olgeš', 'right' ), 00133 'img_left' => array( '1', 'gurut', 'left' ), 00134 'img_center' => array( '1', 'gasku', 'center', 'centre' ), 00135 'img_link' => array( '1', 'liŋka=$1', 'link=$1' ), 00136 ); 00137 00138 $separatorTransformTable = array( ',' => "\xc2\xa0", '.' => ',' ); 00139 00140 $linkTrail = '/^(:?[a-zàáâçčʒǯđðéèêëǧǥȟíìîïıǩŋñóòôõßšŧúùûýÿüžþæøåäö]+)(.*)$/sDu'; 00141