Extensão:Cite
Estado da versão: estável |
|
|---|---|
![]() |
|
| Implementação | Marcação |
| Descrição | Permite notas de rodapé para citar fontes e ajuda para conteúdo citando corretamente em mídias offline |
| Autor(es) | Ævar Arnfjörð Bjarmasondiscussão |
| Última versão | Atualizações contínuas |
| Política de compatibilidade |
Lançamentos de snapshot junto com o MediaWiki. A master não é retrocompatível. |
| MediaWiki | 1.34+ |
| PHP | 7.0+ |
| Modifica o banco de dados |
Não |
|
|
|
|
| Licença | GNU GPL (Licença Pública Geral) 2.0 ou superior |
| Download | |
| Exemplo | Wikipedia:Footnotes |
| Para traduzir a extensão Cite, verifique sua disponibilidade no translatewiki.net | |
| Problemas | Tarefas em aberto · Relatar um bug |
A extensão Cite permite um usuário criar referências como notas de rodapé em uma página.
Isso adiciona dois parser hooks para o MediaWiki, <ref> e <references>; eles operam juntos para adicionar citações às páginas.
Uso
Veja a página de ajuda em Ajuda:Extensão:Cite para mais informações.
Instalação
- Baixe e mova a pasta extraída
Citeao seu diretórioextensions/.
Desenvolvedores e colaboradores de código, por outro lado, deverão instalar a extensão a partir do Git, usando:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
- Adicione o seguinte código ao final do seu arquivo LocalSettings.php:
wfLoadExtension( 'Cite' );
- Configure como solicitado.
Concluído – Navegue à página Special:Version em sua wiki para verificar se a instalação da extensão foi bem sucedida.
Instalação com o Vagrant:
- Se estiver usando o Vagrant, instale com
vagrant roles enable cite --provision
Configuração
| Name | Description | Default |
|---|---|---|
$wgCiteSubReferencing
|
Ativa uma melhora experimental para sub-referências quando ajustado para true, veja o help page
|
false
|
$wgCiteReferencePreviews
|
Enables Reference Previews when Extensão:Popups is installed and set to true
|
true
|
$wgCiteReferencePreviewsConflictingRefTooltipsGadgetName
|
The local Reference Tooltips gadget name used as its identifier in MediaWiki:Gadgets-definition.
This gadget is incompatible with reference previews. Reference previews will disable themselves for users with the gadget enabled. |
|
$wgCiteResponsiveReferences
|
Configuração padrão para display de referências responsivo.
Quando configurado para |
true
|
$wgCiteVisualEditorOtherGroup
|
Quando ajustado para true, o botão da barra de citação pode ser movida para baixo do Insert Menu Também pode ser utilizado nos sites do Wikivoyage Veja também original feature request.
|
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, map.
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.
Ver também
| Esta extensão está sendo usada(o) por um ou mais projetos da Wikimedia. Isto significa que, provavelmente, a extensão é estável e funciona bem o suficiente para ser utilizada(o) em sites da web de alto tráfego. Procure pelo nome dessa extensão nos arquivos de configuração CommonSettings.php e InitialiseSettings.php da Wikimedia para verificar onde ela foi instalada. Uma lista completa das extensões instaladas numa wiki em particular podem ser visualizadas na página Special:Version da wiki. |
| Esta extensão está incluída nas seguintes fazendas/hospedagens (farms/hosts) e/ou pacotes wiki: |
- Stable extensions/pt-br
- Tag extensions/pt-br
- APIQuerySiteInfoGeneralInfo extensions/pt-br
- CommunityConfigurationProvider initList extensions/pt-br
- ContentHandlerDefaultModelFor extensions/pt-br
- EditPage::showEditForm:initial extensions/pt-br
- GetPreferences extensions/pt-br
- MakeGlobalVariablesScript extensions/pt-br
- ParserAfterParse extensions/pt-br
- ParserClearState extensions/pt-br
- ParserFirstCallInit extensions/pt-br
- ResourceLoaderGetConfigVars extensions/pt-br
- ResourceLoaderRegisterModules extensions/pt-br
- UserGetDefaultOptions extensions/pt-br
- GPL licensed extensions/pt-br
- Extensions in Wikimedia version control/pt-br
- All extensions/pt-br
- Extensions bundled with MediaWiki 1.21/pt-br
- Extensions used on Wikimedia/pt-br
- Extensions included in BlueSpice/pt-br
- Extensions included in Canasta/pt-br
- Extensions available as Debian packages/pt-br
- Extensions included in Fandom/pt-br
- Extensions included in Miraheze/pt-br
- Extensions included in MyWikis/pt-br
- Extensions included in ProWiki/pt-br
- Extensions included in semantic::core/pt-br
- Extensions included in ShoutWiki/pt-br
- Extensions included in Telepedia/pt-br
- Extensions included in wiki.gg/pt-br
- Referencing extensions/pt-br
- Extensions with VisualEditor support/pt-br

