Manual:FAQ/it



What are the differences between MediaWiki, Wikimedia, Wikipedia and wiki?
This is a common question; please see Differences between Wikipedia, Wikimedia, MediaWiki, and wiki for a detailed answer.

I want to use a MediaWiki instance to (blank). Am I allowed to?
MediaWiki is free software: this means that you may use it for any purpose without legal hindrance. Furthermore, its licensing conditions apply solely to the software itself. This means that although many wikis license their content under a permissive license, you are not obliged to license the content submitted to your wiki in any particular way. Of course, as a project founded to support sites like Wikipedia, we encourage you to license the texts you write under a free license, but, in short, you are not required to.

If you wish to alter or amend the software itself, in general, you are permitted to, but there are some restrictions and you should consult the full text of the GNU GPL version 2 for details. Because MediaWiki is provided free of charge, there is no warranty, to the extent permitted by applicable law.

Dove scarico MediaWiki?
L'ultima versione stabile di MediaWiki può essere scaricata da download.wikimedia.org o da Sourceforge. I file sono compressi in .tar.gz. MediaWiki può anche essere ottenuto direttamente via SVN.

Come installo MediaWiki?
Installare MediaWiki richiede tra i 10 e i 30 minuti, e include l'upload e la copia dei file e l'esecuzione dell'installer per la configurazione. See the Installation Guide, where you will also find the minimum system requirements.

Come installo MediaWiki usando un sistema di gestione pacchetti?
Molte distribuzioni di Linux supportano l'istallazione tramite la gestione di pacchetti. Il team di sviluppo di MediaWiki rimanda alla distribuzione di Linux per assistenza all'installazione. Le varie comunità o società che mantengono le distribuzioni dovrebbero poterti aiutare

Be warned that third-party distributions may be older versions, so pay close attention to compatibility information for directions and extensions.


 * See also: Software bundles.

Posso installare più di una wiki su un server che usa MediaWiki?
È possibile installare più di una wiki su un server a patto che:

O
 * Si usi un database differente per ogni wiki
 * Si usi un prefisso del database differente per ogni wiki

Per informazioni su queste opzioni vedi rispettivamente $wgDBname e $wgDBprefix.

Per informazioni su una famiglia di wiki, vedi Manual:Wiki family.

Per informazioni su un modo alternativo, vedi il sito di Steve Rumberg.

MediaWiki funziona con la modalità sicura attivata?
Si ma a basso regime. Vedi Safe mode.

MediaWiki richiede l'accesso alla shell?
L'accesso alla shell (SSH access) non è obbligatorio per l'installazione di MediaWiki, ma è caldamente raccomandato. Senza accesso alla shell, si possono avere difficoltà per il backup o l'aggiornamento. In generale, senza accesso alla shell non è possibile effettuare operazioni di manutenzione. Many major extensions work best with shell access.

How do I install extensions?
See Manual:Extensions for information about installing and writing extensions. See the Category:Extensions to find existing extensions.

Come aggiungo un namespace extra?
See Creating a custom namespace.

