Page MenuHomePhabricator

AWB suggests inappropriate substitutions of {{PAGENAME}} for transcluded content
Closed, ResolvedPublic

Description

One use of transclusion is to create slight variations on a piece of transcluded content. For instance, this section is transcluded to two other pages, but it includes some variations for when it is transcluded to [[47 (number)]] using {{#ifeq:{{PAGENAME}}|47 (number)|variant|non-variant}}. AWB's GENFIXes incorrectly suggest that {{PAGENAME}} be substituted in instances like this, which would break the desired behavior. Could this be fixed?

Event Timeline

Sdkb updated the task description. (Show Details)
Sdkb updated the task description. (Show Details)
Rjwilmsi claimed this task.
Rjwilmsi added a subscriber: Rjwilmsi.

rev 12504 Don't subst pagename etc when #ifeq used in article