Issue:Categorymatch=with apostrophe
From FollowTheScore
Description: | categorymatch desn't find cats with ' |
Extension / Version: | DPL / 1.7.6+ (at least) |
Type / Status: | Bug / open |
Problem
{{#dpl: |debug=3 |categorymatch=Test'd funk }}
This doesn't find Muha Test 2. While category= does.
{{#dpl: |category=Test'd funk }}
Another one
.
{{#dpl: |debug=3 |categorymatch=Cat d'Test }}
Reply
The problem is not the apostrophe but the space char. Replace it by an underscore! I will add a bugfix which automatically replaces spaces by underscores in catgeorymatch ...
categorymatch=%Test'd funk%:
Gero 06:41, 2 August 2009 (UTC)
- I know the underscore problem and it doesn't help. See (cl0.cl_to LIKE '%\'d_%') this is what causes me problems. This is the problem I have. I use a template on all cats that check the for images used on category={{PAGENAME}}. This works fine for all cats I've checked so far just not for "Café d'Anvers". But it would work if I use "category=Café d'Anvers" directly. But it actually shouldn't matter much? --Subfader 12:12, 2 August 2009 (UTC)