« SimpleXML – solution for XML manipulation in PHP | Home | Using apt-get in Ubuntu Linux »
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:
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:
- Download the Cite extension – ZIP format, RAR format or 7zip format.
- Extract it to a temporary location.
- Upload the “Cite” folder to your extensions folder.
- Edit LocalSettings.php and add:
require_once( $IP.'/extensions/Cite/Cite.php' );
after the line
require_once( "$IP/includes/DefaultSettings.php" );
- 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 »
September 28th, 2008 at 07:12
[…] Install the Cite extension to enable <ref> and <references />. […]
February 22nd, 2011 at 04:06
works like a charm!
Thank you very much!
November 5th, 2024 at 18:45
… [Trackback]
[…] Read More here on that Topic: compdigitec.com/labs/2008/09/14/enabling-and-in-mediawiki/ […]