<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.micylou.com/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_Extension_Semantic_Mediawiki</id>
	<title>Mediawiki Extension Semantic Mediawiki - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.micylou.com/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_Extension_Semantic_Mediawiki"/>
	<link rel="alternate" type="text/html" href="https://wiki.micylou.com/index.php?title=Mediawiki_Extension_Semantic_Mediawiki&amp;action=history"/>
	<updated>2026-04-06T13:14:42Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.micylou.com/index.php?title=Mediawiki_Extension_Semantic_Mediawiki&amp;diff=1217&amp;oldid=prev</id>
		<title>DochyJP: Page creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.micylou.com/index.php?title=Mediawiki_Extension_Semantic_Mediawiki&amp;diff=1217&amp;oldid=prev"/>
		<updated>2022-03-04T08:32:06Z</updated>

		<summary type="html">&lt;p&gt;Page creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Template Infobox Generic--&amp;gt;&lt;br /&gt;
{{Template:Class-Infobox-Generic&amp;lt;!-- ALL MUST BE FILLED IN --&amp;gt;&lt;br /&gt;
	|image = &amp;lt;!-- If an logo is required, enter the link here --&amp;gt;&lt;br /&gt;
	|Section = [[Section::{{PAGENAME}}]]&lt;br /&gt;
	|Source = [[Source::DataSource]]  &amp;lt;!-- [[Source::DataSource]], [[Source::Query]] ... --&amp;gt;&lt;br /&gt;
	|Language = [[Language::English]] &amp;lt;!-- [[Language::English]], [[Language::Français]], [[Language::Nederlands]] --&amp;gt;&lt;br /&gt;
	|Topic =  [[Topic::Mediawiki]] &amp;lt;!-- [[Topic::Mediawiki]], [[Subject::Microsoft]], ... --&amp;gt;&lt;br /&gt;
	|SubTopic = [[SubTopic::Mediawiki Extension]] &amp;lt;!-- [[SubTopic::Mediawiki Extension]], [[SubTopic::Office 365]] , ... --&amp;gt;&lt;br /&gt;
        |DocumentType =  [[DocumentType::Documentation]] &amp;lt;!-- [[DocumentType::User Guide]], [[DocumentType::Procedure]], [[DocumentType::Script]], [[DocumentType::Gallery]], ...--&amp;gt;&lt;br /&gt;
	|LastEditBy = [[LastEditBy::{{REVISIONUSER}}]] &lt;br /&gt;
	|LastEdit = [[LastEdit::{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY2}}]] &lt;br /&gt;
	|Status = [[Status::Active]] &amp;lt;!--[[Status::Active]]  [[Status::Development]] [[Status::Obsolete]] [[Status::Archived]] [[Status::To Delete]]--&amp;gt;&lt;br /&gt;
	|Access = [[Access::free]] &amp;lt;!--[[Access::free]] [[Access::Private]] [[Access::Subscription]] --&amp;gt;&lt;br /&gt;
	&amp;lt;!-- Template version 1.01 --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;!-- End of Template Infobox Generic--&amp;gt;&lt;br /&gt;
== Pre-requisite ==&lt;br /&gt;
Composer needs to be installed and available first. Information about Composer installation is available [[Install/upgrade/Downgrade Composer|here]].&lt;br /&gt;
== Installation ==&lt;br /&gt;
Since you should already have composer installed, you can do this by running composer in the top-level MediaWiki directory. Assuming you have composer.phar in that directory, the following command will work:&lt;br /&gt;
&amp;lt;pre&amp;gt;COMPOSER=composer.local.json php composer.phar require --no-update mediawiki/semantic-media-wiki &amp;lt;/pre&amp;gt;&lt;br /&gt;
Alternatively, if the above fails, you can add the following content to your composer.local.json file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;require&amp;quot;: {&lt;br /&gt;
                  &amp;quot;mediawiki/semantic-media-wiki&amp;quot;: &amp;quot;~4.0&amp;quot;&lt;br /&gt;
        }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now run the following command from the base directory1 of your MediaWiki installation:&lt;br /&gt;
&amp;lt;/pre&amp;gt;composer update --no-dev&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Enabling Semantic Mediawiki ==&lt;br /&gt;
Add a call to wfLoadExtension() as well as enableSemantics() to the end of the &amp;quot;LocalSettings.php&amp;quot; file. &amp;lt;br&amp;gt;&lt;br /&gt;
enableSemantics() takes in the domain name of the wiki; a wiki located at &amp;quot;example.org&amp;quot;, for instance, should have the following call:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wfLoadExtension( 'SemanticMediaWiki' );&lt;br /&gt;
enableSemantics( 'example.org' );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Setup and update ==&lt;br /&gt;
Run MediaWiki'S &amp;quot;update.php&amp;quot; script from the base directory1 of your MediaWiki installation:&lt;br /&gt;
&amp;lt;pre&amp;gt;php maintenance/update.php&amp;lt;/pre&amp;gt;&lt;br /&gt;
== Verify ==&lt;br /&gt;
Check the &amp;quot;Special:Version&amp;quot; page on your wiki and verify that the extension has been successfully installed and enabled. &lt;br /&gt;
== Testing ==&lt;br /&gt;
Create a regular wiki page named &amp;quot;TestSMW&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
Before saving, enter the following wiki text within the edit field:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        Property test: [[Property name::Property value]]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Now save the page and you will see the following displayed on the page:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Property test: Property value&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Navigate to special page &amp;quot;Special:Browse&amp;quot; by clicking on the link &amp;quot;Browse properties&amp;quot; in the &amp;quot;tools&amp;quot; section of your wiki's sidebar.&amp;lt;br&amp;gt;&lt;br /&gt;
On this special page you will see:&lt;br /&gt;
::the property &amp;quot;Propery name&amp;quot; and the value &amp;quot;Propery value&amp;quot;, both in red&amp;lt;br&amp;gt;&lt;br /&gt;
::the special property &amp;quot;Modification date&amp;quot; in blue and italics as well as the value e.g. &amp;quot;5 February 2014 23:42:29&amp;quot; (the timestamp when the page was saved).&lt;br /&gt;
&lt;br /&gt;
Semantic MediaWiki was successfully tested!&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>DochyJP</name></author>
	</entry>
</feed>