Last modified: 2006-05-28 21:48:38 UTC
The English (default) text for Mediawiki:nogomatch is:
'''There is no page titled "$1".''' You can [[$1|create this page]].
That text is shown when putting some text in the search box and hitting the "Go"
The software adds a leading ":" (it seems that is new behaviour, since bug
#3352); while that is correct for the link, it is incorrect for the plain text,
eg, it will display as:
There is no page titled ":Foo". You can create this page.
I think $1 should pass the searched string only, and add the ":" in the
translation, where it is needed only, eg:
'''There is no page titled "$1".''' You can [[:$1|create this page]].
(colon in the link, but not in the plain text).
Or either use two different parameters $1 $2, with and without the leading colon.
Addressed in SVN trunk, r14444 and r14445. The parameter $2 passed to
"nogomatch" will contain the search terms minus the : prefix, allowing for nicer
messages to be used.