Come abilito l'upload?
L'upload di file è un'opzione molto usata di MediaWiki, ma è disabilitata di default in tutte le versioni. Per abilitarla, crea la cartella di upload (images di default) modificabile dal server (chmod 777 o abilitare l'utente Apache a scriverci, ecc.), poi modifica $wgEnableUploads true in LocalSettings.php ( "$wgEnableUploads = true;"). If you get a "failed to mkdir" error when you try to upload, it probably means that there's a permissions problem.


 * Vedi Manual:Configuring file uploads per ulteriori informazioni.

Come abilito l'uso di formule matematiche?
MediaWiki supporta l'uso di formule tramite un programma chiamato texvc che usa il LaTeX per la resa finale. Vedi Manual:Math per le istruzioni.

How do I set the timezone for my MediaWiki?

 * See: Manual:Timezone

Come svuoto la cache di una pagina?
Per svuotare la cache di una pagina, aggiungi &action=purge alla fine dell'URL dinamico.

es. http://www.mediawiki.org/w/index.php?title=Main_Page&action=purge

Or  to the end of the page's short form URL:

E.g. http://www.mediawiki.org/wiki/Main_Page?action=purge


 * Vedi anche: Manual:Purge, Manual:Parameters_to_index.php

How do I completely disable caching?
Add in your LocalSettings.php file the following lines: $wgEnableParserCache = false; $wgCachePages = false;

Come abilito l'upload di altri formati?
MediaWiki richiede che abilitare l'upload di alri formati sia specificato con la configurazione della variabile $wgFileExtensions. Di solito questa variabile è situata in LocalSettings.php nel root dell'installazione MediaWiki.

Per esempio, per abilitare l'upload di file PDF, bisogna aggiungere le seguenti righe di codice in LocalSettings.php:

To extend uploading to more than one type of file, use the following syntax


 * Vedi Manual:Configuring file uploads per ulteriori informazioni.

"Il file ha un'estensione non valida o è corrotto"
Qualche utente ha riportato che dopo aver aggiunto un formato, è venuto fuori questo errore. Il testo dell'errore è principalmente il seguente:


 * Il file ha un'estensione non valida o è corrotto. Controlla l'estensione e riprova

Possibili soluzioni:


 * Imposta il valore di $wgMimeDetectorCommand, es. su Unix o Linux, dovrebbe essere
 * Compila/installa l'estensione per PHP fileinfo
 * Fedora - yum install php-pecl-Fileinfo
 * Fedora - yum install php-pecl-Fileinfo


 * Vedi Manual:Mime type detection per ulteriori informazioni.

L'utente iniziale non è stato creato dall'installer
A volte, l'installer non riesce a creare l'utente di default, o questo è perso per qualche motivo. Ci sono un paio di soluzioni:

maintenance/createAndPromote.php

 * Assicurati che AdminSettings.php sia attivato (vedi AdminSettings.sample)
 * Esegui maintenance/createAndPromote.php dalla shell Append  to command line if you want that user to become a bureaucrat, in addition to becoming an administrator.

Questo creerà un nuovo utente e lo promuoverà amministratore. Per aiuto, dai al programma il parametro --help.

Alterare il database

 * Registra un nuovo account normalmente (Special:Userlogin).
 * Controlla l'ID dell'utente in Special:Preferences.
 * Esegui le azioni SQL sul database:
 * above should be replaced with the appropriate user ID which you can see on the user's preference page.
 * Note: if  is defined in LocalSettings.php, prepend its value to the table name. For example, if   is "XYZ", then the table name to use is.
 * Note: if  is defined in LocalSettings.php, prepend its value to the table name. For example, if   is "XYZ", then the table name to use is.

Temporarily let everyone assign rights to promote your initial user
This method essentially involves letting all users temporarily modify user permissions in order to promote one user
 * Register a new account using the regular method (Special:UserLogin). Be logged in using that account.
 * Add the following lines to the bottom of LocalSettings.php
 * Go to special:userrights and add the user you just created to the Administrator and Bureaucrat groups.
 * Remove the  line from your LocalSettings.php . This step is very important, as until you remove it anyone can alter permissions, which is bad.
 * Remove the  line from your LocalSettings.php . This step is very important, as until you remove it anyone can alter permissions, which is bad.

Come resetto la password?

 * See Manual:Resetting passwords

Come creo interwiki dal mio wiki?

 * See Manual:Interwiki

Come accorcio il mio URL di base? (es. /wiki/Nome_Articolo al posto di /w/index.php?title=Nome_Articolo)
(i.e. /wiki/Article_Name as opposed to /w/index.php?title=Article_Name)
 * Vedi Manual:Short URL.

How do I organize pages into subdirectories like /wiki/subdir/PageName?

 * See Manual:$wgNamespacesWithSubpages, Help:Subpages

Il download e l'uso dei contenuti di MediaWiki.org è gratis?
Si, è gratis nel senso di Software libero. Vedi Project:Copyrights per le licenze sui contenuti di questo sito.

Come amministro gli utenti?
 Vedi Help:User rights. See Manual:Preventing access for methods and strategies for restricting access.

Come impedisco le modifiche agli utenti anonimi?
Il metodo raccomandato è modificare il valore di. Modifica  ed aggiungi:

If you use Extension:AbuseFilter, any admin can also disable IP editing temporarily as needed.


 * Per ulteriori informazioni, vedi Preventing access.

How do I stop anonymous users from reading any page?
See also Manual:$wgWhitelistRead. See Manual:Preventing access for more information.
 * Add this to the bottom of LocalSettings.php:

How do I restrict account creation?
See Manual:Preventing access for more information.
 * Add this to the bottom of LocalSettings.php:

How do I require an email address be specified at registration?

 * See Manual:$wgEmailConfirmToEdit

How do I put MediaWiki into Read Only mode?

 * See Manual:$wgReadOnly

How do I change default user preferences?
The MediaWiki default user preferences are in the language file, i.e.  if you're using English. Don't edit that file, just use it for reference, like you do with DefaultSettings.php.

Say if you want to change the default number of search results on a page. Language.php says:

To change it to 50, put this in your LocalSettings.php: Note that you are setting $wgDefaultUserOptions, which contains the site overrides, not $wgDefaultUserOptionsEn, which contains the software defaults. Any settings in $wgDefaultUserOptions will override those set in the language file.

To change the default namespaces to be searched, in any version of MediaWiki, set $wgNamespacesToBeSearchedDefault in LocalSettings.php to an array mapping namespace indexes to boolean values. For example, to search the main namespace and the category namespace, use:

$wgNamespacesToBeSearchedDefault = array(    NS_MAIN => true,     NS_CATEGORY => true, );

In some cases, after you change a default user preference, you may also want to change the user preferences of all existing user accounts.

If so, use the userOptions.php script in the Maintenance directory. Use the "--dry" option for the first run, assess the impact and go from there. (--dry does not write the database)

php userOptions.php --dry --nowarn searchlimit --old 20 --new 50

Also, always backup your database before making these kinds of changes (you do not need to do use if you are just using --dry).


 * ''See also: Manual:$wgDefaultUserOptions

How can I make Mediawiki run faster?

 * See: Manual:Performance tuning

How do I enable a drop-down list of search suggestions?

 * See: Manual:Enabling autocomplete in search box

Aggiornamento

 * Vedi anche Manual:Upgrading/it.

Is it possible to move my wiki to a different machine?
Yes. It should be. In essence, you will be backing up your old installation and then "restoring" it onto the new machine. Finally, you will have to make additional modifications to update the wiki configuration so that everything points to the new location.

How do I move my wiki to a different server?
Follow the instructions at Manual:Moving a wiki.

Come cambio il logo?
L'immagine che appare in alto a sinistra in ogni pagina è determinato dalla configurazione di $wgLogo nel file LocalSettings.php.

Per cambiarlo devi semplicemente cambiare il valore di $wgLogo in modo che punti all'URL del tuo logo.


 * 1) Puoi caricare un file nella wiki ed usare quell'indirizzo (in tal caso dovresti pensare di proteggere quella pagina)
 * Then add the $wgLogo line to LocalSettings.php, for example:
 * 1) o usare un'immagine caricata sul server tramite altri metodi.
 * Add the $wgLogo line to LocalSettings.php, for example:
 * (In this example, the image is in the same folder as the LocalSettings.php file.)
 * (In this example, the image is in the same folder as the LocalSettings.php file.)
 * (In this example, the image is in the same folder as the LocalSettings.php file.)

