On Sun, Dec 23, 2012 at 11:19 PM, Benny Lichtner <bennlich(a)gmail.com> wrote:
Sticking a category link in a wiki page automatically
adds that wiki page
to the corresponding category page. For example, inserting
[[Category:Puppies]] adds the page to the Puppies category.
Is it possible to achieve the same result with something like
[[Category:{{#puppiesfunc}}]], where {{#puppiesfunc}} is replaced by
"Puppies"? I guess I'm wondering how the automatic population of category
pages works under the hood.
Can you state the actual problem you're trying to solve instead of the
way you want to solve it?
Anyway, maybe you're looking for addTrackingCategory()
https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=include…