$wgRawHtml option to enable <html>...</html> container for RAW UNCHECKED
[lhc/web/wiklou.git] / languages / LanguageIt.php
index be0f889..b02d2ec 100644 (file)
@@ -1,4 +1,4 @@
-<?
+<?php
 
 # NOTE: To turn off "Current Events" in the sidebar,
 # set "currentevents" => "-"
@@ -8,50 +8,43 @@
 # encapsulates some of the magic-ness.
 #
 /* private */ $wgNamespaceNamesIt = array(
-       -2      => "Media",
-       -1      => "Speciale",
-       0       => "",
-       1       => "Discussione",
-       2       => "Utente",
-       3       => "Utente_discussioni",
-       4       => "Wikipedia",
-       5       => "Wikipedia_discussioni",
-       6       => "Immagine",
-       7       => "Immagine_discussione",
-       8       => "MediaWiki",
-       9       => "MediaWiki_discussione",
-);
-
-/* private */ $wgDefaultUserOptionsIt = 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
-);
+    NS_MEDIA            => "Media",
+    NS_SPECIAL          => "Speciale",
+    NS_MAIN             => "",
+    NS_TALK             => "Discussione",
+    NS_USER             => "Utente",
+    NS_USER_TALK        => "Discussioni_utente",
+    NS_WIKIPEDIA        => "Wikipedia",
+    NS_WIKIPEDIA_TALK   => "Discussioni_Wikipedia",
+    NS_IMAGE            => "Immagine",
+    NS_IMAGE_TALK       => "Discussioni_immagine",
+    NS_MEDIAWIKI        => "MediaWiki",
+    NS_MEDIAWIKI_TALK   => "Discussioni_MediaWiki",
+    NS_TEMPLATE         => "Template",
+    NS_TEMPLATE_TALK    => "Discussioni_template",
+    NS_HELP             => "Aiuto",
+    NS_HELP_TALK        => "Discussioni_aiuto",
+    NS_CATEGORY         => "Categoria",
+    NS_CATEGORY_TALK    => "Discussioni_categoria"
+
+) + $wgNamespaceNamesEn;
 
 /* private */ $wgQuickbarSettingsIt = array(
        "Nessuno", "Fisso a sinistra", "Fisso a destra", "Fluttuante a sinistra"
 );
 
 /* private */ $wgSkinNamesIt = array(
-       "Standard", "Nostalgia", "Cologne Blue"
+       'standard' => "Standard",
+       'nostalgia' => "Nostalgia",
+       'cologneblue' => "Cologne Blue",
+       'smarty' => "Paddington",
+       'montparnasse' => "Montparnasse",
+       'davinci' => "DaVinci",
+       'mono' => "Mono",
+       'monobook' => "MonoBook",
+ "myskin" => "MySkin" 
 );
 