If you want to change the logo in only specific pages, override #p-logo css's background-image property or use third party extension like Extension:LogoFunctions.

How do I edit the wiki's CSS?
You shouldn't edit the CSS files (such as main.css) directly, because it will make upgrading harder if you need to apply your customizations each time you upgrade the software. Instead you need to edit a wiki page called MediaWiki:Common.css if you want to apply your CSS changes for all skins, or a wiki page called MediaWiki:Monobook.css if you want to apply the customizations only for Monobook skin.

The content of MediaWiki:Common.css and MediaWiki:Monobook.css pages always override the default CSS styles specified in main.css.

How do I hide the left vertical navigation toolbar
In other words, how do you make the main content div take up 100% of the display, hiding the logo, toolbox, navigation and search engine?

To hide it permanently, copy and paste the following into the MediaWiki:Common.css page:

To instead hide the toolbar when the user presses F11, enter this in your wiki's MediaWiki:Common.js:

How do I hide the categories at the bottom of each page?
You can hide display of the categories on each page by modifying your MediaWiki:Common.css and adding:

Come personalizzo (con il css) il logo?
Il logo è un blocco con una sezione pBody. È identificato dal p-logo id. L'immagine di sfondo è identificata dalla variabile wgLogo, che è definita in /includes/DefaultSettings.php. Questa posizione dipende dal root del server e non dall'amministratore del sistema. Ridefiniscila in /LocalSettings.php per cambiare l'immagine. Se è impostata male, non ci sarà alcuna immagine; controlla l'errore nel registro del server e cerca di porvi rimedio. In ogni caso, la dimensione del p-logo sarà abbastanza grande per evitare che l'immagine venga tagliata. Questo è impostato nel Foglio di stile a cascata, sotto lo stile del p-logo, la configurazione di default è:

Note, if you are using a different sized logo, and want to change the CSS, please do not modify any of the core MediaWiki stylesheets. Instead add to the on-wiki css page (MediaWiki:Monobook.css for monobook, MediaWiki:Vector.css for vector. MediaWiki:Common.css will also work for all skins)

Come modifico l'URL a cui punta il logo?
Di default, cliccando sul logo, si è indirizzati alla pagina principale. Se vuoi cambiare quale pagina si a la principale, modifica MediaWiki:Mainpage.

O per mandare il link ad un URL arbitrario, con il Monobook, modifica Monobook.php e sostituisci  con l'URL di tua scelta e   con il titolo del link desiderato.

Ridurre la dimensione del logo
Nota che c'è un tag sopra il logo cosicché se cerchi di ridurne la dimensione,dovrai anche cambiare #p-logo a e #p-logo a:hover. Le configurazioni di default sono:

Come cambio l'icona nella barra degli indirizzi del browser (favicon)?

 * Semplicemente rimpiazzando l'immagine favicon.ico con l'immagine .ico desiderata.
 * Alternativamente modificandi $wgFavicon in LocalSettings.php aggiungendoci $wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";

See Manual:$wgFavicon for more details.

Tip: The favicon image should be either 16 x 16 pixels or 32 x 32 pixels.

Rewrite Rule
If you are using a rewrite rule in .htaccess to remove "index.php" from the URL, you will also need to add an exception for .ico files. Simply add the following rule to your .htaccess:


 * RewriteRule .*\.ico$ - [L]

This rule must appear before the index.php rule.

Case sensitivity
When uploading the favicon file, be sure the filename is in lowercase. (That is, "favicon.ico", not "Favicon.ico".) A lot of servers (e.g., those on UNIX-like operating systems) will not be able to find the file unless its name is in lowercase.

Come modifico la barra di navigazione?
Il contenuto della barra di navigazione appare nella sinistra di ogni pagina usando la skin Monobook ed è determinato dalla pagina MediaWiki:Sidebar. Per informazioni su come modificarla, vedi Manual:Navigation bar.

Come aggiungo un messaggio di testo (sitenotice) su ogni pagina?
Metti il tuo testo nella pagina MediaWiki:Sitenotice e verrà visualizzato in cima ad ogni pagina.

You can also add text to MediaWiki:Anonnotice to create a message that only displays for logged-out users. It is often a good idea to transclude the site notice on the anon notice to make sure that logged-out users still get the information on the site notice,

Come cambio la pagina principale?
Di default, MediaWiki cerca una pagina dal titolo Main Page e la imposta come pagina principale. Questa può essere cambiata modificando il contenuto della pagina MediaWiki:Mainpage in modo che punti ad un'altra pagina. Se non si cambia anche la sezione 'Main Page' nella barra laterale, modifica anche MediaWiki:Sidebar.

Come nascondo il titolo della pagina principale?
Simply click on the "Move" tab, and move the page to the desired page title.

Usually you also want to change which page is the configured as "main page".

Come nascondo il titolo della pagina principale?
MediaWiki non ha un'opzione built-in per nascondere il titolo della pagina principale (vedi bug 6129). Puoi comunque usare JavaScript o CSS. Alternatively, you can use the NoTitle extension.

Add the following to on your wiki:

