Page MenuHomePhabricator

"MediaWiki: Messages with parameters can no longer be moved to templates as $1 string is escaped to %241
Closed, DeclinedPublic

Description

Author: wikt.3.connelm

Description:
In the past few hours, on en.wiktionary, we sysops saw people editing the entry
[[$1]] several times, with pretty unrelated edits. When I went to enter a new
entry, I (as I do whenever I want to use a preload template) entered the word in
the search box and pressed [Go]. The Nogomatch page appeared normal at first,
except that "create a new entry" was blue(!) and clicking it, brought me to the
wrong page...[[wikt:$1]].

For some months now, we've had Nogomatch pointing to another template, that
referred to "$1" directly, to mean the searched-for-pagename. In the last day
or so, that stopped working. Trying to pass it as a template parameter did not
seem to work either. The purpose of having the separate project page was/is to
allow semi-protection of the page, and encourage improvements, especially
cosmetic, to the page [[wikt:Wiktionary:Project-Nogomatch]].

This seems to be direcly related to this:
http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#nowiki_in_links


Version: unspecified
Severity: normal
URL: http://en.wiktionary.org/wiki/MediaWiki:Nogomatch

Details

Reference
bz6115

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:16 PM
bzimport set Reference to bz6115.
bzimport added a subscriber: Unknown Object (MLST).

wikt.3.connelm wrote:

Because the template is now "subst:"ed in. We'd prefer it not be, so the
semi-protect page can still be edited by non-sysops.

Please provide exact references to the templates you mean, then.

wikt.3.connelm wrote:

Note: discussed on IRC, Brion reproduced (lower priority) problem on his wiki.