Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

LanguageLa.php

Go to the documentation of this file.
00001 <?php 00002 00003 # NOTE: To turn off "Current Events" in the sidebar, 00004 # set "currentevents" => "-" 00005 00006 # The names of the namespaces can be set here, but the numbers 00007 # are magical, so don't change or move them! The Namespace class 00008 # encapsulates some of the magic-ness. 00009 # 00010 /* private */ $wgNamespaceNamesLa = array( 00011 -2 => "Media", 00012 -1 => "Specialis", 00013 0 => "", 00014 1 => "Disputatio", 00015 2 => "Usor", 00016 3 => "Disputatio_Usoris", 00017 4 => "Wikipedia", 00018 5 => "Disputatio_Wikipedia", 00019 6 => "Imago", 00020 7 => "Disputatio_Imaginis", 00021 8 => "MediaWiki", 00022 9 => "Disputatio_MediaWiki", 00023 10 => "Template", 00024 11 => "Template_talk" 00025 00026 00027 ); 00028 00029 /* private */ $wgQuickbarSettingsLa = array( 00030 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra" 00031 ); 00032 00033 /* private */ $wgSkinNamesLa = array( 00034 'standard' => "Norma", 00035 'nostalgia' => "Nostalgia", 00036 'cologneblue' => "Caerulus Colonia", 00037 'smarty' => "Paddington", 00038 'montparnasse' => "Montparnasse", 00039 'davinci' => "DaVinci", 00040 'mono' => "Mono", 00041 'monobook' => "MonoBook", 00042 "myskin" => "MySkin" 00043 ); 00044 00045 /* private */ $wgMathNamesLa = array( 00046 "Semper vertere PNG", 00047 "HTML si admodum simplex, alioqui PNG", 00048 "HTML si fieri potest, alioqui PNG", 00049 "Stet ut TeX (pro navigatri texti)", 00050 "Commendatum pro navigatri recentes" 00051 ); 00052 00053 /* private */ $wgUserTogglesLa = array( 00054 "hover" => "Monstrare capsam impensam super wikinexos", 00055 "underline" => "Subscribere nexi", 00056 "highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).", 00057 "justify" => "Saepire capites", 00058 "hideminor" => "Celare mutationes recentes minores", 00059 "usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)", 00060 "numberheadings" => "Numerare indices necessario", 00061 "rememberpassword" => "Recordari tesserae inter conventa (uti cookies)", 00062 "editwidth" => "Capsa recensitorum totam latitudinem habet", 00063 "editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)", 00064 "watchdefault" => "Custodire res novas et mutatas", 00065 "minordefault" => "Notare totas mutations ut minor", 00066 "previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam" 00067 00068 ); 00069 00070 /* private */ $wgBookstoreListLa = array( 00071 "AddALL" => "http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN", 00072 "PriceSCAN" => "http://www.pricescan.com/books/bookDetail.asp?isbn=$1", 00073 "Barnes & Noble" => "http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1", 00074 "Amazon.com" => "http://www.amazon.com/exec/obidos/ISBN=$1" 00075 ); 00076 00077 /* private */ $wgWeekdayNamesLa = array( 00078 "dies Solis", "dies Lunae", "dies Martis", "dies Mercuri", "dies Iovis", 00079 "dies Veneris", "dies Saturni" 00080 ); 00081 00082 /* private */ $wgMonthNamesLa = array( 00083 "Ianuarii", "Februarii", "Martii", "Aprilis", "Maii", "Iunii", 00084 "Iulii", "Augusti", "Septembri", "Octobri", "Novembri", 00085 "Decembri" 00086 ); 00087 00088 /* private */ $wgMonthAbbreviationsLa = array( 00089 "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug", 00090 "sep", "oct", "nov", "dec" 00091 ); 00092 00093 # All special pages have to be listed here: a description of "" 00094 # will make them not show up on the "Special Pages" page, which 00095 # is the right thing for some of them (such as the "targeted" ones). 00096 # 00097 /* private */ $wgValidSpecialPagesLa = array( 00098 "Userlogin" => "", 00099 "Userlogout" => "", 00100 "Preferences" => "Praeferentiae usoris", 00101 "Watchlist" => "Paginae custoditae", 00102 "Recentchanges" => "Mutationes recentes", 00103 "Upload" => "Onerare fascicula", 00104 "Imagelist" => "Index imaginum", 00105 "Listusers" => "Usores perscripti", 00106 "Statistics" => "Statisticas", 00107 "Randompage" => "Pagina fortuita", 00108 00109 "Lonelypages" => "Paginae orbatae", 00110 "Unusedimages" => "Imagines orbatae", 00111 "Popularpages" => "Res populares", 00112 "Wantedpages" => "Res desideratissimae", 00113 "Shortpages" => "Res breves", 00114 "Longpages" => "Res longae", 00115 "Newpages" => "Res novae", 00116 # "Intl" => "Interlanguage Links", 00117 "Allpages" => "Totae paginae (ex indice)", 00118 00119 "Ipblocklist" => "Loci IP obstructi", 00120 "Maintenance" => "Pagina alimentori", 00121 "Specialpages" => "", # "Paginae specialiae", 00122 "Contributions" => "", # "Conlationes", 00123 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)", 00124 "Whatlinkshere" => "", # "Nexi ad hanc paginam", 00125 "Recentchangeslinked" => "", # "Mutationes conlata (?)", 00126 "Movepage" => "", # "Motare hanc paginam", 00127 "Booksources" => "Fontes externi (libri)", 00128 # "Categories" => "Page categories", 00129 "Export" => "Exportare in XML", 00130 "Version" => "Version", 00131 ); 00132 00133 /* private */ $wgSysopSpecialPagesLa = array( 00134 "Blockip" => "Obstruere locum IP", 00135 "Asksql" => "Quaerere basem dati", 00136 "Undelete" => "Videre et restituere paginas deletas" 00137 ); 00138 00139 /* private */ $wgDeveloperSpecialPagesLa = array( 00140 "Lockdb" => "Suspendere mutationes", 00141 "Unlockdb" => "Permittere mutationes", 00142 "Debug" => "Nuntii de refectis" 00143 ); 00144 00145 00146 require_once( "LanguageUtf8.php" ); 00147 00148 class LanguageLa extends LanguageUtf8 { 00149 00150 function getNamespaces() { 00151 global $wgNamespaceNamesLa; 00152 return $wgNamespaceNamesLa; 00153 } 00154 00155 function getNsText( $index ) { 00156 global $wgNamespaceNamesLa; 00157 return $wgNamespaceNamesLa[$index]; 00158 } 00159 00160 function getNsIndex( $text ) { 00161 global $wgNamespaceNamesLa; 00162 00163 foreach ( $wgNamespaceNamesLa as $i => $n ) { 00164 if ( 0 == strcasecmp( $n, $text ) ) { return $i; } 00165 } 00166 return false; 00167 } 00168 00169 function getQuickbarSettings() { 00170 global $wgQuickbarSettingsLa; 00171 return $wgQuickbarSettingsLa; 00172 } 00173 00174 function getSkinNames() { 00175 global $wgSkinNamesLa; 00176 return $wgSkinNamesLa; 00177 } 00178 00179 function getMathNames() { 00180 global $wgMathNamesLa; 00181 return $wgMathNamesLa; 00182 } 00183 00184 function getUserToggles() { 00185 global $wgUserTogglesLa; 00186 return $wgUserTogglesLa; 00187 } 00188 00189 function getMonthName( $key ) 00190 { 00191 global $wgMonthNamesLa; 00192 return $wgMonthNamesLa[$key-1]; 00193 } 00194 00195 function getMonthAbbreviation( $key ) 00196 { 00197 global $wgMonthAbbreviationsLa; 00198 return $wgMonthAbbreviationsLa[$key-1]; 00199 } 00200 00201 function getWeekdayName( $key ) 00202 { 00203 global $wgWeekdayNamesLa; 00204 return $wgWeekdayNamesLa[$key-1]; 00205 } 00206 00207 function date( $ts, $adj = false ) 00208 { 00209 if ( $adj ) { $ts = $this->userAdjust( $ts ); } 00210 00211 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) . 00212 " " . (0 + substr( $ts, 6, 2 )) . ", " . 00213 substr( $ts, 0, 4 ); 00214 return $d; 00215 } 00216 00217 function timeanddate( $ts, $adj = false ) 00218 { 00219 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj ); 00220 } 00221 00222 function getValidSpecialPages() 00223 { 00224 global $wgValidSpecialPagesLa; 00225 return $wgValidSpecialPagesLa; 00226 } 00227 00228 function getSysopSpecialPages() 00229 { 00230 global $wgSysopSpecialPagesLa; 00231 return $wgSysopSpecialPagesLa; 00232 } 00233 00234 function getDeveloperSpecialPages() 00235 { 00236 global $wgDeveloperSpecialPagesLa; 00237 return $wgDeveloperSpecialPagesLa; 00238 } 00239 00240 function getMessage( $key ) 00241 { 00242 global $wgAllMessagesLa, $wgAllMessagesEn; 00243 $m = $wgAllMessagesLa[$key]; 00244 00245 if ( "" == $m ) { return $wgAllMessagesEn[$key]; } 00246 else return $m; 00247 } 00248 00249 } 00250 00251 00252 ?>

Generated on Tue Jun 29 23:40:04 2004 for Mediawiki by doxygen 1.3.7