WikiApiary:Collect Semantic MediaWiki usage setup

WikiApiary collects basic Semantic MediaWiki information using the Semantic MediaWiki SMWInfo API method which provides a count of properties and other basic information. However, it doesn't report on how Semantic MediaWiki queries are used on the site or how widely it is deployed. Enabling Semantic usage collection adds a much deeper set of data for Semantic MediaWiki websites.

You can see examples of this data being used on WikiApiary, see the graphs for query count, pages with queries, query sizes and query formats.

Setup
In order to get this information you must create a wiki page that Bumble Bee will use to get more detailed information from the wiki. This page is simply a normal wiki page with a number of  queries in it. The page outputs YAML formatted data which is pulled via the MediaWiki API using the  method. The queries in this page depend on the data that is created by Semantic MediaWiki 1.8 and later. If you do not have Semantic MediaWiki 1.8 you must upgrade in order to use this functionality. This page also uses ParserFunctions and if you have MagicNoCache it is useful here to insure that the data is current.

After verifying you have Semantic MediaWiki 1.8 or greater, create a page in the project namespace called SMWExtInfo. Create Project:SMWExtInfo and place the following wikitext into the page. If you do have the MagicNoCache extension please make sure to remove the spaces around the underscores for the NOCACHE directive.

&lt;nowiki&gt; generated: smwqueries: ....count: ....pages: ....concepts: ....pageslarge: smwquerysizes: ....Size 1: ....Size 2: ....Size 3: ....Size 4: ....Size 5: ....Size 6: ....Size 7: ....Size 8: ....Size 9: ....Size 10+: smwformats: ....broadtable: ....csv: ....category: ....count: ....dsv: ....debug: ....embedded: ....feed: ....json: ....list: ....ol: ....rdf: ....table: ....template: ....ul: __ NOCACHE __
 * 1) This page outputs extended Semantic MediaWiki information
 * 2) to be collected by WikiApiary http://wikiapiary.com/
 * 3) Please make no modifications to this page outside of this comment block.
 * 4) http://wikiapiary.com/wiki/WikiApiary:Collect_Semantic_MediaWiki_usage_setup&lt;/nowiki&gt;

If you need to add any additional information to this page please only add comment lines in the beginning of the YAML block.

After creating this page then enable Semantic usage and data will start being retrieved.