 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cheekyfactor.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki_Composer_extensions</id>
	<title>MediaWiki Composer extensions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cheekyfactor.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki_Composer_extensions"/>
	<link rel="alternate" type="text/html" href="https://cheekyfactor.com/index.php?title=MediaWiki_Composer_extensions&amp;action=history"/>
	<updated>2026-06-27T17:42:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://cheekyfactor.com/index.php?title=MediaWiki_Composer_extensions&amp;diff=201&amp;oldid=prev</id>
		<title>Garyf: Created page with &quot;{{Header |Status=Resolved |PubDate=2018-08-04 |Categories=Developer, Open source, Web |The problem=With certain extensions using MediaWiki you may need to use composer. Two examples are Semantic Compound Queries and Maps. This example is using Windows Server 2012 R2 running WAMPserver. Obviously you will need to have [https://getcomposer.org/ composer] installed in the PHP version you are using. }} {{How to guide |Device=Server |Operating system=Windows |Software=MediaWi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://cheekyfactor.com/index.php?title=MediaWiki_Composer_extensions&amp;diff=201&amp;oldid=prev"/>
		<updated>2023-11-02T22:12:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Header |Status=Resolved |PubDate=2018-08-04 |Categories=Developer, Open source, Web |The problem=With certain extensions using MediaWiki you may need to use composer. Two examples are Semantic Compound Queries and Maps. This example is using Windows Server 2012 R2 running WAMPserver. Obviously you will need to have [https://getcomposer.org/ composer] installed in the PHP version you are using. }} {{How to guide |Device=Server |Operating system=Windows |Software=MediaWi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Header&lt;br /&gt;
|Status=Resolved&lt;br /&gt;
|PubDate=2018-08-04&lt;br /&gt;
|Categories=Developer, Open source, Web&lt;br /&gt;
|The problem=With certain extensions using MediaWiki you may need to use composer. Two examples are Semantic Compound Queries and Maps. This example is using Windows Server 2012 R2 running WAMPserver. Obviously you will need to have [https://getcomposer.org/ composer] installed in the PHP version you are using.&lt;br /&gt;
}}&lt;br /&gt;
{{How to guide&lt;br /&gt;
|Device=Server&lt;br /&gt;
|Operating system=Windows&lt;br /&gt;
|Software=MediaWiki, Composer&lt;br /&gt;
|Guidance=To install this using composer open the compose.json in the root of the Wiki.&lt;br /&gt;
&lt;br /&gt;
You will see a lot of code like this:&lt;br /&gt;
[[File:Composerjson file.png|alt=A sample of the MediaWiki composer.json file|none|frame|A sample of the MediaWiki composer.json file]]&lt;br /&gt;
Find the line:&lt;br /&gt;
 “mediawiki/semantic-media-wiki”: “~2.5”&lt;br /&gt;
In the example for Semantic Compound Queries the extension page tells you to add the code:&lt;br /&gt;
 {&lt;br /&gt;
     &amp;quot;require&amp;quot;: {&lt;br /&gt;
         &amp;quot;mediawiki/semantic-compound-queries&amp;quot;: &amp;quot;~1.1&amp;quot;&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
But in reality, we are only interested adding&lt;br /&gt;
 “mediawiki/semantic-compound-queries”: “~1.1”&lt;br /&gt;
Add this line above the Semantic MediaWiki line:&lt;br /&gt;
 “mediawiki/semantic-compound-queries”: “~1.1”,&lt;br /&gt;
Note, we now have a comma on the end of the line, this is key:&lt;br /&gt;
&lt;br /&gt;
Save and close the composer.json file.&lt;br /&gt;
&lt;br /&gt;
If you have already been running commands in the command prompt, and crucially if you have set the path anywhere, close the command prompt and reopen it.&lt;br /&gt;
&lt;br /&gt;
Change the directory to the root of your Wiki and run:&lt;br /&gt;
 php composer.phar update&lt;br /&gt;
Then run:&lt;br /&gt;
 php composer.phar require mediawiki/semantic-compound-queries:~1.1&lt;br /&gt;
Obviously replace the semantic compound queries as detailed on the extensions page on MediaWiki.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Garyf</name></author>
	</entry>
</feed>