Plėtinys:CiteThisPage
CiteThisPage Release status: stable |
|
---|---|
Implementation | Special page |
Description | Adds a special page that provides different citation formats for a particular article |
Author(s) |
|
Latest version | nuolatiniai atnaujinimai |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.36+ |
License | GNU General Public License 2.0 or later |
Download | |
|
|
Quarterly downloads | 69 (Ranked 72nd) |
Public wikis using | 1,524 (Ranked 197th) |
Translate the CiteThisPage extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
The CiteThisPage extension, previously known as SpecialCite.php
, is an extension that creates a special page (Special:CiteThisPage) and toolbox link to it for pages in the main namespace.
Given an article name, this extension generates citations to it in a variety of styles.
Įdiegimas
- Download and move the extracted
CiteThisPage
folder 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/CiteThisPage - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'CiteThisPage' );
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Pavyzdys
- Vikipedija anglų k.
w:Special:CiteThisPage/Train provides citation info about the article w:Train, in the format specified by the local English MediaWiki file w:MediaWiki:Citethispage-content
Each normal page (current version only) has a sidebar link to that special page, in addition to the link "permanent link".
The citing style it uses is customizable from the MediaWiki namespace (MediaWiki:Citethispage-content), for instance:
* ''{{FULLPAGENAME}}'' (last modified {{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}} UTC).
{{SITENAME}}, {{int:sitesubtitle}}. Retrieved <citation>{{CURRENTTIME}}, {{CURRENTDAY}} {{CURRENTMONTHNAME}}
{{CURRENTYEAR}}</citation> from {{fullurl:{{FULLPAGENAME}}|oldid={{REVISIONID}}}}
Might produce:
- Main Page (last modified 02:47, 26 November 2005 UTC). Wikipedia, The Free Encyclopedia. Retrieved 21:14, 26 November 2005 from https://en.wikipedia.org/w/index.php?title=Main_Page&oldid=10403
Variables
The parser variables e.g. {{CURRENTTIME}}, {{CURRENTMONTH}} etc. will display the time of the last edit to the requested page, to get the current time use <citation>
, e.g. <citation>{{CURRENTTIME}}</citation>
.
See also
This extension is being used on one or more Wikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia's CommonSettings.php and InitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
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. |
- Extensions bundled with MediaWiki 1.25/lt
- Stable extensions/lt
- Special page extensions/lt
- GPL licensed extensions/lt
- Extensions in Wikimedia version control/lt
- SidebarBeforeOutput extensions/lt
- All extensions/lt
- Extensions used on Wikimedia/lt
- Extensions included in BlueSpice/lt
- Extensions included in Canasta/lt
- Extensions available as Debian packages/lt
- Extensions included in Miraheze/lt
- Extensions included in MyWikis/lt
- Extensions included in ProWiki/lt
- Extensions included in semantic::core/lt
- Extensions included in wiki.gg/lt
- Extensions included in WikiForge/lt
- Referencing extensions/lt