Estensione:Cite
Stato della release: stabile |
|
|---|---|
![]() |
|
| Implementazione | Etichetta |
| Descrizione | Allows footnotes for citing sources and helps for correctly citing content in offline media |
| Autore(i) | Ævar Arnfjörð Bjarmasondiscussione |
| Versione | Continuous updates |
| Politica di compatibilità | Snapshots releases along with MediaWiki. Master is not backward compatible. |
| MediaWiki | 1.34+ |
| PHP | 7.0+ |
| Licenza | GNU General Public License 2.0 or later |
| Scaricare | |
| Esempio | Wikipedia:Footnotes |
|
|
|
|
| Traduci l'estensione Cite se è disponibile su translatewiki.net | |
| Problemi | Compiti aperti · Riportare un bug |
The Cite extension allows a user to create references as footnotes on a page.
It adds two parser hooks to MediaWiki, <ref> and <references />; these operate together to add citations to pages.
Usage
Vedere la pagina Utilizzare l'estensione Cite per informazioni aggiuntive.
Installazione
- Download and move the extracted
Citefolder to yourextensions/directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
- Aggiungi il seguente codice al tuo $LocalSettings (preferibilmente alla fine):
wfLoadExtension( 'Cite' );
- Configure as required.
Done – Naviga in Special:Version nella tua wiki per verificare che l'estensione sia stata installata correttamente.
Vagrant installation:
- Se stai usando Vagrant, installa con
vagrant roles enable cite --provision
Configuration
$wgCiteBookReferencing
Enables an experimental feature for sub-references when set to true, see the help page. Default value: false
$wgCiteResponsiveReferences
Default setting for responsive display of references.
When set to true, the references section will be displayed in multiple columns.
See the usage documentation.
Default value: true
$wgCiteVisualEditorOtherGroup
When set to true, the Cite toolbar button can be moved under the Insert menu. This is used on Wikivoyage sites. See the original feature request.
Default value: false.
By adding a definition in JSON to MediaWiki:Cite-tool-definition.json, the cite menu can be populated with tools that create references containing specific templates.
The content of the definition should be an array containing a series of objects, one for each tool.
Each object must contain name, icon, template properties.
An optional title property can also be used to define the tool title in plain text.
The name property is a unique identifier for the tool, and also provides a fallback title for the tool by being transformed into a message key.
The name is prefixed with visualeditor-cite-tool-name-, and messages can be defined on Wiki.
Some common messages are pre-defined for tool names such as web, book, news, journal.
Example:
[ { "name": "web", "icon": "browser", "template": "Cite web" }, ... ]
Limitations
- The pipe trick and other pre-save transforms do not work within footnotes created with this extension.
Vedi anche
| Questa estensione viene utilizzata su uno o più progetti Wikimedia. Ciò probabilmente significa che l'estensione è stabile e funziona abbastanza bene da essere utilizzata da siti Web ad alto traffico. Cerca il nome di questa estensione nei file di configurazione CommonSettings.php e InitialiseSettings.php di Wikimedia per vedere dove è installato. Un elenco completo delle estensioni installate su un particolare wiki può essere visto sulla pagina Special:Version del wiki. |
| This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
- Stable extensions/it
- Tag extensions/it
- GPL licensed extensions/it
- Extensions in Wikimedia version control/it
- APIQuerySiteInfoGeneralInfo extensions/it
- CommunityConfigurationProvider initList extensions/it
- ContentHandlerDefaultModelFor extensions/it
- EditPage::showEditForm:initial extensions/it
- GetPreferences extensions/it
- MakeGlobalVariablesScript extensions/it
- ParserAfterParse extensions/it
- ParserClearState extensions/it
- ParserCloned extensions/it
- ParserFirstCallInit extensions/it
- ResourceLoaderGetConfigVars extensions/it
- ResourceLoaderRegisterModules extensions/it
- UserGetDefaultOptions extensions/it
- All extensions/it
- Extensions bundled with MediaWiki 1.21/it
- Extensions used on Wikimedia/it
- Extensions included in BlueSpice/it
- Extensions included in Canasta/it
- Extensions available as Debian packages/it
- Extensions included in Fandom/it
- Extensions included in Miraheze/it
- Extensions included in MyWikis/it
- Extensions included in ProWiki/it
- Extensions included in semantic::core/it
- Extensions included in ShoutWiki/it
- Extensions included in Telepedia/it
- Extensions included in wiki.gg/it
- Extensions included in WikiForge/it
- Referencing extensions/it
- Extensions with VisualEditor support/it

