Extension:Cite
وضعیت انتشار: پایدار |
|
|---|---|
![]() |
|
| انجام | Tag |
| توضیحات | Allows footnotes for citing sources and helps for correctly citing content in offline media |
| نویسنده(گان) | Ævar Arnfjörð Bjarmasonبحث |
| آخرین نسخه: | بهروزرسانیهای پیوسته |
| سیاست سازگاری | Snapshots releases along with MediaWiki. Master is not backward compatible. |
| MediaWiki | 1.34+ |
| PHP | 7.0+ |
| مجوز | GNU General Public License 2.0 or later |
| بارگیری | |
| نمونه: | Wikipedia:Footnotes |
|
|
|
|
| Translate the Cite extension if it is available at translatewiki.net | |
| Issues | Open tasks · گزارش یک مشکل |
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.
استفاده
See the help page for using the Cite extension for further information.
نصب
- Download and move the extracted
Citefolder to yourextensions/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
- کد زیر را در انتهای $LocalSettings خودتان اضافه کنید:
wfLoadExtension( 'Cite' );
- Configure as required.
انجام شد – به Special:Version در ویکی خودتان بروید تا مطئمن شوید که افزونه با موفقیت نصب شده است.
Vagrant installation:
- اگر از Vagrant استفاده میکنید، با
vagrant roles enable cite --provisionنصب کنید
پیکربندی
$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.
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" }, ... ]
Limitations
- The pipe trick and other pre-save transforms do not work within footnotes created with this extension.
همچنین ببینید
| این افزونه در یکی یا بیشتر پروژههای ویکیمدیا استفاده شده است. این احتمالاً به این معنی است که افزونه پایدار است و به اندازه کافی برای استفاده توسط وبسایتهای ترافیک-بالا به خوبی کار میکند. برای نام این افزونه در پروندههای پیکربندی CommonSettings.php و InitialiseSettings.php ویکیمدیا بگردید تا جایی که آنها نصب شده را ببینید. یک فهرست کامل از افزونهها نصبشده روی یک ویکی مشخص را میتوان در صفحۀ Special:Version دید. |
| 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/fa
- Tag extensions/fa
- GPL licensed extensions/fa
- Extensions in Wikimedia version control/fa
- APIQuerySiteInfoGeneralInfo extensions/fa
- CommunityConfigurationProvider initList extensions/fa
- ContentHandlerDefaultModelFor extensions/fa
- EditPage::showEditForm:initial extensions/fa
- GetPreferences extensions/fa
- MakeGlobalVariablesScript extensions/fa
- ParserAfterParse extensions/fa
- ParserClearState extensions/fa
- ParserCloned extensions/fa
- ParserFirstCallInit extensions/fa
- ResourceLoaderGetConfigVars extensions/fa
- ResourceLoaderRegisterModules extensions/fa
- UserGetDefaultOptions extensions/fa
- All extensions/fa
- Extensions bundled with MediaWiki 1.21/fa
- Extensions used on Wikimedia/fa
- Extensions included in BlueSpice/fa
- Extensions included in Canasta/fa
- Extensions available as Debian packages/fa
- Extensions included in Fandom/fa
- Extensions included in Miraheze/fa
- Extensions included in MyWikis/fa
- Extensions included in ProWiki/fa
- Extensions included in semantic::core/fa
- Extensions included in ShoutWiki/fa
- Extensions included in Telepedia/fa
- Extensions included in wiki.gg/fa
- Extensions included in WikiForge/fa
- Referencing extensions/fa
- Extensions with VisualEditor support/fa

