<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jeroens blog &#187; Validator</title>
	<atom:link href="http://blog.bn2vs.com/tag/validator/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bn2vs.com</link>
	<description>Blog of Jeroen De Dauw. The latest news on my open source work and interests.</description>
	<lastBuildDate>Fri, 23 Dec 2011 14:44:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Semantic MediaWiki 1.6 released!</title>
		<link>http://blog.bn2vs.com/2011/07/30/semantic-mediawiki-1-6-released/</link>
		<comments>http://blog.bn2vs.com/2011/07/30/semantic-mediawiki-1-6-released/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 17:29:42 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[GNU GPL]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Semantic Bundle]]></category>
		<category><![CDATA[Semantic MediaWiki]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[SMW]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1103</guid>
		<description><![CDATA[That&#8217;s right, the next big release of Semantic MediaWiki is finally here! A little over a year and six minor releases after SMW 1.5. And a big release it is, packing my improvements and several new features. It has been in the making over the past four months and contains contributions by many people. So [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://semantic-mediawiki.org/"><img class="alignright size-full wp-image-1178" title="Semantic MediaWiki" src="http://blog.bn2vs.com/wp-content/uploads/2011/07/SMW_logo_180px.png" alt="Semantic MediaWiki" width="130" height="130" /></a>That&#8217;s right, the next big release of <a href="http://semantic-mediawiki.org">Semantic MediaWiki</a> is finally here! <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  A little over a year and six minor releases after  SMW 1.5. And a big release it is, packing my improvements and several  new features. It has been in the making over the past four months and contains contributions by many people. So let&#8217;s have a look at all the new awesomeness <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Support for RDF triplestores</strong></p>
<p>Full support added for storing SMW data directly within an RDF triplestore, and for answering  #ask queries based on this data. The communication happens via SPARQL  (1.1), and all SPARQL-capable stores should be supported. The following  settings are needed in LocalSettings.php:</p>
<blockquote><p>$smwgDefaultStore = &#8216;SMWSparqlStore&#8217;;<br />
$smwgSparqlDatabase = &#8216;SMWSparqlDatabase&#8217;;<br />
// The following should be set to the URLs to reach the store:<br />
$smwgSparqlQueryEndpoint = &#8216;http://localhost:8080/sparql/&#8217;;<br />
$smwgSparqlUpdateEndpoint = &#8216;http://localhost:8080/update/&#8217;;<br />
$smwgSparqlDataEndpoint = &#8216;http://localhost:8080/data/&#8217;; // can be empty</p></blockquote>
<p>The specific support that SMW used to have for the RAP RDF store has been discontinued.</p>
<p><strong>The Type namespace has been abolished</strong></p>
<p>Builtin types now are displayed by the special page Special:Types,  and there are no &#8220;custom types&#8221; any longer. By default, the Type  namespace is gone and existing pages in this namespace can no longer be  accessed. This can be changed by setting $smwgHistoricTypeNamespace =  true in LocalSettings.php before including SMW.</p>
<p><strong>Changes to units of measurement</strong></p>
<p>Changed the way in which units of measurement work. Type:Number now  does not accept any units, and a new type &#8220;Quantity&#8221; is used for numbers  with units. Units must be declared on the property page (not on the  Type page as before), and only units that have a declared conversion  factor are accepted.</p>
<p><strong>Type:Record changes</strong></p>
<p>The declaration of Type:Record properties has changed. Instead of a  list of datatypes, the declaration now requires a list of properties  that are to be used for the fields of the record. The declaration is  still done with the property &#8220;has fields&#8221; as before. Properties must not  be used more than once in has_fields, or the order of values will be  random.</p>
<p><strong>Reworked internal data model</strong></p>
<p>Reworked  internal data model, cleaning up and re-implementing SMWDataValue and  all of its subclasses, and introducing new data item classes to handle  data. The class SMWCompatibilityHelpers provides temporary help for  extensions that still depend on the old format and APIs.</p>
<p>This  change is very important compatibility wise, as it removes support for  some older behavior and deprecates a bunch more. Older versions of a lot  of SMW extensions will not work with SMW 1.6. However, since 1.6 has  been in the making for quite some time, most, if not all, of these  extensions have released one or more versions that work just fine with  1.6. So if you stick with the latest releases, you should be good.</p>
<p>There are already 2 SMW extensions that now require SMW version 1.6 or later: <a href="http://mapping.referata.com/wiki/Semantic_Maps">Semantic Maps</a> 1.0 and the new kid in town: <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Watchlist">Semantic Watchlist</a> (<a href="http://blog.bn2vs.com/2011/07/30/new-mediawiki-extension-semantic-watchlist/">see Semantic Watchlist release post</a>).</p>
<p><strong>Result formats make use of Validator</strong></p>
<p>Semantic MediaWiki now makes use of the <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Validator">Validator extension</a> to handle parameters passed to result printers. This opens the door to  numerous awesome new functionality. For one, it allows for better  parameter error feedback to the user. In SMW &lt; 1.6 when you enter a  text value for a numeric parameter, it&#8217;ll simple be ignored (without  giving any warning). With this new approach the user will get a warning  along the lines of &#8220;The value &#8216;foobar&#8217; is not valid for parameter limit,  it must be an integer.&#8221;. Another advantage of using Validator here is  that the query argument GUI on Special:Ask can show more fitting  controls and display default values. A third win, is that writing new  query printers has now become easier, as you just have to specify the  parameters they should accept, and then don&#8217;t have to bother with  cleaning, validating and formatting them. Further things that can be  done with this in the future are automatic generation of documentation  per result format, which would be a huge improvement over the current  documentation and smarter behavior (such as autocompletion and live  validation) in interfaces where the values for these parameters can be  specified.</p>
<p><strong>New DSV format</strong></p>
<p>I added a new result format to SMW that outputs data as UNIX-style  Delimiter Separated Values. For those not familiar with the differences  between DSV and CSV (which was already supported), it comes down to sane  escaping of the delimiter characters. Instead of the weird and hard to  parse approach taken in CSV, the familiar backlashing technique is used  in DSV. You can use this format by adding &#8220;format=dsv&#8221; to any ask query.</p>
<p><strong>New API module for version info</strong></p>
<p>This is a very small feature I added geared towards developers and  the SMW registry tool in particular; it has not relevance to regular end  users. Up until now the SMW registry tool obtained info about SMW  installs by scraping Special:Version, which is a HTML page intended for  humans to look at, and by scraping Special:SemanticStatistics, which is  also a HTML page. Now the info provided by these pages and used by the  SMW registry, ie the version of SMW and the number of properties, users  and pages, can be obtained via the MediaWiki API using action=smwinfo.</p>
<p><strong>New smwdoc parser hook</strong></p>
<p>Similar to the new API module, this new parser hook is not geared to  most end users, but rather to documenters and site admins. This hook  utilizes Validators auto documentation capabilities to display tables  with parameter info, such as name, type, default value and description,  for a specified result format. It&#8217;s in essence a result format oriented  version of Validators more general purpose describe parser  hook. As soon as the SMW documentation wiki updates to 1.6, it&#8217;ll be  possible to use this hook to fill part of the documentation gap there  unfortunately is.</p>
<p><strong>Some noteworthy fixes</strong></p>
<ul>
<li>PostgreSQL support</li>
<li>Output issues in the JSON result format</li>
</ul>
<p>I&#8217;m probably forgetting others here <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Downloads</strong></p>
<ul>
<li><a href="http://sourceforge.net/projects/semediawiki/files/semediawiki/Semantic%20MediaWiki%201.6/SemanticMediaWiki1.6.zip/download">Semantic MediaWiki 1.6 release, zip archive</a></li>
<li><a href="http://sourceforge.net/projects/semediawiki/files/semediawiki/Semantic%20MediaWiki%201.6/SemanticMediaWiki1.6.7z/download">Semantic MediaWiki 1.6 release, 7z archive</a></li>
<li><a href="http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMediaWiki/REL_1_5_6/">Semantic MediaWiki 1.6 release, svn tag</a></li>
<li><a href="http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SemanticMediaWiki/">Semantic MediaWiki, svn trunk</a></li>
</ul>
<p>Do note that as of this release, SMW requires Validator, which is included in the release packages, but obviously needs to be obtained separately when checking out with SVN.</p>
<p><strong>What&#8217;s next?</strong></p>
<p><a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/User:Devayon">Devayon Das</a>, a <a href="https://code.google.com/soc/">Google Summer of Code</a> student, mentored by <a class="mw-redirect" title="Markus Krötzsch" href="http://semantic-mediawiki.org/wiki/Markus_Kr%C3%B6tzsch">Markus Krötzsch</a>, is working on improving the search and browse interfaces of SMW (<a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/User:Devayon/GSoC2011">read all about it here</a>). This work will probably end up in one of the upcoming 1.6.x releases. I&#8217;d also like to make some improvements to the automatic documentation generation via the smwdoc parser hook by the next release, mainly focusing on internationalization. I&#8217;m not aware of any other concrete plans to make changes to SMW itself for now. There are many things that can be done, and several projects that are being looked at, but only time will tell which of these get any traction.</p>
<p>In any case, if you are interested in the future of SMW, I definitely recommend attending <a href="http://semantic-mediawiki.org/wiki/SMWCon_Fall_2011">SMWCon</a>, the SMW event that&#8217;s held once a year in both the US and the EU. The next one will take place from September 21st to September the 23rd, in Berlin, Germany.</p>
<p><strong>More frequent updates</strong></p>
<p>In an effort to provide the community with more frequent updates on the status of SMW development and other news, a <a href="https://twitter.com/#!/SemanticMW">Twitter</a> and an <a href="http://identi.ca/smw">Identi.ca</a> account have been set up. You can follow these to stay up to date on the latest SMW developments <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Further info</strong></p>
<ul>
<li><a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki_1.6">Semantic MediaWiki 1.6 page on the SMW wiki</a></li>
<li><a href="http://semantic-mediawiki.org/wiki/Help:Installation_1.6">Installation and upgrade instructions</a></li>
<li><a href="http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/SemanticMediaWiki/REL_1_6/RELEASE-NOTES?view=co">Raw release notes</a></li>
</ul>
<p>&nbsp;</p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 1252px; width: 1px; height: 1px; overflow: hidden;">
<p>Semantic MediaWiki 1.6 release, zip archive</p>
<p>&nbsp;</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2011/07/30/semantic-mediawiki-1-6-released/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Semantic MediaWiki update</title>
		<link>http://blog.bn2vs.com/2011/06/12/semantic-mediawiki-update-2/</link>
		<comments>http://blog.bn2vs.com/2011/06/12/semantic-mediawiki-update-2/#comments</comments>
		<pubDate>Sun, 12 Jun 2011 21:01:11 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Geocoding]]></category>
		<category><![CDATA[GNU GPL]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Planet Wikimedia]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Semantic Bundle]]></category>
		<category><![CDATA[Semantic Forms]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantic MediaWiki]]></category>
		<category><![CDATA[Semantic Watchlist]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[SMW]]></category>
		<category><![CDATA[SMWCon]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1127</guid>
		<description><![CDATA[It&#8217;s been a while since I posted an update on Semantic MediaWiki and extensions in general, and my work specifically. This is due to a pile of work that has been done on different components, each of which I&#8217;ll address at the point it&#8217;s released.  In this blog post I&#8217;ll provide you with a short [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I posted an update on <a href="http://semantic-mediawiki.org/">Semantic MediaWiki</a> and extensions in general, and my work specifically. This is due to a pile of work that has been done on different components, each of which I&#8217;ll address at the point it&#8217;s released.  In this blog post I&#8217;ll provide you with a short overview of what&#8221;s (been) going on in the SMW world.</p>
<p><a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki_1.6"><strong>Semantic MediaWiki 1.6</strong></a></p>
<p><a href="http://semantic-mediawiki.org/"><img class="alignright size-full" title="Semantic MediaWiki (SMW) is a free, open-source extension to MediaWiki – the wiki software that powers Wikipedia – that lets you store and query data within the wiki's pages." src="http://blog.bn2vs.com/wp-content/uploads/2010/12/SMW_logo_260.png" alt="Semantic MediaWiki logo" width="165" height="165" /></a>Almost two years after the latest big release, SMW 1.5, 1.6 comes with many important internal changes focused on performance, stability and extensibility and several new features. Here you have an extract of the <a href="http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/SemanticMediaWiki/RELEASE-NOTES?view=co">release notes</a> as they currently are on SVN trunk:</p>
<blockquote><p>* Full support for synchronizing <a href="https://secure.wikimedia.org/wikipedia/en/wiki/RDF_Store">RDF stores</a> with SMW, and for answering #ask queries based on this data. The communication happens via SPARQL (1.1), and all <a href="https://secure.wikimedia.org/wikipedia/en/wiki/SPARQL">SPARQL</a>-capable stores should be supported.<br />
* The Type namespace has been abolished. Builtin types now are displayed by the special page Special:Types, and there are no &#8220;custom types&#8221; any longer. By default, the Type namespace is gone and existing pages in this namespace can no longer be accessed. This can be changed by setting $smwgHistoricTypeNamespace = true in LocalSettings.php before including SMW.<br />
* Changed the way in which units of measurement work. Type:Number now does not accept any units, and a new type &#8220;Quantity&#8221; is used for numbers with units. Units must be declared on the property page (not on the Type page as before), and only units that have a declared conversion factor are accepted.<br />
* The declaration of Type:Record properties has changed. Instead of a list of datatypes, the declaration now requires a list of properties that are to be used for the fields of the record. The declaration is still done with the property &#8220;has fields&#8221; as before.<br />
* Changed the way parameters in query printers are specified and handled using the Validator extension. This includes improvements to the parameter options in the Special:Ask GUI and better error reporting for ask queries.<br />
* Added UNIX-style DSV (Delimiter-separated values) result format.<br />
* Reworked internal data model, cleaning up and re-implementing SMWDataValue and all of its subclasses, and introducing new data item classes to handle data. The class SMWCompatibilityHelpers provides temporal help for extensions that still depend on the old format and APIs.<br />
* Fixed <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Postgresql">PostGre SQL</a> issues with the installation and upgrade code.<br />
* Added API module (smwinfo) via which statistics about the semantic data can be obtained.</p></blockquote>
<p>That&#8217;s a lot of <strong>awesomeness</strong> no? <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As you can deduce from the above notes, this release is not fully backwards compatibility with SMW 1.5.x, so it&#8217;s possible you&#8217;ll need to do some migration work. The <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Validator">Validator extension</a> is also introduced as an extra dependency, but it will come bundled with SMW, so you&#8217;ll only need to care about this when getting the code from SVN.</p>
<p>SMW 1.6 has been in testing phase for 2 weeks or so now, and most bugs have been taken care of. With some luck, the new version will be released in a week or two <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Do feel free to try out the new version on non-critical wikis and report any issues you might find.</p>
<p>I already stated that SMW 1.6 is not fully feature compatible with SMW 1.5.x, but it&#8217;s also most definitely not compatible with earlier versions code-wise for extensions. This means that quite some SMW extensions released before the development on SMW 1.6 started won&#8217;t be compatible anymore, and will require you to also update them to their latest release when upgrading SMW to 1.6 or later. The ones that are in the <a href="http://www.mediawiki.org/wiki/Semantic_Bundle">Semantic Bundle</a> are all compatible already on SVN trunk, so you should be able to upgrade everything as soon as SMW 1.6 is released.</p>
<p><strong>Maps and Semantic Maps 1.0</strong></p>
<p>Another very significant release is the one of <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Maps">Maps</a> and <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Semantic_Maps">Semantic Maps</a>. I&#8217;ve been working on this version for quite a while; it was branched from version 0.7.3, and it&#8217;s the most significant (and <strong>awesome</strong>) release since the creation of both extensions, hence the bump from 0.7.x to 1.0. These are the changes:</p>
<blockquote><p>* Added full Google Maps v3 support and set it as the default mapping service.<br />
* Added new geocoder making use of the new GeoNames API.<br />
* Added support for the auto-documentation features for parser hooks introduced in Validator 0.4.3.<br />
* Added resizeable parameter to all mapping services except OSM.<br />
* Removed compatibility with pre MediaWiki 1.17.<br />
* Removed overlays parameter for Google Maps v2.<br />
* Usage of the Resource Loader for all scripts and stylesheets.<br />
* Rewrote all the map JavaScript to jQuery plugins.<br />
* Rewrote the way parameters are translated to JavaScript. Now one big PHP object is json_encoded.<br />
* Improved KML formatter.<br />
* Use of Google Maps geocoding service v3 instead of v2.<br />
* Fixed geocoding service overriding based on mapping service (merged in from Maps 0.7.5).<br />
* Fixed fatal error occurring when running maintenance/refreshLinks.php.<br />
* Improved default width of maps (merged in from Maps 0.7.5).<br />
* Improved map query parameter support in the Special:Ask GUI<br />
* Rewrote the map printers to use the SMQueryHandler class.<br />
* Added geocoding capability to the OpenLayers form input when having a GeoNames API account.<br />
* Added &#8216;update map&#8217; button to all form inputs.</p></blockquote>
<p>This release of the mapping extensions requires MediaWiki 1.17 or later and the new SMW 1.6, or later. For people not running an MW older then 1.17 (which currently is still not released, pretty much blocking this release of Maps and SM), the 0.7.x branch still remains supported for a while. It&#8217;s currently at 0.7.6, and I plan to release 0.7.7 soonish. Do note that Semantic Maps 0.7.x is NOT compatible with SMW 1.6 or later, it needs SMW 1.5.1 &#8211; 1.5.7 alpha.</p>
<p><strong>Semantic Forms 2.2</strong></p>
<p><a href="https://twitter.com/#!/wikiworks">Yaron Koren</a> has been working on the next big release of the most popular SMW extension, <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Semantic_Forms">Semantic Forms</a>. It brings compatibility with SMW 1.6, and adds several new features, including:</p>
<ul>
<li>#autoedit parser function that allows creating a link that, when clicked, automatically sets one or more fields in another page to certain values.</li>
<li>&#8220;Save and continue&#8221; button</li>
<li>Handling of boolean properties can now also be done using radiobuttons and dropdowns, instead of only checkboxes.</li>
</ul>
<p><strong>Semantic Watchlist</strong></p>
<p><a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Semantic_Watchlist">Semantic Watchlist</a> is a new SMW extension I&#8217;ve developed for <a href="http://www.ieee.org/">the IEEE</a> as <a href="http://wikiworks.com/">WikiWorks</a> consultant. Semantic Watchlist enables users to watch semantic properties by adding a new watchlist page that lists changes to these properties. Users can choose to follow one or more watchlist groups, which are administrator defined, and cover a set of properties and a set of pages (category, namespace, or SMW concept). Notification of changes to watched properties is also possible via email. I think it&#8217;s totally <strong>awesome</strong>.</p>
<p><a href="http://wikiworks.com/"><img class="alignnone size-full wp-image-1129" title="WikiWorks, a consulting company dedicated exclusively to MediaWiki implementation." src="http://blog.bn2vs.com/wp-content/uploads/2010/12/wikiworks-header-logo.png" alt="WikiWorks logo" /></a></p>
<p>It&#8217;s main features are:</p>
<ul>
<li>A watchlist page listing changes to properties watched by the user.</li>
<li>Per-user optional email notification per edit that changes properties.</li>
<li>Integration with user preferences to allow users to specify which watchlist groups they want to follow, and if they want to receive emails on changes.</li>
<li>Special:WatchListConditions as administration interface for watchlist groups.</li>
<li>API module to query property changes grouped by edit for a single user.</li>
<li>API modules to add, modify and delete the watchlist groups.</li>
</ul>
<p>It requires MediaWiki 1.17 or later and SMW 1.6 or later, and still has to see an initial release. It&#8217;s pretty much ready for it, and can be seen as beta right now.</p>
<p><a href="http://semantic-mediawiki.org/wiki/SMWCon"><strong>SMWCon</strong></a></p>
<p>The<a href="http://semantic-mediawiki.org/wiki/SMWCon_Spring_2011"> Spring 2011 SMWCon</a> was held on April 28-30, 2011 at the Raytheon BBN Technologies office in Arlington, Virginia, in the Washington, DC area, and it was a great success. You can read more about it in <a href="http://wikiworks.com/blog/2011/05/16/smwcon-in-dc-writeup/">Yarons writeup</a>.</p>
<p>The next SMWCon, <a href="http://semantic-mediawiki.org/wiki/SMWCon_Fall_2011">SMWCon Fall 2011</a>, will be held on September 21–23, 2011 in Berlin, Germany. Berlin &#8211; yay! It&#8217;s going to be <strong>awesome</strong>, and I&#8217;ll be attending, probably giving some talk about Maps and Semantic Maps, and possibly other extensions as well (Semantic Watchlist being a good candidate).</p>
<p>&nbsp;</p>
<p>Like I already noted, I&#8217;ll be posting more comprehensive (and official) release announcements for each extension when they are released <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;d also like to point out that this is definitely not everything that&#8217;s been going on in the SMW world. For example there are 2 Google Summer of Code students doing SMW related work, about which I might write later on, and many people are doing SMW projects that I&#8217;m simply not aware of or am not closely following.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2011/06/12/semantic-mediawiki-update-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Validator 0.4.3:introducing auto-documentation</title>
		<link>http://blog.bn2vs.com/2011/01/11/validator-0-4-3introducing-auto-documentation/</link>
		<comments>http://blog.bn2vs.com/2011/01/11/validator-0-4-3introducing-auto-documentation/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 16:02:41 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[27c3]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[Describe]]></category>
		<category><![CDATA[GNU GPL]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Planet Wikimedia]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1056</guid>
		<description><![CDATA[It&#8217;s been a while since the previous release of Validator, but this minor update includes some cool new functionality. As I was creating the SubPageList extension and it&#8217;s documentation (at 27c3!), it occurred to me that to document the usage of the &#60;subpages /&#62; parser hook, all the info I needed was already available via [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since the previous release of <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Validator">Validator</a>, but this minor update includes some cool new functionality.</p>
<p>As I was <a href="http://blog.bn2vs.com/2011/01/01/new-mediawiki-extension-subpagelist/">creating the SubPageList extension</a> and it&#8217;s documentation (at 27c3!), it occurred to me that to document the usage of the &lt;subpages /&gt; parser hook, all the info I needed was already available via Validator. Since there was no way to get this info out in a meaningful way, I decided to create a new parser hook just for this purpose. It&#8217;s titled &#8220;describe&#8221; and describes one or more parser hooks implemented using the ParserHook class provided by Validator. This description includes a short text about the parser hooks functionality, a table with it&#8217;s parameters and their meta-data, syntax examples, a list of aliases (if any) and more. It&#8217;s possible to get the description in wikitext, as opposed directly in the page, so you can copy it, and use it (or parts of it) somewhere else. By default it&#8217;ll list all parser hooks it knows about directly in the page. An example can be seen <a href="http://0x20.be/Jeroen_De_Dauw/Describe_test">here</a>.</p>
<p><a href="http://www.mediawiki.org/wiki/Extension:Validator"><img class="size-full wp-image-1057 alignnone" style="border: 1px solid black;" title="Some documentation (for the coordinates parser function) generated using the describe parser hook" src="http://blog.bn2vs.com/wp-content/uploads/2011/01/describe-coordinates-table.png" alt="Some documentation (for the coordinates parser function) generated using the describe parser hook" width="824" height="207" /></a></p>
<p>Many more not yet implemented features that make use of the parameter handling framework that is Validator can be imagined. One I might implement in the near future is linking to a special page that generates a description of how to use a certain parser hook based on something the user is doing wrong, and link to that from error messages. This can be done easily by building on top of the already existing error message system and the describe parser hook <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I think Validator adds a lot of Value when creating parser hooks, and other parameter handling objects. The main problem currently is that when using it&#8217;s features in an extension, this extension obviously becomes dependent on Validator. From a technical perspective this does not really matter, but it complicates installation for users (especially since MediaWiki lacks any sort of extension management facilities). I therefore hope to get Validators functionality into MediaWiki core, or at least in the default MediaWiki distribution. I&#8217;m rather sceptical to if I can make this happen as a non core-developer, but if I succeed, it would be a great advantage for extension (and core) development, so it&#8217;s definitely worth a try.</p>
<p><a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SubPageList">SubPageList</a> 0.1 comes bundled with an alpha version of Validator 0.4.3, containing most of the new functionality. <a href="http://mapping.referata.com/wiki/">Maps and Semantic Maps</a> will come bundled with it (or a newer version) on their next release.</p>
<p><strong>Downloads</strong></p>
<ul>
<li><a href="https://code.google.com/p/mwvalidator/downloads/list">Zip and 7z archives</a></li>
<li><a href="http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/Validator/REL_0_4_3/">SVN tag</a></li>
<li><a href="http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Validator/">SVN trunk</a></li>
<li>There will be a new <a href="http://www.mediawiki.org/wiki/Semantic_Bundle">Semantic Bundle</a> soonish which will include the latest Validator.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2011/01/11/validator-0-4-3introducing-auto-documentation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New MediaWiki extension: SubPageList</title>
		<link>http://blog.bn2vs.com/2011/01/01/new-mediawiki-extension-subpagelist/</link>
		<comments>http://blog.bn2vs.com/2011/01/01/new-mediawiki-extension-subpagelist/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 20:11:44 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[27c3]]></category>
		<category><![CDATA[ccc]]></category>
		<category><![CDATA[GNU GPL]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[MediaWiki extensions]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Planet Wikimedia]]></category>
		<category><![CDATA[SubPageList]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1052</guid>
		<description><![CDATA[During 27c3 someone asked me to install an extension to list subpages onto the hackerspace.be wiki. I picked SubPageList3, as it seemed to most decent one. I did a simple test to see if it was working, and immediately found a namespace bug. So I decided to quickly rewrite it and also let it use [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SubPageList"><img class="alignright size-full wp-image-1054" title="SubPageList extension" src="http://blog.bn2vs.com/wp-content/uploads/2011/01/Splist_1.png" alt="SubPageList extension" width="230" height="449" /></a>During <a href="https://events.ccc.de/congress/2010/wiki/Main_Page">27c3</a> someone asked me to install an extension to list subpages onto the <a href="https://hackerspace.be/Main_Page">hackerspace.be wiki</a>. I picked SubPageList3, as it seemed to most decent one. I did a simple test to see if it was working, and immediately found a namespace bug. So I decided to quickly rewrite it and also let it use <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Validator">Validator</a> for additional awesomeness.</p>
<p>Strangely enough, although there where SubPageList2 and <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SubPageList3">SubPageList3</a> extensions, there was no <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SubPageList">SubPageList </a>extension to be found anywhere in the WMF SVN repo or the mediawiki.org wiki, so I decided to simply take that name. The extension should be backwards compatible with SubPageList3.</p>
<p>I spend 5 hours or so doing the rewrite, and have released an initial version yesterday. Seems to work fine and is currently in use on hackerspace.be. It requires Validator 0.4.2 or above, and is the first extension <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:SubPageList#Usage">making full use</a> of new the <a href="https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:Validator#describe">auto-documentation functionality</a> Validator 0.4.3 introduces (more on that in <a href="http://blog.bn2vs.com/2011/01/11/validator-0-4-3introducing-auto-documentation/">a later blog post</a>).</p>
<p><strong>Download</strong></p>
<ul>
<li><a href="https://code.google.com/p/subpagelist/downloads/list">Version 0.1 archives</a></li>
<li><a href="http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SubPageList/REL_0_1/">Version 0.1 svn tag</a></li>
<li><a href="http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/SubPageList/">svn trunk</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2011/01/01/new-mediawiki-extension-subpagelist/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Maps and Semantic Maps 0.7.1 released</title>
		<link>http://blog.bn2vs.com/2010/10/21/maps-and-semantic-maps-0-7-1-released/</link>
		<comments>http://blog.bn2vs.com/2010/10/21/maps-and-semantic-maps-0-7-1-released/#comments</comments>
		<pubDate>Thu, 21 Oct 2010 13:54:55 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Layers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1015</guid>
		<description><![CDATA[Maps 0.7.1 and Semantic Maps 0.7.1 are now available for download. The main new feature in this release is the long awaited images as layers. It allows you to display images with OpenLayers, so users can pan and zoom around, and markers can be placed to draw attention to certain area&#8217;s and provide additional information. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Maps 0.7.1" href="http://mapping.referata.com/wiki/Maps_0.7.1">Maps 0.7.1</a> and <a title="Semantic Maps 0.7.1" href="http://mapping.referata.com/wiki/Semantic_Maps_0.7.1">Semantic Maps 0.7.1</a> are now available for <a title="Download" href="http://mapping.referata.com/wiki/Download">download</a>. The main new feature in this release is the long awaited <a title="Images as layers" href="http://mapping.referata.com/wiki/Images_as_layers">images as layers</a>. It allows you to display images with <a title="OpenLayers" href="http://mapping.referata.com/wiki/OpenLayers">OpenLayers</a>,  so users can pan and zoom around, and markers can be placed to draw  attention to certain area&#8217;s and provide additional information. Check  out the <a title="Images as layers" href="http://mapping.referata.com/wiki/Images_as_layers#Examples">examples</a>. Some issues have also been fixed, in both extensions, mainly <a title="OpenLayers" href="http://mapping.referata.com/wiki/OpenLayers">OpenLayers</a> related.</p>
<p><a href="http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.7.1_released"><img class="alignnone size-full wp-image-1016" title="An OpenLayers map displaying an image layer with some random markers." src="http://blog.bn2vs.com/wp-content/uploads/2010/10/ImagesAsLayers.png" alt="An OpenLayers map displaying an image layer with some random markers." width="612" height="348" /></a></p>
<p><strong>What&#8217;s next?</strong></p>
<p>Improving the pages in the layer namespace and providing a way to group markers in different overlays in <a title="OpenLayers" href="http://mapping.referata.com/wiki/OpenLayers">OpenLayers</a>. For a complete overview, see the <a title="Roadmap" href="http://mapping.referata.com/wiki/Roadmap">roadmap</a>. Feel free to <a title="Talk:Roadmap (page does not exist)" href="http://mapping.referata.com/w/index.php?title=Talk:Roadmap&amp;action=edit&amp;redlink=1">propose new features</a>, or help out creating them.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/10/21/maps-and-semantic-maps-0-7-1-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maps and Semantic Maps 0.7 beta 1</title>
		<link>http://blog.bn2vs.com/2010/10/06/maps-and-semantic-maps-0-7-beta-1/</link>
		<comments>http://blog.bn2vs.com/2010/10/06/maps-and-semantic-maps-0-7-beta-1/#comments</comments>
		<pubDate>Wed, 06 Oct 2010 11:30:19 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Geocoding]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Layers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Planet Wikimedia]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Yahoo! Maps]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=1003</guid>
		<description><![CDATA[An early beta of the next big release of the Maps and Semantic Maps extensions is now available for download. The most notable new features in this release are tag extension support for all the Maps parser functions, more consistent error handling via Validator 0.4 and compatibility with the upcoming MediaWiki 1.17. Most changes are [...]]]></description>
			<content:encoded><![CDATA[<p>An early beta of the next big release of the <a title="Maps" href="http://mapping.referata.com/wiki/Maps">Maps</a> and <a title="Semantic Maps" href="http://mapping.referata.com/wiki/Semantic_Maps">Semantic Maps</a> extensions is now available for <a rel="nofollow" href="http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.7beta1.zip">download</a>. The most notable new features in this release are tag extension support for all the Maps <a title="Parser functions" href="http://mapping.referata.com/wiki/Parser_functions">parser functions</a>, more consistent error handling via <a title="Validator" href="http://mapping.referata.com/wiki/Validator">Validator</a> 0.4 and compatibility with the upcoming MediaWiki 1.17. Most changes  are internal improvements, but there are also several bug fixes and  minor new features.</p>
<p>Both extensions need some more polishing work before the 0.7  release, some testing needs to be done, and some small new features  might still be added. This is a list of changes so far:</p>
<h2>Maps</h2>
<h3>New features</h3>
<p>Tag support for these parser hooks (which previously only had parser function support):</p>
<ul>
<li> Coordinates</li>
<li> Distance</li>
<li> Finddestination</li>
<li> Geocode</li>
<li> Geodistance</li>
</ul>
<p><a href="http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.7_beta_1_available"><img class="alignright" title="Semantic Maps reporting a fatal error in a map form input." src="../wp-content/uploads/2010/10/fatal-form-error.png" alt="Semantic Maps reporting a fatal error in a map form input." width="486" height="261" /></a></p>
<h3>Bug fixes</h3>
<ul>
<li> Fixed compatibility with the MW 1.17 resource loader.</li>
<li>Fixed i18n issue with the overlays control for Google Maps v2 maps.</li>
<li>Fixed default zoom level for Yahoo! Maps maps.</li>
<li>Increased the maximum decimals for DMS coordinates from 2 to 20.</li>
</ul>
<h3>Removed features</h3>
<ul>
<li> #geocodelong and #geocodelat parser functions &#8211; you can obtain their functionality using #geocode.</li>
</ul>
<h3>Internal improvements</h3>
<ul>
<li> Rewrote the geocoding functionality. It&#8217;s now an integral part  of the extension that can not be just pulled out, while the reverse is  true for individual geocoders. Geocoder interaction now uses the same  model as mapping service interaction.</li>
<li>Use of Validator 0.4, allowing for more robust and consistent error reporting.</li>
<li>Rewrote the parser hooks to use the ParserHook class provided by Validator.</li>
<li>Restructured the directory structure of the extension to better match it&#8217;s architecture.</li>
</ul>
<h2>Semantic Maps</h2>
<h3>New features</h3>
<ul>
<li> Added &#8216;locations&#8217; parameter to the map query printers that  allows for displaying static locations in addition to query results in  queries. It behaves the same as the locations parameter in  display_points.</li>
</ul>
<div id="attachment_1005" class="wp-caption alignnone" style="width: 470px"><a href="http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.7_beta_1_available"><img class="size-full wp-image-1005 " title="Semantic Maps displaying the result of a query on an OpenLayers map together with a static point." src="http://blog.bn2vs.com/wp-content/uploads/2010/10/static-locations.png" alt="Semantic Maps displaying the result of a query on an OpenLayers map together with a static point." width="460" height="298" /></a><p class="wp-caption-text">Semantic Maps displaying the result of a query on an OpenLayers map together with a static point.</p></div>
<h3>Bug fixes</h3>
<ul>
<li> Fixed compatibility with the MW 1.17 resource loader.</li>
</ul>
<h3>Internal improvements</h3>
<ul>
<li> Use of Validator 0.4, allowing for more robust and consistent error reporting.</li>
<li>Restructured the directory structure of the extension to better match it&#8217;s architecture.</li>
</ul>
<h2>Notice</h2>
<p>Although the big features should work, this release will probably contain multiple issues. Please <a title="Help:Reporting bugs" href="http://mapping.referata.com/wiki/Help:Reporting_bugs">report</a> any you might find.</p>
<p>For the most current version of this announcement, see <a href="http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.7_beta_1_available">the original on the mapping wiki</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/10/06/maps-and-semantic-maps-0-7-beta-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maps and Semantic Maps 0.6.4 released</title>
		<link>http://blog.bn2vs.com/2010/07/08/maps-and-semantic-maps-0-6-4-released/</link>
		<comments>http://blog.bn2vs.com/2010/07/08/maps-and-semantic-maps-0-6-4-released/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 12:32:27 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Geocoding]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Layers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Planet Wikimedia]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantic MediaWiki]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[SMW]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Wikimedia]]></category>
		<category><![CDATA[Yahoo! Maps]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=870</guid>
		<description><![CDATA[Maps and Semantic Maps 0.6.4 are now available for download. This release contains several new features, amongst which basic KML support for Google Maps, a new OSM service implementation and re-added service links support to the Geographical Coordinates data-type in Semantic Maps. Everyone running 0.6.2 or older is advised to upgrade as soon as possible. [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Maps" href="http://mapping.referata.com/wiki/Maps">Maps</a> and <a title="Semantic Maps" href="http://mapping.referata.com/wiki/Semantic_Maps">Semantic Maps</a> 0.6.4 are now available for <a title="Help:Download" href="http://mapping.referata.com/wiki/Help:Download">download</a>. This release contains several new  features, amongst which basic KML support for Google Maps, a new OSM  service implementation and re-added service links support to the  Geographical Coordinates data-type in Semantic Maps. Everyone  running 0.6.2 or older is advised to upgrade as soon as possible.</p>
<p>Lets have a closer look at some of the changes:</p>
<ul>
<li>The Google Maps (v2) service now has a KML parameter, which allows you to specify one or more KML files to use. Files are separated with comma&#8217;s. The base for this feature was submitted by Andy Chow, who created it for Transit Unlimited wiki. A neat example of a map there using KML is <a href="http://www.transitunlimited.org/Metrolink#Map">this one</a>. Thanks for the patch Andy!</li>
<li>There again is an OpenStreetMap service, although this one is different from the one that got removed in 0.6. The implementation is done by embedding (in an iframe) a page from the WMF toolserver, which renders a map with OSM tiles and Wikipedia overlay. <a href="http://wiki.bn2vs.com/OSMTest">Example</a>. It&#8217;s basically the same what&#8217;s done on the German Wikipedia. Credits here go to Tim Alder and all other people who are making the awesome toolserver stuff work. The reason the creation of the map is not done on the server running the MediaWiki installation itself is that it&#8217;s rather difficult to fetch the Wikipedia layer from the toolsever. Hopefully a solution is found for this, as that would be a lot cooler for non WMF usage.</li>
<li>I re-added service links support for the Geographical Coordinates data-type in Semantic Maps after someone requested this. It got removed in 0.6, as the old implementation was not working anymore, and I was unsure at that point how to create a new one. You can find the updated documentation on this <a href="http://semantic-mediawiki.org/wiki/Help:Service_links#Information_passed_for_each_placeholder">here</a>, although the examples are not working yet (semantic-mediawiki.org is using an alpha of 0.6). I will migrate the examples to the mapping documentation wiki at some later date.</li>
<li>OpenLayers i18n (translation of the controls) should now be working. A style fix has also been made which caused OpenLayers to render badly in Chrome.</li>
<li>Multiple small bugfixes have been made in both extensions, and a few in Validator. I guess this is now be the most stable release to date yet, so be sure to upgrade!</li>
</ul>
<p>For a full list of  changes since 0.6.3 see <a title="Maps/Version  history" href="http://mapping.referata.com/wiki/Maps/Version_history#Maps_0.6.4">changes  to Maps</a> and <a title="Semantic Maps/Version history" href="http://mapping.referata.com/wiki/Semantic_Maps/Version_history#Semantic_Maps_0.6.4">changes  to SM</a>.</p>
<p><a href="http://blog.bn2vs.com/wp-content/uploads/2010/07/Semantic-Maps-0.6.4-dependencies.jpg"><img class="alignnone size-full wp-image-871" title="Semantic Maps 0.6.4 dependencies" src="http://blog.bn2vs.com/wp-content/uploads/2010/07/Semantic-Maps-0.6.4-dependencies.jpg" alt="Semantic Maps 0.6.4 dependencies" width="587" height="171" /></a></p>
<p><strong>Downloads</strong></p>
<ul>
<li>Maps 0.6.4: <a href="http://mwmaps.googlecode.com/files/Maps0.6.4.zip">zip</a>, <a href="http://mwmaps.googlecode.com/files/Maps0.6.4.7z">7z</a></li>
<li>Maps and Semantic Maps 0.6.4: <a href="http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.6.4.zip">zip</a>, <a href="http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.6.4.7z">7z</a></li>
</ul>
<p><strong>See also</strong></p>
<ul>
<li><a href="http://mapping.referata.com/wiki/Maps_and_Semantic_Maps_0.6.4_released">The release notes on the documentation wiki</a></li>
</ul>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><span class="ik"><img id="upi" class=" QrVm3d" src="https://mail.google.com/mail/images/cleardot.gif" alt="" width="16px" height="16px" /></span></p>
<h3 class="gD" style="color: #00681c;"><span>Andy Chow</span></h3>
</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/07/08/maps-and-semantic-maps-0-6-4-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semantic Maps 0.6 &#8211; almost there?</title>
		<link>http://blog.bn2vs.com/2010/04/30/semantic-maps-0-6-almost-there/</link>
		<comments>http://blog.bn2vs.com/2010/04/30/semantic-maps-0-6-almost-there/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 23:12:26 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Geocoding]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Layers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantic MediaWiki]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[SMW]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Wikimedia]]></category>
		<category><![CDATA[Yahoo! Maps]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=802</guid>
		<description><![CDATA[I&#8217;ve been working on Maps and Semantic Maps 0.6, the next big, awesome, release of both MediaWiki extensions, for over a month now. I also released an early alpha on the 3th of April. All planned new features have been implemented, and known bugs from 0.5.x have been fixed. So you might wonder why 0.6 [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a> and <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Maps">Semantic Maps</a> 0.6, the next big, <strong>awesome</strong>, release of both MediaWiki extensions, for over a month now. I also released an early alpha on the 3th of April. All planned new features have been implemented, and known bugs from 0.5.x have been fixed. So you might wonder why 0.6 is still not out.<a href="http://mapping.referata.com/"><img class="size-full wp-image-803 alignright" title="Semantic Maps" src="http://blog.bn2vs.com/wp-content/uploads/2010/04/SemanticMaps.png" alt="Semantic Maps" width="193" height="200" /></a></p>
<p>In response to the possibility of someone doing work on Maps and Semantic Maps during the upcoming <a href="http://blog.bn2vs.com/tag/gsoc/">Google Summer of Code</a>, I took a critical look at the current structure, holding into account all the things I learned over the last two month while working on <a href="http://blog.bn2vs.com/tag/Storyboard/">Storyboard</a>. I came to the conclusion that a bunch of things ought to be handled in a cleaner fashion, and started to refactor this code. The most difficult part here is changing how the display_map and display_point(s) parser functions handle their mapping service parameter and validate the provided location(s). I&#8217;ve been wanting to change this since 0.4, but didn&#8217;t since it&#8217;s rather tricky to do. I decided to finally get this done now, and have done most of the work. To complete these changes, I&#8217;ll have to make some rather complex modifications to <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a>, which can take a while to complete. That&#8217;s the last thing that needs to be done before the 0.6 release though <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I estimate this should be done in approximately 2 weeks, maybe sooner. After that I&#8217;m planning to release at least one RC, to ensure stability and complete <strong>awesomeness</strong>, cause really a lot has been changed. I figure about three quarters of the codebase has been changed in one way or another!</p>
<p>After this release a lot of cool new features can be added, which I might do before the GSoC coding period starts. There are also a few people who wanted to do a mapping project for GSoC at the WMF, but did not get accepted, which are planning to do some effort here after all, which is totally <strong>awesome</strong> <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/04/30/semantic-maps-0-6-almost-there/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maps and Semantic Maps 0.5.4 released!</title>
		<link>http://blog.bn2vs.com/2010/03/02/maps-and-semantic-maps-0-5-4-released/</link>
		<comments>http://blog.bn2vs.com/2010/03/02/maps-and-semantic-maps-0-5-4-released/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 00:11:52 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Geocoding]]></category>
		<category><![CDATA[Google Earth]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[Maps]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Layers]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OpenStreetMap]]></category>
		<category><![CDATA[OSM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Semantic Maps]]></category>
		<category><![CDATA[Semantic MediaWiki]]></category>
		<category><![CDATA[Semantics]]></category>
		<category><![CDATA[SMW]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Wikimedia]]></category>
		<category><![CDATA[Yahoo! Maps]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=734</guid>
		<description><![CDATA[Yesterday I released Maps and Semantic Maps 0.5.4. This is a minor update which mainly brings additional stability and security to the 0.5.x branch. It contains several bug fixes, a few code improvements and some security fixes. Check out the Maps change log and Semantic Maps change log. The only new functionality is that you [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I released <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a> and <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Maps">Semantic Maps</a> 0.5.4. This is a minor update which mainly brings additional stability and security to the 0.5.x branch. It contains several bug fixes, a few code improvements and some security fixes. Check out the <a href="http://www.mediawiki.org/wiki/Extension:Maps/Version_history#Maps_0.5.4">Maps change log</a> and <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Maps/Version_history#Semantic_Maps_0.5.4">Semantic Maps change log</a>.</p>
<p><img class="alignleft" title="Semantic Maps" src="http://upload.wikimedia.org/wikipedia/mediawiki/9/99/SemanticMaps.png" alt="Semantic Maps" width="193" height="200" />The only new functionality is that you can now define OpenLayers layers in your LocalSettings file, as well as layer groups. This is done by modifying the $egMapsOLAvailableLayers, $egMapsOLLayerGroups and $egMapsOLLayerDependencies arrays, which are defined in <a href="http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/Maps/Maps_Settings.php?revision=62318&amp;view=markup">Maps_Settings.php</a>.</p>
<p>Another noteworthy point is that Semantic Maps now contains all the geographical coordinate format handling that was part of <a href="http://semantic-mediawiki.org/wiki/Semantic_MediaWiki">Semantic MediaWiki</a> earlier on. The code has been removed from SMW itself, and the SMW 1.5 release will be the first one without it. A nice side effect of this is that people still using Semantic Google Maps (one of the extensions Maps and Semantic Maps are based on, which is now obsolete (and really should not be used any more!)) will be forced to switch over to Maps and SM if they want to get the latest SMW.</p>
<p>Both extensions now use <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> 0.2.2, which is a minor update to 0.2.1, which was used in 0.5.3.</p>
<p><strong>Downloads</strong></p>
<ul>
<li>Maps 0.5.4 [<a href="http://mwmaps.googlecode.com/files/Maps0.5.4.zip">zip</a>, <a href="http://mwmaps.googlecode.com/files/Maps0.5.4.7z">7z</a>, <a href="http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Maps/REL_0_5_4/">svn tag</a>]</li>
<li>Maps and Semantic Maps 0.5.4 [<a href="http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.5.4.zip">zip</a>, <a href="http://semanticmaps.googlecode.com/files/MapsAndSemanticMaps0.5.4.7z">7z</a>]</li>
<li>Semantic Maps [<a href="http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/SemanticMaps/REL_0_5_4">svn tag</a>]</li>
<li>Validator 0.2.2 [<a href="http://mwvalidator.googlecode.com/files/Validator0.2.2.zip">zip</a>, <a href="http://mwvalidator.googlecode.com/files/Validator0.2.2.7z">7z</a>, <a href="http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Validator/REL_0_2_2">svn tag</a>]</li>
</ul>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 150px; width: 1px; height: 1px; overflow: hidden;">[zip, 7z, svn tag]</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2010/03/02/maps-and-semantic-maps-0-5-4-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Validator 0.2 released</title>
		<link>http://blog.bn2vs.com/2009/12/26/validator-0-2-released/</link>
		<comments>http://blog.bn2vs.com/2009/12/26/validator-0-2-released/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 23:11:39 +0000</pubDate>
		<dc:creator>Jeroen De Dauw</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Refactoring]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[Validator]]></category>
		<category><![CDATA[Wikimedia]]></category>

		<guid isPermaLink="false">http://blog.bn2vs.com/?p=625</guid>
		<description><![CDATA[Today I released Validator version 0.2, on which I&#8217;ve been working the last 2 days. It features massive rewriting to make it more flexible, and has some added functionality. Let&#8217;s have a look at what changed. The most important change is, without any doubt, the new list support. Validator 0.1 had a list type, which [...]]]></description>
			<content:encoded><![CDATA[<p>Today I released <a href="http://www.mediawiki.org/wiki/Extension:Validator" target="_blank">Validator</a> version 0.2, on which I&#8217;ve been working the last 2 days. It features massive rewriting to make it more flexible, and has some added functionality. Let&#8217;s have a look at what changed.</p>
<p><a href="http://blog.bn2vs.com/wp-content/uploads/2009/12/validator-0.2-error-list.png"><img class="alignnone size-full wp-image-631" title="Error feedback in the form of a list for Validator_ERRORS_SHOW or Validator_ERRORS_STRICT." src="http://blog.bn2vs.com/wp-content/uploads/2009/12/validator-0.2-error-list.png" alt="Error feedback in the form of a list for Validator_ERRORS_SHOW or Validator_ERRORS_STRICT." width="364" height="78" /></a></p>
<p>The most important change is, without any doubt, the new <a href="http://www.mediawiki.org/wiki/Extension:Validator#Lists" target="_blank"><strong>list support</strong></a>. Validator 0.1 had a list type, which allowed you to have enumerations of values and do crude validation on them. This version now supports lists of a type, instead of seeing list as a type. So you can now create lists of strings, lists of integers, and even lists of custom types you add. This new approach also allows per-item-validation and per-item-defaulting. This means you can set an in_array criteria, which will then be enforced for every value in your list. Closely related to this new form of list support are the new <a href="http://www.mediawiki.org/wiki/Extension:Validator#List_criteria" target="_blank">list criteria</a>, which allow you to validate lists as a whole. At the moment the only 2 build in list criteria are item_count and unique_items, but like for regular criteria, you can hook into Validator and add your own.</p>
<p><a href="http://blog.bn2vs.com/wp-content/uploads/2009/12/validator-0.2-per-item-validation-error.png"><img class="alignnone size-full wp-image-630" title="Validator showing error feedback for a list parameter of the Maps extension." src="http://blog.bn2vs.com/wp-content/uploads/2009/12/validator-0.2-per-item-validation-error.png" alt="Validator showing error feedback for a list parameter of the Maps extension." width="600" height="38" /></a></p>
<p>Another important change are the <a href="http://www.mediawiki.org/wiki/Extension:Validator#Output_type" target="_blank"><strong>output formats</strong></a>. Output formats allow you to specify additional formatting that needs to be done with the parameter value, before it is retrieved from Validator. There are currently 6 build in types, which are array, list, boolean, boolstr, string and unique_items, but again you can hook into this list via Validator. The awesome thing about output formats is that it greatly reduces the mess you otherwise have with converting your parameters from user input to true data structures. You can even specify multiple output formats, which will then do their formatting one by one.</p>
<p>Other things brought by Validator 0.2 include some new <a href="http://www.mediawiki.org/wiki/Extension:Validator#Criteria" target="_blank">criteria</a> (is_boolean, has_length and regex), a new <a href="http://www.mediawiki.org/wiki/Extension:Validator#Error_level" target="_blank">error level</a>, Validator_ERRORS_MINIMAL, new <a href="http://www.mediawiki.org/wiki/Extension:Validator#Type" target="_blank">parameter types</a> (boolean, number and char) and support for Validator_ERRORS_WARN in <a href="http://www.mediawiki.org/wiki/Extension:Validator#ValidatorManager_class" target="_blank">ValidatorManager</a>.</p>
<p><a href="http://blog.bn2vs.com/wp-content/uploads/2009/12/validatorParameterTypes.gif"><img class="alignnone size-full wp-image-635" title="Validators parameter types as in version 0.2" src="http://blog.bn2vs.com/wp-content/uploads/2009/12/validatorParameterTypes.gif" alt="" width="602" height="145" /></a></p>
<p>Equally important as the changes made is that the documentation has been completely updated, to give in-depth cover of how Validator works, and <a href="http://www.mediawiki.org/wiki/Extension:Validator#Implementation" target="_blank">how you should use it</a>.</p>
<p>Both <a href="http://www.mediawiki.org/wiki/Extension:Maps" target="_blank">Maps</a> and <a href="http://www.mediawiki.org/wiki/Extension:Semantic_Maps" target="_blank">Semantic Maps</a> 0.5.1 use Validator 0.2, allowing them to throw away a lot of repetitive, dumb manipulation, code that has been their since the initial versions of those extensions <img src='http://blog.bn2vs.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Downloads:</strong></p>
<ul>
<li><a href="http://code.bn2vs.com/viewtopic.php?mode=attach&amp;id=251" target="_blank">Validator 0.2 (zip)</a></li>
<li><a href="http://code.bn2vs.com/viewtopic.php?mode=attach&amp;id=250" target="_blank">Validator 0.2 (7z)</a></li>
<li><a href="http://svn.wikimedia.org/viewvc/mediawiki/tags/extensions/Validator/REL_0_2/" target="_blank">Validator 0.2 SVN tag</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.bn2vs.com/2009/12/26/validator-0-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