If your main page uses a localized name or you have renamed the main page you need to change the  part. You can find a correct parameter by viewing HTML source of the main page and searching for the  tag.

For example, if your language is Lojban, the body tag looks like this:

Therefore you should put this line in your instead: If this doesn't work, you may be using a skin that doesn't support this, or you moved your main page without updating MediaWiki:Mainpage, or you have a really old MediaWiki version.

If the skin uses a different element for the title than a  element with class , you'll need to find the appropriate CSS selector to apply for that skin.

Come nascondo l'indice?
L'indice (TOC, da Table Of Contents, tavola dei contenuti) è automaticamente visualizzato se ci sono quattro o più sezioni nella pagina. Ci sono vari modi per nasconderlo.


 * Su una pagina
 * Inserisci   nel sorgente della pagina.


 * Su tutte le pagine
 * Install Extension:NoTOC
 * or
 * Add the following rule to MediaWiki:Common.css:


 * Per utente
 * Un utente può decidere di nascondere tutti gli indici, opzione modificabile in Special:Preferences.


 * There was a user preference to hide the table of contents, it was removed in MediaWiki 1.23 (T54813).

Come modifico il testo dell'interfaccia?
Il testo dell'interfaccia viene modificato utilizzando le pagine nel namespace MediaWiki. Per ogni modifica dai messaggi di default, c'è una pagina MediaWiki:MessaggioOriginale, e per i messaggi solo per una determinata lingua MediaWiki:MessaggioOriginale/codicelingua. (Dalla versione 1.9 non ci sono pagine per messaggi uguali a quelli di default). On creation of a page the edit box autofills with the default. Quando si crea una pagina per modificare un messaggio, è bene salvare prima la versione di default e pi sovrascriverla in modo da agevolare il confronto. Vedi anche meta:Help:System messages.


 * Per la lista dei messaggi di sistema, vedi Special:Allmessages
 * Per spegnere il namespace MediaWiki, vedi la configurazione di $wgUseDatabaseMessages.
 * Per rimuovere i link Privacy policy o Disclaimers alla fine di ogni pagina, modifica MediaWiki:Privacy o MediaWiki:Disclaimers rispettivamente ad un singolo trattino.

How do I change the interface language?
Come modifico la lingua dell'interfaccia? ===

Per modificare la lingua di default dell'interfaccia, modifica la variabile $wgLanguageCode</tt> in LocalSettings.php</tt>, es.

You may also need to bypass your browser's cache to see the changes.

The new default interface language will be applied to all users who haven't ever customised it.

If you want to provide users the possibility to create and choose pages and interface elements in languages other than the default one of the wiki, you need the Translate extension, which can make your wiki multilingual.

How do I remove the article/edit etc tabs?
For a little more control see: User:Subfader/Hide_page_tabs

Edit MediaWiki:Common.css on your wiki, and add this:

See the page source for the various #ca-* ids used in the content tabs.

Note: this will only work for Monobook and derived skins such as Modern and Vector (the default skin), and doesn't actually stop people from editing. To do that, see Manual:User rights.

Come aggiungo/rimuovo in generale le linguette?
Use Extension:DynamicTabs on older MediaWiki installations or write your own extension (See: Manual:Hooks/SkinTemplateNavigation):

For example, to remove the talk tab and then add a tab that always goes to the main page you would save this code in :

ed aggiungi alla fine di LocalSettings.php

How do I remove a tab on only one page?
For example, to remove the Discussion (talk) page tab from the Main Page, on the MediaWiki:Common.css page add:

To modify MediaWiki:Common.css you must have administrative privileges.


 * See also: Manual:Hide page tabs

How do I remove a tab on all pages
For example, to remove the Discussion (talk) page tab on all wikipages, on the MediaWiki:Common.css page add:

Other tabs to remove are #ca-history, #ca-viewsource, #ca-view (Read tab), #ca-nstab-main (Page tab), #ca-viewsource.

Other drop down menu items you can remove are #ca-watch, #ca-move, #ca-delete.

To modify MediaWiki:Common.css you must have administrative privileges.

Come nascondo il link 'modifica' di una sezione agli utenti non loggati?
Il metodo raccomandato è modificare il valore di.

Modifica  ed aggiungi:


 * Vedi anche Come impedisco le modifiche agli utenti anonimi?

Come rimuovo "Talk for this IP" (discussioni per questo IP) in alto a destra se $wgDisableAnonTalk è impostato su true?
Set $wgShowIPinHeader to false.

Come tolgo "Create an Account or Login" (Entra/Registrati) in alto a destra?
To remove the login / create account links from the personal_urls you can use this code in your to hook in and remove them:

How can I suppress actions and special pages?

 * NOTE: MediaWiki is not designed for this kind of usage! It should be noted that the following 'answer' is a hack that only 'works' with the Apache webserver. Note also that this system is not foolproof, it's just one step further than hiding the links (see above).

Suppressing actions and special pages can be useful when you want to create the illusion of a static website via a particular URL or VirtualHost, but also have an 'internal' view that is a true wiki. i.e. if you have an inward facing 'view' of your wiki that users can edit, and an outward facing 'view' that should appear like a static website (no history, no discussion, etc., etc.).

After hiding all the appropriate links (see above), if you are using the Apache web server, you can disable actions and special pages using the following rewrite rules:


 * 1) Lock down the site (disable MediaWiki commands)

RewriteEngine On


 * 1) RewriteLog /tmp/rewrite.log


 * 1) RewriteLogLevel 9


 * 1) See http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#Actions

RewriteCond %{QUERY_STRING} (.*action=.*) RewriteRule .* http://www.my.domain.com?

