Extension:Cite/pt
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
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 as required.
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
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
.
Limitations
- The pipe trick and other pre-save transforms do not work within footnotes created with this extension.
Consulte 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:
|