Extension:Cite/th
![]() Release status: stable |
|
---|---|
![]() |
|
Implementation | Tag |
Description | Allows footnotes for citing sources and helps for correctly citing content in offline media |
Author(s) | Ævar Arnfjörð Bjarmasonคุย |
Latest version | continuous updates |
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 |
|
|
Quarterly downloads | 1,786 (Ranked 4th) |
Public wikis using | 14,146 (Ranked 6th) |
Translate the Cite extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
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.
Installation
- ดาวน์โหลดและวางไฟล์ลงในไดเร็กทอรีที่ชื่อ
Cite
ในโฟลเดอร์extensions/
ของคุณ - เฉพาะเมื่อติดตั้งจาก Git รัน Composer เพื่อติดตั้ง PHP dependencies โดยการสร้าง
composer install --no-dev
ในไดเรคทอรีของส่วนขยาย (ดูที่ task T173141 สำหรับการขยายความ) - เพิ่มโค้ดต่อไปนี้ไว้ที่ด้านล่างของ
LocalSettings.php
ของคุณ:wfLoadExtension( 'Cite' );
- Configure as required.
สำเร็จ – ตรวจสอบที่ Special:Version บนวิกิของคุณเพื่อตรวจการติดตั้งส่วนขยาย
การติดตั้งโดยใช้ Vagrant:
- หากคุณใช้ Vagrant สามารถติดตั้งได้โดยใช้
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
ดูเพิ่มเติม
ส่วนขยายมีเดียวิกินี้ถูกใช้ในหนึ่งหรือหลายที่ในโครงการของวิกิมีเดีย นั่นควรจะหมายถึงว่าส่วนขยายนี้มีความเสถียรสูงและทำงานได้ดีพอในเว็ปไซต์ที่มีการเยี่ยมชมมาก ลองดูที่ชื่อของส่วนขยายนี้ในไฟล์การตั้งค่า CommonSettings.php และ InitialiseSettings.php เพื่อดูการติดตั้งว่าอยู่ที่ใด รายการฉบับสมบูรณ์ของส่วนขยายที่ติดตั้งแล้วได้ที่หน้า Special:Version ของวิกิ |
This extension is included in the following packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |