mwparserfromhell icon indicating copy to clipboard operation
mwparserfromhell copied to clipboard

template.name.matches ignore Template: in the name?

Open RheingoldRiver opened this issue 6 years ago • 1 comments

Could matches method function strip "Template:" from the name of the template before checking?

RheingoldRiver avatar Nov 15 '19 22:11 RheingoldRiver

This is a good idea, and we should fold it into the other planned work to recognize localized namespaces (e.g. to recognize [[File:]] links).

earwig avatar Nov 16 '19 21:11 earwig