Difference between revisions of "Issue:Incorrect categorymatch"

From FollowTheScore
Jump to: navigation, search
m (Problem)
 
Line 25: Line 25:
  
 
== Reply ==
 
== Reply ==
 +
As far as I remember underscores have a special meaning within SQL LIKE (standing für any single char).
 +
You may need to escape them. [[User:Gero|Gero]] 00:02, 1 March 2010 (UTC)

Latest revision as of 02:02, 1 March 2010

Description: categorymatch=Test_1 finds also Category:Test-1
Extension / Version: DPL   /   ?
Type / Status: Bug   /   open

Problem

categorymatch seems to work incorrectly. At least I woudn't expect it to behave like that.

categorymatch=Test_1 finds pages in Category:Test-1 AND Category:Test 1.

{{#dpl:
|debug=3
|namespace=
|categorymatch=Test_1
}}

Reply

As far as I remember underscores have a special meaning within SQL LIKE (standing für any single char). You may need to escape them. Gero 00:02, 1 March 2010 (UTC)