Last modified: 2006-05-28 21:48:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6059 - Wrong displaying of Mediawiki:Nogomatch
Wrong displaying of Mediawiki:Nogomatch
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-05-23 19:24 UTC by Pablo Saratxaga
Modified: 2006-05-28 21:48 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Pablo Saratxaga 2006-05-23 19:24:02 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.
Comment 1 Rob Church 2006-05-28 21:48:38 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.