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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8059, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6059 - Wrong displaying of Mediawiki:Nogomatch
Wrong displaying of Mediawiki:Nogomatch
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.7.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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"
button.

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.


Navigation
Links