Issue:PAGENAME in category = causing SQL errors

From FollowTheScore
Revision as of 22:53, 7 November 2009 by Rari (talk | contribs) (New page: {{Issue |Type = Bug | Change Request <-- please select |Extension = DPL | Wgraph | aiSee | Call <-- please select |Version = ? |Description = |Status = open }} =...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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!


Reply