Issue:PAGENAME in category = causing SQL errors
From FollowTheScore
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!