RewriteCond %{REQUEST_URI} !^/index.php/Special:Search RewriteCond %{REQUEST_URI} ^(.*Special:.*) RewriteRule .* http://www.my.domain.com?

RewriteCond %{QUERY_STRING} ^(.*Special:.*) RewriteRule .* http://www.my.domain.com?
 * 1) Catch a trick...

Above, a request for, for example, will be simply rewritten to. Similarly any page in the Special namespace (with the exception of Special:Search) will be rewritten to. Remember, this is only a hack, and isn't intended as a solution for a secure CMS.

Note that you will need to adjust the above rules to match your specific URL naming schema.

Other issues to consider when trying to lock down a site like this is the API and POST requests for the wiki content (rather than GET).

How do I edit error messages?
Special:Allmessages contains a complete list of messages (error or otherwise), that can be edited.

Come modifico il footer?

 * Vedi anche: Footer, Manual:Skinning

Come modifico / rimuovo l'immagine Powered by MediaWiki nel footer?
Puoi nascondere l'immagine Powered by MediaWiki aggiungendo al MediaWiki:Common.css della tua wiki:

The Vector skin equivalent is:

In MW 1.17 with Vector Skin:

In MW 1.18 with Vector Skin:

If you want to remove it completely in 1.17 you can use to remove it using this in your :

In 1.16 and below you will have to use a hook to remove it:

If you wish to change the icon images, urls, alt text, or add new icons please see ' documentation.

How do I add a reply link to default signature tildes ( ~ ) template?
You can customize at: MediaWiki:Signature / MediaWiki:Signature-anon

For example, changing the entries to  will put a link to users' talk pages and   would give a more direct link.

Users can change it their preferences.

Come modifico il di ogni pagina? Dove?
La maggior parte del testo che vuoi modificare si trova nel namespace MediaWiki.

Se vuoi modificare titoli, testi, annunci ecc. vai a Special:Allmessages, dove troverai il testo associato alla pagina che vuoi modificare. You need to log in as an administrator to edit the protected entries in the MediaWiki namespace.

Se vuoi modificare il titolo nel browserm devi modificare MediaWiki:pagetitle. Go there and edit it just like you would any other page in your wiki.

Nelle ultime versioni di MediaWiki, MediaWiki:Pagetitle è $1 - di default. Se produce un testo non corretto, devi modificare $wgSitename in LocalSettings.php.

Se $wgSitename è corretto in LocalSettings.php ma è ancora errato, può essere che stai usando un file che imposta $wgSitename ad una transliterazione di "Wikipedia". Modifica la lingua per correggerlo. Per esempio, l'ebreo è a languages/LanguageHe.php</tt>.

Non dimenticare di svuotare la cahce del browser dopo aver effettuato tali modifiche!

Does MediaWiki automatically capitalize the first letter of $wgSitename?
Yes. This can be changed using the $wgCapitalLinks configuration setting.

Come faccio a far aprire i collegamenti esterni in una nuova finestra?

 * Vedi aprire i collegamenti esterni in una nuova finestra.

Come impedisco a MediaWiki di formattare URL, tag, ecc?
Put "  " tags around the URL or tag.

Example: svn co http://svn.example.com/myproject/

Produces: svn co http://svn.example.com/myproject/

Come faccio a obbligare gli utenti ad usare l'anteprima prima di salvare?

 * Vedi anche: Manual:Force preview.

Come metto caratteri speciali inseribili cliccandoci sopra nella pagina di modifica?

 * See: Manual:Custom edit buttons

Come metto caratteri speciali inseribili cliccandoci sopra nella pagina di modifica?
Vedi Extension:CharInsert

How can I use Wikipedia's default skin (Vector) on my wiki?
Vector was introduced in MediaWiki version 1.16, and was made the default skin in 1.17. See Manual:$wgDefaultSkin for more information on configuring your default skin.

Additional features of the Vector skin are made available using the Vector extensions, which you must download and install separately.

How do I disable external links from showing in the printable version of a page?
Edit the page MediaWiki:Print.css on your wiki and add the following code there:

This will override the styles defined in skins/common/commonPrint.css in MediaWiki source code. For more information, see Manual:CSS.

If instead you want to have the external links underlined in the printable version, then also add the following code:

How do I change the text of the article (page name) tab of my wiki's main page?
To change the text of the tab, as one example used in Wikipedia, you first open the page " ".

After you've done that, click Edit and type in the edit box the text you want to be seen later on the main page - that's it. Don't forget to save the page as well.

Come modifico una pagina?
Per modificare una pagina, clicca sul bottone edit (modifica) che appare in ogni pagina. Usando il monobook di default, questo è una linguetta in cima alla pagina. Apparirà un riquadro con il markup della pagina; quando hai finito, clicca su save (salva)


 * Vedi anche:

Come creo una nuova pagina?
Ci sono alcuni modi per creare una pagina:


 * Clicca su un link rosso da un'altra pagina
 * Inserisci il nome della pagina nell'URL es. http://www.foowiki.org/index.php?title=New_page e clicca su modifica.
 * In qualche wiki, la ricerca di una pagine inesistente ti permette di crearla.


 * Vedi Help:Starting a new page

