{"id":42,"date":"2008-09-14T10:06:36","date_gmt":"2008-09-14T14:06:36","guid":{"rendered":"http:\/\/www.compdigitec.com\/labs\/?p=42"},"modified":"2008-09-14T10:06:36","modified_gmt":"2008-09-14T14:06:36","slug":"enabling-and-in-mediawiki","status":"publish","type":"post","link":"http:\/\/www.compdigitec.com\/labs\/2008\/09\/14\/enabling-and-in-mediawiki\/","title":{"rendered":"Enabling <ref> and <references \/> in MediaWiki"},"content":{"rendered":"<p>If you have a MediaWiki installation and decide to make it Wikipedia-like, you will find that the &lt;ref&gt; tags and the &lt;references \/&gt; tags don&#8217;t work like they do in Wikipedia. Below is a screenshot of the citation tags not working:<br \/>\n<img decoding=\"async\" style=\"width: 674px; height: 418px;\" title=\"MediaWiki 1.12 without the Cite extension\" src=\"\/images\/labs\/mediawiki-12-nocite.png\" alt=\"MediaWiki 1.12 without the Cite extension\" \/><\/p>\n<p>To fix this problem, you need to install the <a rel=\"nofollow\" href=\"http:\/\/www.mediawiki.org\/wiki\/Extension:Cite\/Cite.php\">Cite extenstion for MediaWiki<\/a>. Below is a step-by-step guide to installing the Cite extension:<\/p>\n<ol>\n<li>Download the Cite extension &#8211; <a href=\"\/labs\/files\/cite40816.zip\">ZIP format<\/a>, <a href=\"\/labs\/files\/cite40816.rar\">RAR format<\/a> or <a href=\"\/labs\/files\/cite40816.7z\">7zip format<\/a>.<\/li>\n<li>Extract it to a temporary location.<\/li>\n<li>Upload the &#8220;Cite&#8221; folder to your extensions folder.<\/li>\n<li>Edit LocalSettings.php and add:\n<pre>require_once( $IP.'\/extensions\/Cite\/Cite.php' );<\/pre>\n<p>after the line<\/p>\n<pre>require_once( \"$IP\/includes\/DefaultSettings.php\" );<\/pre>\n<\/li>\n<li>Now refresh the page and try again!<\/li>\n<\/ol>\n<p>If you found this article helpful, please help Compdigitec spread the word. Don&#8217;t forget to <a href=\"\/labs\/feed\/\">subscribe<\/a> to Compdigitec Labs for more interesting articles!<\/p>","protected":false},"excerpt":{"rendered":"<p>If you have a MediaWiki installation and decide to make it Wikipedia-like, you will find that the &lt;ref&gt; tags and the &lt;references \/&gt; tags don&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,14],"tags":[205,203,206,207,204,208],"_links":{"self":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/42"}],"collection":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":0,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.compdigitec.com\/labs\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}