Page MenuHomePhabricator

{{#ifeq:PageName|{{FULLPAGENAME}}|...}} doesn't work if page name includes a single quote (apostrophe)
Closed, ResolvedPublic

Description

Compare https://en.wikipedia.org/wiki/User:Kaldari/Jane to https://en.wikipedia.org/wiki/User:Kaldari/Jane's.

I know I can use {{FULLPAGENAMEE}} instead, but it seems like {{FULLPAGENAME}} should also be able to work.

If this is a feature instead of a bug, please document at https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23ifeq. Thanks!


Version: unspecified
Severity: normal

Details

Reference
bz61407

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:56 AM
bzimport added a project: ParserFunctions.
bzimport set Reference to bz61407.
bzimport added a subscriber: Unknown Object (MLST).

Its because {{FULLPAGENAME}} converts ' to '

  • This bug has been marked as a duplicate of bug 35746 ***