Last modified: 2011-02-14 08:58:35 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 T26989, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24989 - Parameter $1 of MediaWiki:Searchmenu-exists is replaced by wrong string
Parameter $1 of MediaWiki:Searchmenu-exists is replaced by wrong string
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wikibooks.org/w/index.php?u...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-31 01:43 UTC by Helder
Modified: 2011-02-14 08:58 UTC (History)
0 users

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


Attachments
bug in the MediaWiki:Searchmenu-exists message (63.23 KB, image/png)
2010-08-31 01:43 UTC, Helder
Details

Description Helder 2010-08-31 01:43:29 UTC
Created attachment 7662 [details]
bug in the MediaWiki:Searchmenu-exists message

As shown in the attached image, when I searched for page "categoria:categorias sem classificação adicional" at pt.wikibooks the message shown was that from [[MediaWiki:Searchmenu-exists]]:

"Há uma página chamada "" nesta wiki"

but the parameter $1 was substituted by an empty string instead of the name of the page between quotes.

The problem only happens if I set the my preferences to pt-br (Português do Brasil).

(PS: I've disabled javascript to be sure it wasn't my fault)
Comment 1 Helder 2010-10-11 12:27:38 UTC
Another problem happens when the searched text has a # as the first character:
http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search=%23mytest&fulltext=Search
results in
There is a page named "[[:]]" on Wikipedia
Comment 2 Brion Vibber 2011-02-14 00:22:30 UTC
Link was missing initial : to force inline linking in the pt-br master copy; fixed on TranslateWiki:

http://translatewiki.net/w/i.php?title=MediaWiki:Searchmenu-exists/pt-br&diff=2695605&oldid=906725

It should update automatically after a while.

(Note the issue mentioned in second link probably remains an is a general issue, not related to that language translation.)
Comment 3 Helder 2011-02-14 08:58:35 UTC
(In reply to comment #2)
> Link was missing initial : to force inline linking in the pt-br master copy;
> fixed on TranslateWiki:
> 
> http://translatewiki.net/w/i.php?title=MediaWiki:Searchmenu-exists/pt-br&diff=2695605&oldid=906725
> 
> It should update automatically after a while.

Thanks for fixing that. =D

> (Note the issue mentioned in second link probably remains an is a general
> issue, not related to that language translation.)

Should't the bug be open until that is also resolved? I just tried it on other wikis, and the same problem happens e.g.:
http://de.wikipedia.org/w/index.php?title=Special:Search&search=%23mytest&fulltext=Search&uselang=de
(which displays "Es gibt eine Seite, die den Namen „[[:]]“ hat.")
and
http://fr.wikipedia.org/w/index.php?title=Special%3ASearch&search=%23mytest&fulltext=Search&uselang=fr
(whose result is "La page [[:]] a été trouvée.")

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


Navigation
Links