-/* private */ $wgUserTogglesIt = array(
-       "hover"         => "Mostra etichetta sui wiki-links",
-       "underline" => "Sottolinea links",
-       "highlightbroken" => "Evidenzia i links che puntano ad<br>articoli ancora da scrivere",
-       "justify"       => "Paragrafo: giustificato",
-       "hideminor" => "Nascondi le modifiche minori<br>nella pagina \"Modifiche recenti\"",
-       "numberheadings" => "Auto-numerazione dei<br>titoli di paragrafo",
-       "rememberpassword" => "Ricorda la password<br>(non limitare a una sessione<br>- richiede uso di cookies)",
-       "editwidth" => "Casella di edizione ampliata<br>alla massima larghezza",
-       "editondblclick" => "Doppio click per modificare l'articolo<br>(richiede JavaScript)",
-       "watchdefault" => "Notifica articoli nuovi e modificati",
-       "minordefault" => "Indica ogni modifica come minore<br>(solo come predefinito)"
-       
-);
 
 /* These should be localized... any Italian online bookstores take ISBN searches? */
 /* private */ $wgBookstoreListIt = array(
 /* Just inherit the (mostly) native-language plus latinized formed */
 /* private */ $wgLanguageNamesIt = $wgLanguageNamesEn;
 
-/* private */ $wgWeekdayNamesIt = array(
-       "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì",
-       "Venerdì", "Sabato"
-);
-
-/* private */ $wgMonthNamesIt = array(
-       "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno",
-       "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre",
-       "Dicembre"
-);
-
-/* private */ $wgMonthAbbreviationsIt = array(
-       "Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago",
-       "Set", "Ott", "Nov", "Dic"
-);
 
 # All special pages have to be listed here: a description of ""
 # will make them not show up on the "Special Pages" page, which
        "Movepage"              => "",
        "Booksources"   => "",
        "Export"        => "XML export",
+       "Version"       => "Version",
 );
 
 /* private */ $wgSysopSpecialPagesIt = array(
 /* private */ $wgDeveloperSpecialPagesIt = array(
        "Lockdb"                => "Rendi il database read-only (di sola lettura, blocca le modifiche)",
        "Unlockdb"              => "Ripristina scrittura su database (lettura\/scrittura)",
-       "Debug"                 => "Informazioni per il Debugging"
 );
 
 /* private */ $wgAllMessagesIt = array(
+# User Toggles
+
+"tog-hover"            => "Mostra etichetta sui wiki-links",
+"tog-underline" => "Sottolinea links",
+"tog-highlightbroken" => "Evidenzia i links che puntano ad<br>articoli ancora da scrivere",
+"tog-justify"  => "Paragrafo: giustificato",
+"tog-hideminor" => "Nascondi le modifiche minori<br>nella pagina \"Modifiche recenti\"",
+"tog-usenewrc" => "Enhanced recent changes (not for all browsers)",
+"tog-numberheadings" => "Auto-numerazione dei<br>titoli di paragrafo",
+"tog-showtoolbar" => "Show edit toolbar",
+"tog-editondblclick" => "Doppio click per modificare l'articolo<br>(richiede JavaScript)",
+"tog-editsection"=>"Enable section editing via [edit] links",
+"tog-editsectiononrightclick"=>"Enable section editing by right clicking<br> on section titles (JavaScript)",
+"tog-showtoc"=>"Show table of contents<br>(for articles with more than 3 headings)",
+"tog-rememberpassword" => "Ricorda la password<br>(non limitare a una sessione<br>- richiede uso di cookies)",
+"tog-editwidth" => "Casella di edizione ampliata<br>alla massima larghezza",
+"tog-watchdefault" => "Notifica articoli nuovi e modificati",
+"tog-minordefault" => "Indica ogni modifica come minore<br>(solo come predefinito)",
+"tog-previewontop" => "Show preview before edit box and not after it",
+"tog-nocache" => "Disable page caching",
+# dates
+'sunday' => 'Domenica',
+'monday' => 'Lunedì',
+'tuesday' => 'Martedì',
+'wednesday' => 'Mercoledì',
+'thursday' => 'Giovedì',
+'friday' => 'Venerdì',
+'saturday' => 'Sabato',
+'january' => 'Gennaio',
+'february' => 'Febbraio',
+'march' => 'Marzo',
+'april' => 'Aprile',
+'may_long' => 'Maggio',
+'june' => 'Giugno',
+'july' => 'Luglio',
+'august' => 'Agosto',
+'september' => 'Settembre',
+'october' => 'Ottobre',
+'november' => 'Novembre',
+'december' => 'Dicembre',
+'jan' => 'Gen',
+'feb' => 'Feb',
+'mar' => 'Mar',
+'apr' => 'Apr',
+'may' => 'Mag',
+'jun' => 'Giu',
+'jul' => 'Lug',
+'aug' => 'Ago',
+'sep' => 'Set',
+'oct' => 'Ott',
+'nov' => 'Nov',
+'dec' => 'Dic',
+
 
 # Bits of text used by many pages:
 #
 "redirectedfrom" => "(Reindirizzamento da $1)",
 "lastmodified" => "Ultima modifica il $1.",
 "viewcount"            => "Questo articolo è stato letto $1 volte.",
-"gnunote" => "Questa pagina è disponibile con licenza <a class=internal href='/wiki/GNU_FDL'>GNU FDL</a>.",
+"gnunote" => "Questa pagina è disponibile con licenza <a class=internal href='$wgScriptPath/GNU_FDL'>GNU FDL</a>.",
 "printsubtitle" => "(Articolo di http://www.wikipedia.org)",
 "protectedpage" => "Pagina protetta",
 "administrators" => "Wikipedia:Amministratori",
@@ -774,15 +805,10 @@ Scegli, per cortesia, un titolo diverso per l'articolo.",
 
 );
 
-include_once( "LanguageUtf8.php" );
+require_once( "LanguageUtf8.php" );
 
 class LanguageIt extends LanguageUtf8 {
 
-       function getDefaultUserOptions () {
-               global $wgDefaultUserOptionsIt;
-               return $wgDefaultUserOptionsIt;
-               }
-
        function getBookstoreList () {
                global $wgBookstoreListIt;
                return $wgBookstoreListIt;
@@ -817,11 +843,6 @@ class LanguageIt extends LanguageUtf8 {
                return $wgSkinNamesIt;
        }
 
-       function getUserToggles() {
-               global $wgUserTogglesIt;
-               return $wgUserTogglesIt;
-       }
-
        function getLanguageNames() {
                global $wgLanguageNamesIt;
                return $wgLanguageNamesIt;
@@ -835,24 +856,6 @@ class LanguageIt extends LanguageUtf8 {
                return $wgLanguageNamesIt[$code];
        }
 
-       function getMonthName( $key )
-       {
-               global $wgMonthNamesIt;
-               return $wgMonthNamesIt[$key-1];
-       }
-
-       function getMonthAbbreviation( $key )
-       {
-               global $wgMonthAbbreviationsIt;
-               return $wgMonthAbbreviationsIt[$key-1];
-       }
-
-       function getWeekdayName( $key )
-       {
-               global $wgWeekdayNamesIt;
-               return $wgWeekdayNamesIt[$key-1];
-       }
-
        function date( $ts, $adj = false )
        {
                if ( $adj ) { $ts = $this->userAdjust( $ts ); }