Jump to content

Plėtinys:Cite

From mediawiki.org
This page is a translated version of the page Extension:Cite and the translation is 65% complete.
Outdated translations are marked like this.
Šis puslapis yra plėtinio dokumentacija. Kaip juo naudotis, skaitykite išnašų ir citavimo pagalbos puslapius.
MediaWiki extensions manual
Cite
Release status: stable
Implementation Tag
Description Leidžia naudoti išnašas šaltiniams cituoti ir padeda tinkamai nurodyti turinį neprisijungus
Author(s) Ævar Arnfjörð Bjarmasonaptarimas
Latest version Nuolatiniai atnaujinimai
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.34+
PHP 7.0+
License GNU General Public License 2.0 or later
Download
Example Wikipedia:Footnotes
  • $wgCiteDefaultBacklinkAlphabet
  • $wgCiteReferencePreviewsConflictingNavPopupsGadgetName
  • $wgCiteResponsiveReferencesThreshold
  • $wgCiteResponsiveReferences
  • $wgCiteSubReferencing
  • $wgCiteBacklinkCommunityConfiguration
  • $wgCiteReferencePreviews
  • $wgCiteUseLegacyBacklinkLabels
  • $wgCiteVisualEditorOtherGroup
  • $wgCiteReferencePreviewsConflictingRefTooltipsGadgetName
Translate the Cite extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

Cite plėtinys leidžia naudotojui puslapyje sukurti išnašas nuorodų pavidalu. Jis prie MediaWiki prideda dvi analizavimo gaudykles, ‎<ref> ir ‎<references />, skirtas citavimui puslapyje.

Naudojimas

Daugiau apie plėtinio naudojimą skaitykite pagalbos puslapyje.

Įdiegimas

This extension comes with MediaWiki 1.21 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • Download and move the extracted Cite folder to your extensions/ 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
    
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'Cite' );
    
  • Sukonfigūruokite pagal poreikį.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Vagrant installation:

  • If using Vagrant , install with vagrant roles enable cite --provision

Konfigūracija

$wgCiteBookReferencing

Įjungia antrinių nuorodų eksperimentinę funkciją, kai reikšmė nustatyta true, skaitykite pagalbos puslapį. Numatytoji reikšmė: false

$wgCiteResponsiveReferences

Numatytasis reaguojančio nuorodų rodymo nustatymas. Kai nustatyta true, nuorodų skyrius bus atvaizduotas keliais stulpeliais. Skaitykite naudojimo dokumentaciją. Numatytoji reikšmė: true

$wgCiteVisualEditorOtherGroup

Kai reikšmė nustatyta true, įrankių juostos mygtukas Cituoti gali būti perkeltas į Įterpimo meniu. Naudojamas Wikivoyage puslapiuose. Skaitykite apie pradinį funkcijos prašymą. Numatytoji reikšmė: 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" }, ... ]

(From: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Cite/+/refs/heads/REL1_44/modules/ve-cite/ve.ui.MWReference.init.js#64)

Limitations

Taip pat skaitykite