Help:Add page metadata properties to a page (using ED)

We lookup [/w/api.php?action=query&titles=&prop=info&format=jsonfm data for this page in the MW API]. This data is sucked up by ED:

and can be printed (or stored using SMW):


 * The view count for this page is: views.
 * The length of this page is: b

See the MediaWiki API to find what data you can query. In particular: http://www.mediawiki.org/wiki/API:Properties

Wrap the results in SMW variables or SIO objects (see the ED page and add it here)...

Code example

 * The view count for this page is: views.
 * The length of this page is: b

For another example, see: http://seqanswers.com/wiki/Template:Add_page_metadata