2 /** Latin (lingua Latina)
8 /* private */ $wgNamespaceNamesLa = array(
9 NS_SPECIAL
=> 'Specialis',
11 NS_TALK
=> 'Disputatio',
13 NS_USER_TALK
=> 'Disputatio_Usoris',
14 NS_PROJECT
=> $wgMetaNamespace,
15 NS_PROJECT_TALK
=> FALSE, # Set in constructor
17 NS_IMAGE_TALK
=> 'Disputatio_Imaginis',
18 NS_MEDIAWIKI
=> 'MediaWiki',
19 NS_MEDIAWIKI_TALK
=> 'Disputatio_MediaWiki',
20 NS_TEMPLATE
=> 'Formula',
21 NS_TEMPLATE_TALK
=> 'Disputatio_Formulae',
22 NS_HELP
=> 'Auxilium',
23 NS_HELP_TALK
=> 'Disputatio_Auxilii',
24 NS_CATEGORY
=> 'Categoria',
25 NS_CATEGORY_TALK
=> 'Disputatio_Categoriae',
26 ) +
$wgNamespaceNamesEn;
28 /* private */ $wgQuickbarSettingsLa = array(
29 "Nullus", "Constituere a sinistra", "Constituere a dextra", "Innens a sinistra"
32 /* private */ $wgSkinNamesLa = array(
33 'standard' => 'Norma',
34 'nostalgia' => 'Nostalgia',
35 'cologneblue' => 'Caerulus Colonia',
36 'smarty' => 'Paddington',
37 'montparnasse' => 'Montparnasse',
38 'davinci' => 'DaVinci',
40 'monobook' => 'MonoBook',
45 /* private */ $wgBookstoreListLa = array(
46 'AddALL' => 'http://www.addall.com/New/Partner.cgi?query=$1&type=ISBN',
47 'PriceSCAN' => 'http://www.pricescan.com/books/bookDetail.asp?isbn=$1',
48 'Barnes & Noble' => 'http://shop.barnesandnoble.com/bookSearch/isbnInquiry.asp?isbn=$1',
49 'Amazon.com' => 'http://www.amazon.com/exec/obidos/ISBN=$1'
53 # All special pages have to be listed here: a description of ""
54 # will make them not show up on the "Special Pages" page, which
55 # is the right thing for some of them (such as the "targeted" ones).
57 /* private */ $wgValidSpecialPagesLa = array(
60 'Preferences' => 'Praeferentiae usoris',
61 'Watchlist' => 'Paginae custoditae',
62 'Recentchanges' => 'Mutationes recentes',
63 'Upload' => 'Onerare fascicula',
64 'Imagelist' => 'Index imaginum',
65 'Listusers' => 'Usores perscripti',
66 'Statistics' => 'Statisticas',
67 'Randompage' => 'Pagina fortuita',
69 'Lonelypages' => 'Paginae orbatae',
70 'Unusedimages' => 'Imagines orbatae',
71 'Popularpages' => 'Res populares',
72 'Wantedpages' => 'Res desideratissimae',
73 'Shortpages' => 'Res breves',
74 'Longpages' => 'Res longae',
75 'Newpages' => 'Res novae',
76 # "Intl" => "Interlanguage Links",
77 "Allpages" => "Totae paginae (ex indice)",
79 "Ipblocklist" => "Loci IP obstructi",
80 "Maintenance" => "Pagina alimentori",
81 "Specialpages" => "", # "Paginae specialiae",
82 "Contributions" => "", # "Conlationes",
83 "Emailuser" => "", # "Mittere litteras electronicas ad usorum(?)",
84 "Whatlinkshere" => "", # "Nexi ad hanc paginam",
85 "Recentchangeslinked" => "", # "Mutationes conlata (?)",
86 "Movepage" => "", # "Motare hanc paginam",
87 "Booksources" => "Fontes externi (libri)",
88 # "Categories" => "Page categories",
89 "Export" => "Exportare in XML",
90 "Version" => "Version",
93 /* private */ $wgSysopSpecialPagesLa = array(
94 'Blockip' => 'Obstruere locum IP',
95 'Asksql' => 'Quaerere basem dati',
96 'Undelete' => 'Videre et restituere paginas deletas'
99 /* private */ $wgDeveloperSpecialPagesLa = array(
100 'Lockdb' => 'Suspendere mutationes',
101 'Unlockdb' => 'Permittere mutationes',
102 'Debug' => 'Nuntii de refectis'
105 $wgAllMessagesLa = array(
106 'special_version_prefix' => '',
107 'special_version_postfix' => '',
111 "tog-underline" => "Subscribere nexi",
112 "tog-highlightbroken" => "Formare nexos fractos <a href=\"\" class=\"new\">sici</a> (alioqui: sic<a href=\"\" class=\"internal\">?</a>).",
113 "tog-justify" => "Saepire capites",
114 "tog-hideminor" => "Celare mutationes recentes minores",
115 "tog-usenewrc" => "Mutationes recentes amplificatae (non efficit in tota navigatra)",
116 "tog-numberheadings" => "Numerare indices necessario",
117 "tog-rememberpassword" => "Recordari tesserae inter conventa (uti cookies)",
118 "tog-editwidth" => "Capsa recensitorum totam latitudinem habet",
119 "tog-editondblclick" => "Premere bis ut paginam recensere (uti JavaScript)",
120 "tog-watchdefault" => "Custodire res novas et mutatas",
121 "tog-minordefault" => "Notare totas mutations ut minor",
122 "tog-previewontop" => "Monstrare praevisus ante capsam recensiti, non post ipsam",
126 'sunday' => 'dies Solis',
127 'monday' => 'dies Lunae',
128 'tuesday' => 'dies Martis',
129 'wednesday' => 'dies Mercuri',
130 'thursday' => 'dies Iovis',
131 'friday' => 'dies Veneris',
132 'saturday' => 'dies Saturni',
133 'january' => 'Ianuarii',
134 'february' => 'Februarii',
136 'april' => 'Aprilis',
137 'may_long' => 'Maii',
140 'august' => 'Augusti',
141 'september' => 'Septembri',
142 'october' => 'Octobri',
143 'november' => 'Novembri',
144 'december' => 'Decembri',
159 'mw_math_png' => "Semper vertere PNG",
160 'mw_math_simple' => "HTML si admodum simplex, alioqui PNG",
161 'mw_math_html' => "HTML si fieri potest, alioqui PNG",
162 'mw_math_source' => "Stet ut TeX (pro navigatri texti)",
163 'mw_math_modern' => "Commendatum pro navigatri recentes",
164 'mw_math_mathml' => 'MathML',
167 require_once( "LanguageUtf8.php" );
169 class LanguageLa
extends LanguageUtf8
{
170 function LanguageLa() {
171 global $wgNamespaceNamesLa, $wgMetaNamespace;
172 LanguageUtf8
::LanguageUtf8();
173 $wgNamespaceNamesLa[NS_PROJECT_TALK
] = 'Disputatio_' .
174 $this->convertGrammar( $wgMetaNamespace, 'genitive' );
177 function getNamespaces() {
178 global $wgNamespaceNamesLa;
179 return $wgNamespaceNamesLa;
182 function getNsText( $index ) {
183 global $wgNamespaceNamesLa;
184 return $wgNamespaceNamesLa[$index];
187 function getNsIndex( $text ) {
188 global $wgNamespaceNamesLa;
189 global $wgMetaNamespace;
191 foreach ( $wgNamespaceNamesLa as $i => $n ) {
192 if ( 0 == strcasecmp( $n, $text ) ) { return $i; }
195 # Backwards compatibility hacks
196 if( $wgMetaNamespace == 'Vicipaedia' ||
$wgMetaNamespace == 'Victionarium' ) {
197 if( 0 == strcasecmp( 'Wikipedia', $text ) ) return NS_PROJECT
;
198 if( 0 == strcasecmp( 'Disputatio_Wikipedia', $text ) ) return NS_PROJECT_TALK
;
203 function getQuickbarSettings() {
204 global $wgQuickbarSettingsLa;
205 return $wgQuickbarSettingsLa;
208 function getSkinNames() {
209 global $wgSkinNamesLa;
210 return $wgSkinNamesLa;
213 function date( $ts, $adj = false )
215 if ( $adj ) { $ts = $this->userAdjust( $ts ); }
217 $d = $this->getMonthAbbreviation( substr( $ts, 4, 2 ) ) .
218 " " . (0 +
substr( $ts, 6, 2 )) . ", " .
223 function timeanddate( $ts, $adj = false )
225 return $this->time( $ts, $adj ) . " " . $this->date( $ts, $adj );
228 function getValidSpecialPages()
230 global $wgValidSpecialPagesLa;
231 return $wgValidSpecialPagesLa;
234 function getSysopSpecialPages()
236 global $wgSysopSpecialPagesLa;
237 return $wgSysopSpecialPagesLa;
240 function getDeveloperSpecialPages()
242 global $wgDeveloperSpecialPagesLa;
243 return $wgDeveloperSpecialPagesLa;
246 function getMessage( $key ) {
247 global $wgAllMessagesLa;
248 if( isset( $wgAllMessagesLa[$key] ) ) {
249 return $wgAllMessagesLa[$key];
251 return parent
::getMessage( $key );
255 * Convert from the nominative form of a noun to some other case
257 * Just used in a couple places for sitenames; special-case as necessary.
258 * Rules are far from complete.
260 function convertGrammar( $word, $case ) {
263 // 1st and 2nd declension singular only.
264 $in = array( '/a$/', '/u[ms]$/' );
265 $out = array( 'ae', 'i' );
266 return preg_replace( $in, $out, $word );