0

I'm running MediaWiki version 1.27.4.

With a template I have added informations in a bounch of pages.

I would like to automatically obtain a table that aggregates all this data.

I found this extension https://www.mediawiki.org/wiki/Extension:Data_Aggregator but is very old and doesn't work on my MediaWiki version.

Thanks!

1
  • 1
    Semantic MediaWiki can do that (and much, much more). Not trivial to set up, though.
    – Tgr
    Jun 15, 2018 at 14:08

1 Answer 1

0

A newer extension capable writing data from templates into database tables is Extension:Cargo, which is easy to install and good if you trust all your users with write permissions not to do malicious stuff to your database, otherwise go with Semantic MediaWiki.

Ugly and very limited hack: If the template only adds one piece of information and you are okay messing with category sorting and you do not need to run aggregation operations, you might be able to put this single piece of information into the sort key. [[Category:example|{{{information}}}]]. You can then retrieve {{{information}}} from an API query action=query&list=categorymembers&cmtitle=example&cmprop=sortkey|sortkeyprefix or directly from the categorylinks table.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .