A template at no.wikipedia uses REVISIONYEAR/-MONTH to generate a category name, and the whole thing is wrapped in <includeonly>. The construct sometimes fails and puts the article into an erroneous named category.
The template with the erroneous behaviour seems to be
http://no.wikipedia.org/w/index.php?title=Mal:Stubb&oldid=9289679
A later fix removes <includeonly> and uses {{#ifeq}} instead, and then only puts articles from the main namespace into the category
http://no.wikipedia.org/w/index.php?title=Mal:Stubb&oldid=9945807
This is the difference between those two versions
http://no.wikipedia.org/w/index.php?title=Mal%3AStubb&action=historysubmit&diff=9945807&oldid=9289679
The erroneous category is
http://no.wikipedia.org/wiki/Kategori:Stubber_-00
Note that the name for this category is malformed as {{REVISIONYEAR}} and {{REVISIONMONTH}} has not returned valid values.
A testcase to isolate some of the problems are on the pages
http://no.wikipedia.org/wiki/Bruker:Jeblad/revisionyear
http://no.wikipedia.org/wiki/Bruker:Jeblad/test-revisionyear
http://no.wikipedia.org/wiki/Bruker:Jeblad/test-revisionyear2
http://no.wikipedia.org/wiki/Kategori:Test_2012
First the page Bruker:Jeblad/test-revisionyear is made, then the Bruker:Jeblad/revisionyear which acts as a template. At this point the page test-revisionyear seems to have a valid category but the test page is not added to the category. When the page Bruker:Jeblad/test-revisionyear2 is made it is added to the category Kategori:Test_2012 as it should. The later is created (edited) _after_ the template is made, while the former is created (edited) before. The former should be updated through a worker I guess.
There are no testcase for the {{REVISIONYEAR}} and {{REVISIONMONTH}}
I wonder if there are several bugs that pops up simultaneously
- REVISIONYEAR/-MONTH seems not to be defined _sometimes_, perhaps within <includeonly> and/or the category construct
- Changes in the template does not seem to initiate a full regeneration of the article, at least sometimes, and it looks like a partially purge of some kind
- It seems like a manual purge updates the article page after changes to the template, and also the category link on the page, but in the category page the article remains for a long time and it does not seem to be removed at all
- A nulledit to the article page also updates the category link, and then a reload of the category page will be without an entry for the said article
That should be all I have about this case.
Version: unspecified
Severity: normal