Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template talk:IAbility.dpl"

From Paragon Wiki Archive
Jump to: navigation, search
(Created page with "== localurl == I just made a very arcane fix to this template. Apparently, page names with apostrophes (such as Gr'ai Matter Component) render with the apostrophe entity enco...")
 
(No difference)

Latest revision as of 08:57, 16 January 2012

localurl

I just made a very arcane fix to this template. Apparently, page names with apostrophes (such as Gr'ai Matter Component) render with the apostrophe entity encoded instead of as a plain apostrophe when using {{PAGENAME}}, which causes a naive #ifeq to fail. The call to {{localurl}} coerces both formats into a common string-equivalent format that makes #ifeq happy. I'm noting this here so that the code doesn't get removed in the future when someone looks at it and says "why on earth is this template using urlencoding?!". :) -- Sekoia 08:57, 16 January 2012 (UTC)