Come cancello una vecchia versione di una pagina?
Versioni superate di una pagina sono conservate dal database e possono essere viste dalla cronologia della pagina. Possono essere, comunque, cancellate da un amministratore.


 * Gli amministratori possono cancellare una pagina e recuperare le revisioni desiderate
 * L'espansione Oversight (detta anche HideRevision) può essere usata per spostare revisioni inutili fuori dalla cronologia
 * For newer MediaWikis (1.14+), you can enable the core RevisionDelete feature that allows privileged users to remove single revisions from page histories.
 * Lo script di manutenzione maintenance/deleteOldRevisions.php</tt> può cancellare in massa tutte le vecchie revisioni. Vedi anche Manual:Maintenance scripts.


 * See also: Manual:Removing embarrassment

How do I use oversight/delete revisions in the page history?

 * See: RevisionDelete

You can also delete a page, and then restore only the revisions you want.

C'è qualche guida di editing?
Ci sono alcune guide alla modifica delle pagine, la maggior parte in Wikipedia o nei progetti Wikimedia. Ci sono anche aiuti per il markup, la sintassi ecc. su Meta.


 * The page Help:Editing pages on this site
 * Aiuto su Meta
 * How to edit a page nella Wikipedia inglese (in italiano)

Come faccio a visualizzare la versione stampabile di una pagina?
MediaWiki include un foglio di stile che riduce la pagina ad un layout adatto alla stampa.

You can also view this printable form using the printable version link in the sidebar under Toolbox or Print/export if using the Collection extension.

How do I use templates?

 * See Help:Templates

Can I use media (images, video, audio, etc.) from Wikimedia Commons in my installed version of MediaWiki?
Yes, this is encouraged through the use of Manual:$wgUseInstantCommons.


 * See also: InstantCommons

How do I use a template as a signature?
When you look at your preferences, you see a check box for "raw signature." But the field will only take a certain number of characters. What if you want more?

You will need to create two pages, possibly in your userspace.


 * 1) Create the first page (FIRST PAGE)
 * 2) Go to your preferences, check "raw signature" and put  in the signature.  Save
 * 3) Create a second page (SECOND PAGE) (possibly a sub-page of the first)
 * 4) Go back to the first page (FIRST PAGE) and do
 * 5) Go to the second page (SECOND PAGE) and place the code you wish to have for your signature.

If you don't have this structure, you will still be inserting all your signature code into the raw code wherever your signature is used, because the software will insert "SUBST" in your preferences. You may not mind this, in which case you only need one page. If you want the raw code to only display, which looks a lot cleaner, then you need to use the two-page structure.

How do I add the sandbox functionality to my installation of the wiki?
In wiki terms, a sandbox is simply a "play pen"; a page which users can mess about in. This is an ordinary page created in the normal manner, and can be located wherever you like. There is no special sandbox functionality built into MediaWiki.

Users often inquire about the Wikipedia sandboxes, which seem to be self-emptying. This is not quite correct; there are a number of volunteers who run bots to clean these up and return them to a certain state at regular time intervals.

How do I add a "Sandbox" link to personal tools (top right)?
You need to add the Gadget extension and add the Sandbox gadget. You will probably also want to make it a default gadget.

How do I make my wiki serve all languages?
To make your wiki multilingual and a tool for translation, allowing translation of pages and of the custom interface (like the sidebar), use the Translate extension; there's extensive documentation.

Importing from MediaWiki XML dumps

 * See Manual:Importing XML dumps

Importing from other types of wiki software
Note: The following is directly copied from old meta FAQ. It might need to be corrected.

There is some documentation about importing in the UPGRADE file distributed with MediaWiki.

To follow on from those, this is how at least one individual imported pages from usemod to MediaWiki:

Because MediaWiki does not automatically link to CamelCase style links, you will need to add brackets  to all your links. You can do this with the following:

First, obtain ImportStage1.txt (or whatever you want to call it) from the importUseModWiki.php script ( use > to pipe the output to a file )

Second, do

sed '/Importing/!s/\ [A-Z]\w*[a-z]\w*[A-Z]\w*[a-zA-Z]/\ \[\[&\]\] /g' ImportStage1.txt > ImportStage2.txt

This should create proper links in place of your CamelCase links.

This doesn't work so well for SubPage links - someone care to fix?

Then,

sed 's/upload\:\w*\.\w*/http\:\/\/aberwiki\.org\/uploads\/& /g' ImportStage2.txt > ImportStage3.txt

This fixes your upload links. Change the replace text so it fills in your url such as http://www.yourwiki.org/uploads/filename

You are now ready to import ImportStage3.txt into your database with a command such as

mysql -u -p < ImportStage3.txt

Note: If your  outputs an XML file instead of SQL statements, this probably means you have a rather new version of MediaWiki. In such a case, you can import the XML file -- see Importing a Wikipedia database dump into MediaWiki, towards the bottom of the page ('Import XML'). Don't forget to rebuild all the tables -- that page also explains how to do that.

Importing from other types of files
There are a variety of tools available to help convert content from HTML (and other formats) to MediaWiki markup.


 * Developer and SysAdmin tools
 * HTML::WikiConverter::MediaWiki - a Perl module for converting from HTML to MediaWiki markup.
 * Wikificator - a Javascript MediaWiki extension that converts XHTML to MediaWiki markup.
 * The Edit.php, importImages.php and ImportTextFile.php maintenance scripts can be used to import text and images into MediaWiki.


 * End-user tools
 * HTML to Wiki Converter - an online HTML to MediaWiki markup conversion service. (Based on HTML::WikiConverter::MediaWiki)
 * wikEd - a text editor for MediaWiki that can import HTML (including Microsoft Word-generated HTML.)


 * Instructions
 * Brief notes on converting from Microsoft .chm help files to MediaWiki
 * Notes on converting from Microsoft Office formats to MediaWiki

