Extension:Cite

From mediawiki.org
This page is a translated version of the page Extension:Cite and the translation is 30% complete.
This page documents the extension. For how to use it, see help on footnotes and help on citing.
To rozszerzenie jest dodawane do pakietu MediaWiki od wersji 1.21 i wyższych. W związku z tym nie musi być ponownie pobierane. Niemniej jednak wciąż musisz wykonać inne podane instrukcje.
Podręcznik rozszerzeń MediaWiki
Cite
Status wydania: stabilne
Realizacja Znaczniki
Opis Allows footnotes for citing sources and helps for correctly citing content in offline media
Autor(zy) Ævar Arnfjörð Bjarmasondyskusja
Ostatnia wersja continuous updates
Polityka zgodności Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.34+
PHP 7.0+
Licencja GNU General Public License 2.0 or later
Pobieranie
Przykład Wikipedia:Footnotes
  • $wgCiteResponsiveReferences
  • $wgCiteBookReferencing
  • $wgCiteVisualEditorOtherGroup
Quarterly downloads 308 (Ranked 20th)
Public wikis using 14,146 (Ranked 6th)
Przetłumacz rozszerzenie Cite jeżeli jest dostępne na translatewiki.net
Problemy Otwarte zadania · Zgłoś błąd

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.

Użycie

See the help page for using the Cite extension for further information.

Instalacja

  • Pobierz i umieść plik(i) w katalogu o nazwie Cite w folderze extensions/.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
  • Dodaj poniższy kod na dole twojego pliku LocalSettings.php :
    wfLoadExtension( 'Cite' );
    
  • Configure as required.
  • Yes Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.


Instalacja Vagranta:

  • Jeżeli korzystasz z Vagrant a, zainstaluj poprzez vagrant roles enable cite --provision

Konfiguracja

$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. Zobacz dokumentację użycia. Domyślna wartość: 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.

Zobacz też