+
+$specialPageAliases = array(
+ 'DoubleRedirects' => array( 'Redireccions_doblas' ),
+ 'BrokenRedirects' => array( 'Redireccions_copadas' ),
+ 'Disambiguations' => array( 'Omonimia' ),
+ 'Userlogin' => array( 'Nom_d\'utilizaire' ),
+ 'Userlogout' => array( 'Desconnexion' ),
+ 'CreateAccount' => array( 'Crear_un_compte', 'CrearUnCompte', 'CrearCompte' ),
+ 'Preferences' => array( 'Preferéncias' ),
+ 'Watchlist' => array( 'Lista_de_seguit' ),
+ 'Recentchanges' => array( 'Darrièrs_cambiaments' ),
+ 'Upload' => array( 'Telecargament' ),
+ 'Imagelist' => array( 'Lista_dels_imatges' ),
+ 'Newimages' => array( 'Imatges_novèls' ),
+ 'Listusers' => array( 'Lista_dels_utilizaires' ),
+ 'Listgrouprights' => array( 'Lista_dels_gropes_utilizaire', 'ListadelsGropesUtilizaire', 'ListaGropesUtilizaire', 'Tièra_dels_gropes_utilizaire', 'TièradelsGropesUtilizaire', 'TièraGropesUtilizaire' ),
+ 'Statistics' => array( 'Estatisticas' ),
+ 'Randompage' => array( 'Pagina_a_l\'azard' ),
+ 'Lonelypages' => array( 'Paginas_orfanèlas' ),
+ 'Uncategorizedpages' => array( 'Paginas_sens_categoria' ),
+ 'Uncategorizedcategories' => array( 'Categorias_sens_categoria' ),
+ 'Uncategorizedimages' => array( 'Imatges_sens_categoria' ),
+ 'Uncategorizedtemplates' => array( 'Modèls_sens_categoria' ),
+ 'Unusedcategories' => array( 'Categorias_inutilizadas' ),
+ 'Unusedimages' => array( 'Imatges_inutilizats' ),
+ 'Wantedpages' => array( 'Paginas_demandadas' ),
+ 'Wantedcategories' => array( 'Categorias_demandadas' ),
+ 'Mostlinked' => array( 'Imatges_mai_utilizats' ),
+ 'Mostlinkedcategories' => array( 'Categorias__mai_utilizadas' ),
+ 'Mostlinkedtemplates' => array( 'Modèls__mai_utilizats' ),
+ 'Mostcategories' => array( 'Mai_de_categorias' ),
+ 'Mostimages' => array( 'Mai_d\'imatges' ),
+ 'Mostrevisions' => array( 'Mai_de_revisions' ),
+ 'Fewestrevisions' => array( 'Mens_de_revisions' ),
+ 'Shortpages' => array( 'Articles_brèus' ),
+ 'Longpages' => array( 'Articles_longs' ),
+ 'Newpages' => array( 'Paginas_novèlas' ),
+ 'Ancientpages' => array( 'Paginas_ancianas' ),
+ 'Deadendpages' => array( 'Paginas_sul_camin_d\'enlòc' ),
+ 'Protectedpages' => array( 'Paginas_protegidas' ),
+ 'Protectedtitles' => array( 'Títols_protegits', 'Títols_protegits', 'Títolsprotegits', 'Títolsprotegits' ),
+ 'Allpages' => array( 'Totas_las_paginas' ),
+ 'Prefixindex' => array( 'Indèx' ),
+ 'Ipblocklist' => array( 'Utilizaires_blocats' ),
+ 'Specialpages' => array( 'Paginas_especialas' ),
+ 'Contributions' => array( 'Contribucions' ),
+ 'Emailuser' => array( 'Corrièr_electronic', 'Email', 'Emèl', 'Emèil' ),
+ 'Confirmemail' => array( 'Confirmar_lo_corrièr_electronic', 'Confirmarlocorrièrelectronic', 'ConfirmarCorrièrElectronic' ),
+ 'Whatlinkshere' => array( 'Paginas_ligadas' ),
+ 'Recentchangeslinked' => array( 'Seguit_dels_ligams' ),
+ 'Movepage' => array( 'Tornar_nomenar', 'Renomenatge' ),
+ 'Blockme' => array( 'Blocatz_me', 'Blocatzme' ),
+ 'Booksources' => array( 'Obratge_de_referéncia', 'Obratges_de_referéncia' ),
+ 'Categories' => array( 'Categorias' ),
+ 'Export' => array( 'Exportar', 'Exportacion' ),
+ 'Version' => array( 'Version' ),
+ 'Allmessages' => array( 'Messatge_sistèma', 'Messatge_del_sistèma' ),
+ 'Log' => array( 'Jornal', 'Jornals' ),
+ 'Blockip' => array( 'Blocar', 'Blocatge' ),
+ 'Undelete' => array( 'Restablir', 'Restabliment' ),
+ 'Import' => array( 'Impòrt', 'Importacion' ),
+ 'Lockdb' => array( 'Varrolhar_la_banca' ),
+ 'Unlockdb' => array( 'Desvarrolhar_la_banca' ),
+ 'Userrights' => array( 'Dreches', 'Permission' ),
+ 'MIMEsearch' => array( 'Recèrca_MIME' ),
+ 'FileDuplicateSearch' => array( 'Recèrca_fichièr_en_doble', 'RecèrcaFichièrEnDoble' ),
+ 'Unwatchedpages' => array( 'Paginas_pas_seguidas' ),
+ 'Listredirects' => array( 'Lista_de_las_redireccions', 'Listadelasredireccions', 'Lista_dels_redirects', 'Listadelsredirects', 'Lista_redireccions', 'Listaredireccions', 'Lista_redirects', 'Listaredirects' ),
+ 'Revisiondelete' => array( 'Versions_suprimidas' ),
+ 'Unusedtemplates' => array( 'Modèls_inutilizats', 'Modèlsinutilizats', 'Models_inutilizats', 'Modelsinutilizats', 'Modèls_pas_utilizats', 'Modèlspasutilizats', 'Models_pas_utilizats', 'Modelspasutilizats' ),
+ 'Randomredirect' => array( 'Redireccion_a_l\'azard', 'Redirect_a_l\'azard' ),
+ 'Mypage' => array( 'Ma_pagina', 'Mapagina' ),
+ 'Mytalk' => array( 'Mas_discussions', 'Masdiscussions' ),
+ 'Mycontributions' => array( 'Mas_contribucions', 'Mascontribucions' ),
+ 'Listadmins' => array( 'Lista_dels_administrators', 'Listadelsadministrators', 'Lista_dels_admins', 'Listadelsadmins', 'Lista_admins', 'Listaadmins' ),
+ 'Listbots' => array( 'Lista_dels_Bòts', 'ListadelsBòts' ),
+ 'Popularpages' => array( 'Paginas_mai_visitadas', 'Paginas_las_mai_visitadas', 'Paginasmaivisitadas' ),
+ 'Search' => array( 'Recèrca', 'Recercar', 'Cercar' ),
+ 'Resetpass' => array( 'Reïnicializacion_del_senhal', 'Reinicializaciondelsenhal' ),
+ 'Withoutinterwiki' => array( 'Sens_interwiki', 'Sensinterwiki', 'Sens_interwikis', 'Sensinterwikis' ),
+ 'MergeHistory' => array( 'Fusionar_l\'istoric', 'Fusionarlistoric' ),
+ 'Filepath' => array( 'Camin_del_Fichièr', 'CamindelFichièr', 'CaminFichièr' ),
+ 'Invalidateemail' => array( 'Invalidar_Corrièr_electronic', 'InvalidarCorrièrElectronic' ),
+);
+
+$magicWords = array(
+ 'redirect' => array( '0', '#REDIRECT', '#REDIRECCION' ),
+ 'notoc' => array( '0', '__NOTOC__', '__CAPDETAULA__' ),
+ 'nogallery' => array( '0', '__NOGALLERY__', '__CAPDEGALARIÁ__' ),
+ 'forcetoc' => array( '0', '__FORCETOC__', '__FORÇARTAULA__' ),
+ 'toc' => array( '0', '__TOC__', '__TAULA__' ),
+ 'noeditsection' => array( '0', '__NOEDITSECTION__', '__SECCIONNONEDITABLA__' ),
+ 'currentmonth' => array( '1', 'CURRENTMONTH', 'MESCORRENT' ),
+ 'currentmonthname' => array( '1', 'CURRENTMONTHNAME', 'NOMMESCORRENT' ),
+ 'currentday' => array( '1', 'CURRENTDAY', 'JORNCORRENT' ),
+ 'currentday2' => array( '1', 'CURRENTDAY2', 'JORNCORRENT2' ),
+ 'currentdayname' => array( '1', 'CURRENTDAYNAME', 'NOMJORNCORRENT' ),
+ 'currentyear' => array( '1', 'CURRENTYEAR', 'ANNADACORRENTA' ),
+ 'currenttime' => array( '1', 'CURRENTTIME', 'DATACORRENTA' ),
+ 'currenthour' => array( '1', 'CURRENTHOUR', 'ORACORRENTA' ),
+ 'numberofpages' => array( '1', 'NUMBEROFPAGES', 'NOMBREPAGINAS' ),
+ 'numberofarticles' => array( '1', 'NUMBEROFARTICLES', 'NOMBREARTICLES' ),
+ 'numberoffiles' => array( '1', 'NUMBEROFFILES', 'NOMBREFICHIÈRS' ),
+ 'numberofusers' => array( '1', 'NUMBEROFUSERS', 'NOMBREUTILIZAIRES' ),
+ 'numberofedits' => array( '1', 'NUMBEROFEDITS', 'NOMBREEDICIONS' ),
+ 'pagename' => array( '1', 'PAGENAME', 'NOMPAGINA' ),
+ 'namespace' => array( '1', 'NAMESPACE', 'ESPACINOMENATGE' ),
+ 'talkspace' => array( '1', 'TALKSPACE', 'ESPACIDISCUSSION' ),
+ 'img_right' => array( '1', 'right', 'drecha', 'dreta' ),
+ 'img_left' => array( '1', 'left', 'esquèrra', 'senèstra' ),
+ 'img_framed' => array( '1', 'framed', 'enframed', 'frame', 'quadre' ),
+ 'img_frameless' => array( '1', 'frameless', 'sens_quadre' ),
+ 'img_border' => array( '1', 'border', 'bordadura' ),
+ 'server' => array( '0', 'SERVER', 'SERVEIRE' ),
+ 'servername' => array( '0', 'SERVERNAME', 'NOMSERVEIRE' ),
+ 'scriptpath' => array( '0', 'SCRIPTPATH', 'CAMINESCRIPT' ),
+ 'grammar' => array( '0', 'GRAMMAR:', 'GRAMATICA:' ),
+ 'currentweek' => array( '1', 'CURRENTWEEK', 'SETMANACORRENTA' ),
+ 'revisionid' => array( '1', 'REVISIONID', 'NUMÈROVERSION' ),
+ 'revisionday' => array( '1', 'REVISIONDAY', 'DATAVERSION' ),
+ 'revisionday2' => array( '1', 'REVISIONDAY2', 'DATAVERSION2' ),
+ 'revisionmonth' => array( '1', 'REVISIONMONTH', 'MESREVISION' ),
+ 'revisionyear' => array( '1', 'REVISIONYEAR', 'ANNADAREVISION' ),
+ 'revisiontimestamp' => array( '1', 'REVISIONTIMESTAMP', 'ORAREVISION' ),
+ 'plural' => array( '0', 'PLURAL:' ),
+ 'raw' => array( '0', 'RAW:', 'LINHA:' ),
+ 'displaytitle' => array( '1', 'DISPLAYTITLE', 'AFICHARTÍTOL' ),
+ 'newsectionlink' => array( '1', '__NEWSECTIONLINK__', '__LIGAMSECCIONNOVÈLA__' ),
+ 'currentversion' => array( '1', 'CURRENTVERSION', 'VERSIONACTUALA' ),
+ 'currenttimestamp' => array( '1', 'CURRENTTIMESTAMP', 'ORAACTUALA' ),
+ 'localtimestamp' => array( '1', 'LOCALTIMESTAMP', 'ORALOCALA' ),
+ 'language' => array( '0', '#LANGUAGE:', '#LENGA:' ),
+ 'numberofadmins' => array( '1', 'NUMBEROFADMINS', 'NOMBREADMINS' ),
+ 'formatnum' => array( '0', 'FORMATNUM', 'FORMATNOMBRE' ),
+ 'defaultsort' => array( '1', 'DEFAULTSORT:', 'DEFAULTSORTKEY:', 'DEFAULTCATEGORYSORT:', 'ORDENA:' ),
+ 'filepath' => array( '0', 'FILEPATH:', 'CAMIN:' ),
+ 'tag' => array( '0', 'tag', 'balisa' ),
+ 'hiddencat' => array( '1', '__HIDDENCAT__', '__CATAMAGADA__' ),
+ 'pagesincategory' => array( '1', 'PAGESINCATEGORY', 'PAGESINCAT', 'PAGINASDINSCAT' ),
+);