MediaWiki auto importing script
Taken from wiki_import - MediaWiki auto import script:

Description
The script is designed to import a whole folder of files into MediaWiki, with the folder directory tree mapped as wiki category hierarchy.

Features

 * economic, build wiki site from existing knowledge base collection without "double-entry"
 * persistent, map folder directory tree as wiki category hierarchy
 * sophisticated, import/handle all well-known file types automatically
 * complete, cover every applicable scenario, even the case when you need to control access to individual wiki pages
 * versatile, highly customizable

Quick Help
wiki_import.sh $ $Revision: 1.1 $

mediawiki automatic file import script

Usage: wiki_import.sh [OPTIONS]...

The script is designed to import a whole folder of files into mediawiki, with the folder directory tree mapped as wiki category hierarchy.

The specification of the file-to-import is passed from standard input.

Options: -s, --sect=n    the root category section of the wiki of the imported article (mandatory) -1, --header    include standard header (category hierarchy path & notice) -l, --link      link to actual file on the web site -f, --footer    include standard footer (article category) -R, --res[=p]   add restricted tag in the footer as '' (default=`$_opt_sect')

Configuration Options: -p, --php=fn    mediawiki import php script specification -r, --root=n    the root category name for the whole wiki site -m, --max=n     max_allowed_packet for mysqld to import -u, --user=n    wiki user used for the import -a, --arch=p    the root url that linked-to archive files based on

Examples:

echo ./path/to/file.ext | wiki_import.sh -1 -l -f -s 'Customer Support' -R

For the rest of details, check out wiki_import.

Templates imported from other wikis (such as Wikipedia) don't work for me
You probably need to install some extensions used on the source wiki, such as ParserFunctions or sometimes Cite. Also, make sure that you copied all site CSS and JavaScript required by the template.

I want to have multiple wikis, but only require registration once

 * If you're starting from scratch or you're switching from one wiki to multiple, you can use $wgSharedDB and $wgSharedTables to have all wikis share the user table of the "main" wiki. You can share other tables as well, as long as they don't contain any data dependent on non-shared tables or data specific to one wiki. See Manual:Shared database for examples and more information.
 * If your wikis are already established and you want to switch to a single sign-on, you can use the CentralAuth extension. It has a few more features than a shared user table, but it's more difficult to configure and it's tailored toward a Wikimedia-style setup. However, it is easier than attempting to completely merge multiple user tables into one.

Come permetto l'uso di tag HTML?
Vedi Manual:$wgRawHtml, Manual:$wgGroupPermissions e Manual:Preventing access.

Vedi Extension:SecureHTML e Extension:HTMLets per renderlo più sicuro.

How do I fix problems or add features to MediaWiki?
The basic steps to improving MediaWiki (that is, becoming a MediaWiki developer) are:


 * Install Git
 * Download the Git "clone" of the MediaWiki source code
 * Get a server, a database, and PHP running on your computer (this can be annoying, so please ask for help if something isn't working)
 * Get MediaWiki running on your computer off that Git checkout (can be annoying as well, so, ditto)
 * Fix the problem or add the feature you were thinking of, or if you don't have one in mind, look at one of the "annoying little bug"s
 * Edit the source code of the relevant file(s) to fix the problem
 * Follow Gerrit/Tutorial

How do I run a bot?

 * See Manual:Bots

You might want to use the Pywikibot framework.

How do I change noindex nofollow
Set  in LocalSettings.php

How do I create a small wiki farm?

 * See: Manual:Wiki family

How do I add meta tags?
The OutputPage class includes an addMeta methods which can be used to add meta tags. The RequestContext can be used to get the relevant OutputPage object.

To add further Meta tags just add further lines as last lines of the function addMetaTags like:

$out->addMeta ( 'description', 'This is a meta description.' );

...il namespace Help (Aiuto) è vuoto?
in ogni caso, il namespace Help è ancora quasi in bianco. It's up to you how much or how little help you give to your site visitors and whether this relates to other aspects of your site. Obviously you can easily link your visitors to help resources elsewhere.

Non abbiamo ancora una serie di pagine di aiuto libere, pulite, organizzate e internazionalizzate. Siete liberi di aggiungere pagine di aiuto, copiando le pagine di aiuto in pubblico dominio o qualche oggetto da Meta, es. la guide o il Glossario, entrambe sotto GNU Free Documentation License. This set of pages have been deliberately created for this purpose, with wiki-neutral information, and no license restrictions. See Project:PD help. More help is available at the Meta-Wiki MediaWiki Handbook.

...dopo un aggiornamento alcune immagini non si vedono?
Alcuni utenti hanno segnalato che, dopo un aggiornamento alcune immagini non si vedevano. I file c'erano e il tipo MIME delle immagini era unknown / unknown</tt> ed, in alcuni casi, segnalate come pericolose.

Per sistemare ciò, esegui maintenance/rebuildImages.php</tt> dalla linea di comando. Questo sistemerà le informazioni MIME per ogni file presente nel database.

…are all PNG files not being turned into thumbnails?
After upgrading to a more recent version of PHP, it is possible a different MimeMagic.php function is being used to detect file MIME types, particularly the built-in PHP function mime_content_type, which fails to detect PNG files. Search the web for mime_content_type png for information on fixing this bug at the PHP level, possibly by editing your magic.mime file.

See here for more info.

…is a search for a short keyword giving no hits?
By default, MediaWiki uses MyISAM's fulltext matching functionality to allow searching page content. The default settings for this mean that words of less than four characters won't be indexed, so will be ignored in searches with older versions of MediaWiki.

MediaWiki 1.13 and earlier are unable to work around this; you must either change MySQL's configuration to index shorter words, or upgrade to a more recent version of MediaWiki.

Note that some particular words may still not be indexed if they are in MySQL's default stopword list.

…can't I download MediaWiki {{#expr:{{MW stable branch number}}+.01}}?
MediaWiki 0000 is in a development state at present, and has not been packaged into a general release. The code can be downloaded from Git if desired. Or, if you want the latest development version packaged as an archive, get it at.

…doesn't this work? It works on Wikipedia!
Wikipedia and other Wikimedia web sites use the current version of the code in development; at present, this is MediaWiki, pulled from the current development branch. Coupled with the use of several extensions, this means that functionality between these wikis and your particular setup may differ.


 * To obtain the current development code, read Download from Git
 * To check what version a Wikimedia wiki is running, as well as what extensions are installed, visit the Special:Version page for that wiki

…do I get a 403 Forbidden error after setting permissions on my Fedora system?
Fedora Core enables SELinux by default. Instructions for setting SELinux permissions for MediaWiki are available.

…do I get logged out constantly?
This is probably related to cookies or session data, for example a problem with PHP's session.save_path setting. See Log in problems for information.

…doesn't my wiki work on Sourceforge?

 * See Manual:Installing MediaWiki on SourceForge.net.

…is it a good idea to keep user accounts?
At many times you just want to remove a user account out of the wiki either because it belonged to a spammer account or you just feel like it. The appropriate choice is to block the account or rename it if needed. Here is why:

Do I just remove his row from the User table?

Rob Church posted the following regarding this issue on the mediawiki-l mailing list:

"If the user has made edits, then removing rows from the user table cause theoretical loss of referential integrity. Now, to be honest with you, I can't think of any conditions where this would cause an actual problem; "undefined behaviour" is the phrase we use.

What I'd suggest doing, to be on the safe side, is running a couple of quick updates against the database:



What this will do is cause MediaWiki to treat the revisions as having been made anonymously when generating things like page histories, which should eliminate any problems caused by these routines attempting to check user details from other tables.

If the user has caused log entries, i.e. rows in the logging table, or uploaded images, then the situation becomes trickier, as you'll have to start mopping up all the rows everywhere and it could become a bit of a mess, so if the user's done anything other than edit, I would strongly recommend just blocking them indefinitely.

If the username is offensive or undesirable, then you could consider renaming it using the RenameUser extension."

Another option is to give Admins the 'hideuser' right, and indefinitely block the user with the Hide username from edits and lists option selected.

Extension:UserMerge is also useful.

Where do I get the spam blacklist from and how do I install it?
The spam blacklist extension can be found in Git, just like all other officially supported extensions. For installation and configuration instructions, consult the file and extension page over here.

How do I use $wgSpamRegex to block more than one string?
$wgSpamRegex (see Manual) is a powerful filter for page content. Adding multiple items to the regex, however, can be awkward. Consider this snippet:

This example code allows convenient addition of additional items to the regex without fiddling about each time. It also demonstrates two popular filters, which block some of the most common spam attacks.


 * See also: Extension:SpamRegex

Are there additional ways to fight spam?
See Manual:Combating spam for an overview of anti-spam measures such as Captcha, content filtering and restricting edition.

Anti-vandalism
See Manual:Combating vandalism for hints and suggestions on how to deal with wiki vandalism.

I've found a bug or have a feature request. Where do I post it?
Bugs and feature requests should be posted on Phabricator. See How to report a bug.

I'm getting a strange error. What now?

 * See if it is covered by Manual:Errors and Symptoms
 * Try to find out more about the problem, see How to debug MediaWiki
 * See the section below for information on how to contact developers and other knowledgabe users.

I tried that but it didn't work

 * I had a problem, I came to this page and it told me how to fix it. But it didn't work, the problem is still there!!!!

Nine times out of ten this is because you didn't clear your cache. The simple test for this is to request a page that hasn't been requested before. Select the part of the URL in the address bar that contains the page title (e.g. Main_Page). Twiddle your fingers on the keyboard for a while, hit enter. Check if the problem is on that page too.

MediaWiki uses both a server-side cache and a client-side cache, so clearing your browser cache is often not enough. See the relevant entry below for more details.

Here are some other things to check:
 * Were you editing the right file? Try inserting some garbage into the file you edited, does it break anything?
 * A great debugging tool in this case is to create a file called phpinfo.php, containing only . Upload it into your web directory and invoke it with your browser. Check the document root and the path to php.ini.
 * Were you editing the right part of the file? Did you create a duplicate entry in php.ini? Add new settings to the end of LocalSettings.php, not to the beginning.
 * If you created a .htaccess, are you sure AllowOverrides is on? Ask your hosting provider.

I have a question not answered here. Where do I go next?
If you've exhausted the FAQ above, please try the following:


 * Check the other sources of help on this site
 * Search the rest of this site
 * Search older documentation archived on Meta; Useful developer documentation remains on Meta.wikimedia.org in the category Pages to be exported to MediaWiki.org until the m:Meta:MetaProject to transfer content to MediaWiki.org completes
 * Search the web
 * Dig into the source
 * See the section below for information on how to contact developers and other knowledgeable users.

Still no luck. Where can I ask for help?

 * Post a message at Project:Support desk
 * Email the mediawiki-l mailing list (try and search the archive first).
 * Ask the developers in our IRC channel.

Recommended reading

 * Asking smart questions
 * Effective bug reporting
 * Getting help on IRC
 * Books about MediaWiki