Extension talk:HasCategory

MW versions?
I see it's stated to only work with MW 1.6. Could you make it work with later MW versions? On MW 1.16a the code {{#ifhas... is returned in plain text. --Subfader 18:34, 20 August 2009 (UTC)
 * Whoops, I meant 1.6.0+. I developed it on 1.16a and it works just fine for me. What's the exact problem, could you provide more details please? Matěj Grabovský 19:06, 20 August 2009 (UTC)
 * When I add the following it is returned in plain text.

{{#ifhascat: Some Page | Some Cat [ | THEN [ | ELSE ] ] }} or {{#ifhascat:Some Page|Some Cat|THEN|ELSE}}
 * I installed the extension properly though as it appears in Special:Version. I would expect some error message actually but it is just returned in plain text as if the extension is not installed at all. I tested this on my localhost and on my server. --Subfader 21:04, 20 August 2009 (UTC)
 * So it's displayed in Special:Version, but the parser function doesn't work? That's weird. I'll try to think of something. --Matěj Grabovský 06:48, 21 August 2009 (UTC)
 * I tried disabling other extensions but no luck. I know it's hard if you cannot reproduce the misbehaviour :/ --Subfader 14:13, 21 August 2009 (UTC)

I've updated the code a bit, try it now. --Matěj Grabovský 18:45, 21 August 2009 (UTC)
 * I disabled all extensions at once and it worked, turned out it was Extension:UrlGetParameters causing the trouble. So it now works with disabling UrlGetParameters or including yours before it. This also works with your first version, so feel to change it back. Thanks a lot ;) -Subfader 19:55, 21 August 2009 (UTC)

It should work with other extensions now. --Matěj Grabovský 14:02, 2 September 2009 (UTC)