Compdigitec Labs

« | Home | »

Enabling and in MediaWiki

By admin | September 14, 2008

If you have a MediaWiki installation and decide to make it Wikipedia-like, you will find that the <ref> tags and the <references /> tags don’t work like they do in Wikipedia. Below is a screenshot of the citation tags not working:
MediaWiki 1.12 without the Cite extension

To fix this problem, you need to install the Cite extenstion for MediaWiki. Below is a step-by-step guide to installing the Cite extension:

  1. Download the Cite extension – ZIP format, RAR format or 7zip format.
  2. Extract it to a temporary location.
  3. Upload the “Cite” folder to your extensions folder.
  4. Edit LocalSettings.php and add:
    require_once( $IP.'/extensions/Cite/Cite.php' );

    after the line

    require_once( "$IP/includes/DefaultSettings.php" );
  5. Now refresh the page and try again!

If you found this article helpful, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more interesting articles!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: (X)HTML, Internet | 3 Comments »

3 Responses to “Enabling and in MediaWiki”

  1. Setting up a Wikipedia clone (part 2) at Compdigitec Labs Says:
    September 28th, 2008 at 07:12

    […] Install the Cite extension to enable <ref> and <references />. […]

  2. Bernhard Kleine Says:
    February 22nd, 2011 at 04:06

    works like a charm!

    Thank you very much!

  3. where to buy weed in venice Says:
    November 5th, 2024 at 18:45

    … [Trackback]

    […] Read More here on that Topic: compdigitec.com/labs/2008/09/14/enabling-and-in-mediawiki/ […]

Comments