Difference between revisions of "Issue:PAGENAME in category = causing SQL errors"
From FollowTheScore
(New page: {{Issue |Type = Bug | Change Request <-- please select |Extension = DPL | Wgraph | aiSee | Call <-- please select |Version = ? |Description = |Status = open }} =...) |
(No difference)
|
Latest revision as of 22:53, 7 November 2009
Description: | |
Extension / Version: | DPL / ? |
Type / Status: | Bug / open |
Problem
Trying to create a statement in a template used on our game wiki containing the parameter:
|category= Items with {{PAGENAME}} effect
However, whenever a page name contains an apostrophe, a HUGE SQL error is produced. This same statement works just fine when a name with an apostrophe is typed in place of {{PAGENAME}}, however. From what I can tell, {{PAGENAME}} works with linkto and such because it's comparing the titles, but with a category, the fact that {{PAGENAME}} uses ' in place of ' might be causing the problem? Just trying to find a method that actually works for what I need!