This extension
comes with MediaWiki 1.25and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
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.
CiteThisPage
folder to your extensions/
directory.cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
wfLoadExtension( 'CiteThisPage' );
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:
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>
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4