Extensión:CiteThisPage

This page is a translated version of the page Extension:CiteThisPage and the translation is 100% complete.
Other languages:
English • ‎Türkçe • ‎español • ‎lietuvių • ‎magyar • ‎svenska • ‎čeština • ‎русский • ‎日本語
See also the Extensión:Cite extension, which is unrelated to this, but used to live in the same repository as CiteThisPage.
This extension comes with MediaWiki 1.25 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
Extensión matemática MediaWiki
OOjs UI icon advanced.svg
CiteThisPage
Estado de lanzamiento estable
Cite This Page MediaWiki plugin.png
Implementación Página especial
Descripción Adds a special page that provides different citation formats for a particular article
Autor(es)
  • Ævar Arnfjörð Bjarmason
  • James D. Forrester
Última versión actualizaciones continuas
Política de compatibilidad Snapshots releases along with MediaWiki. Master is not backwards compatible.
MediaWiki 1.30+
PHP 7.0+
Licencia GNU Licencia Pública general 2.0 o más tarde
Descarga
  • $wgCiteThisPageAdditionalNamespaces
Traduce el CiteThisPage extensión si es disponible en translatewiki.net

Verificar uso y versión de la matriz.

Asuntos Tareas abiertas · Reportar un 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.

Instalación

  • Descarga y extrae los archivos en el directorio «CiteThisPage» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    wfLoadExtension( 'CiteThisPage' );
    
  •   Hecho – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Example

English Wikipedia

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>.