Last modified: 2011-02-14 08:58:35 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)
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
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.)
(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.")