Extensão: Cite
Estado de lançamento: estável |
|
|---|---|
![]() |
|
| Implementação | Etiqueta |
| Descrição | Allows footnotes for citing sources and helps for correctly citing content in offline media |
| Autor(es) | Ævar Arnfjörð Bjarmasondiscussão |
| Última versão | Atualizações contínuas |
| Política de compatibilidade | Lançamentos de capturas de ecrã em conjunto com o MediaWiki. Original não é compatível com as versões anteriores. |
| MediaWiki | 1.34+ |
| PHP | 7.0+ |
| Licença | GNU - Licença Pública Geral 2.0 ou superior |
| Transferência | |
| Exemplo | Wikipedia:Footnotes |
|
|
|
|
| Traduza a extensão Cite se esta estiver disponível em translatewiki.net | |
| Problemas | Tarefas em aberto · Reportar um erro |
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.
Utilização
See the help page for using the Cite extension for further information.
Instalação
- Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado
Cite, na sua pastaextensions/.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
- Acrescente o seguinte código ao fundo do ficheiro $LocalSettings:
wfLoadExtension( 'Cite' );
- Configure conforme necessário.
Pronto – Na página especial Special:Version da sua wiki verifique se a extensão foi instalada.
Vagrant installation:
- Se estiver a utilizar Vagrant, instale com
vagrant roles enable cite --provision
Configuração
$wgCiteBookReferencing
Enables an experimental feature for sub-references when set to true, see the help page. Valor predefinido: false
$wgCiteResponsiveReferences
Default setting for responsive display of references.
When set to true, the references section will be displayed in multiple columns.
Consulte a documentação de utilização.
Valor predefinido: 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.
Valor predefinido: 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.
Exemplo:
[ { "name": "web", "icon": "browser", "template": "Cite web" }, ... ]
Limitações
- The pipe trick and other pre-save transforms do not work within footnotes created with this extension.
Consultar também
| Este extensão está a ser utilizado em um ou mais projetos da Wikimedia. Isso provavelmente significa que a extensão é estável e funciona bem o suficiente para ser usada por esses sites de alto tráfego. Procure o nome desta extensão nos arquivos de configuração CommonSettings.php e InitialiseSettings.php da Wikimedia para ver onde está instalado. Uma lista completa das extensões instaladas em um determinado wiki pode ser vista na página Special:Version do 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/pt
- Tag extensions/pt
- GPL licensed extensions/pt
- Extensions in Wikimedia version control/pt
- APIQuerySiteInfoGeneralInfo extensions/pt
- CommunityConfigurationProvider initList extensions/pt
- ContentHandlerDefaultModelFor extensions/pt
- EditPage::showEditForm:initial extensions/pt
- GetPreferences extensions/pt
- MakeGlobalVariablesScript extensions/pt
- ParserAfterParse extensions/pt
- ParserClearState extensions/pt
- ParserCloned extensions/pt
- ParserFirstCallInit extensions/pt
- ResourceLoaderGetConfigVars extensions/pt
- ResourceLoaderRegisterModules extensions/pt
- UserGetDefaultOptions extensions/pt
- All extensions/pt
- Extensions bundled with MediaWiki 1.21/pt
- Extensions used on Wikimedia/pt
- Extensions included in BlueSpice/pt
- Extensions included in Canasta/pt
- Extensions available as Debian packages/pt
- Extensions included in Fandom/pt
- Extensions included in Miraheze/pt
- Extensions included in MyWikis/pt
- Extensions included in ProWiki/pt
- Extensions included in semantic::core/pt
- Extensions included in ShoutWiki/pt
- Extensions included in Telepedia/pt
- Extensions included in wiki.gg/pt
- Extensions included in WikiForge/pt
- Referencing extensions/pt
- Extensions with VisualEditor support/pt

