Last modified: 2014-10-31 11:31:40 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 T63348, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61348 - Bold sidebar and search results when searching on is.wikipedia.org
Bold sidebar and search results when searching on is.wikipedia.org
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
PC All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://is.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-13 23:10 UTC by snaevar
Modified: 2014-10-31 11:31 UTC (History)
4 users (show)

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


Attachments
bug 61348 search xp (70.24 KB, image/png)
2014-08-02 12:30 UTC, snaevar
Details

Description snaevar 2014-02-13 23:10:49 UTC
Steps:
1. Search for Module:Html, Module:Bold, Module:Italics, or other html markup with the prefix "Module:". (not case sensitive)
2. The sidebar, all search results and the top bar become bold

Reproducable on en.wikipedia, test2.wikipedia, wikidata, and commons with CirrusSearch enabled in the beta settings on en.wiki and commons (CirrusSearch is enabled by default on wikidata and test2).

Expected behaviour: Only html tags and html text in search results should be in bold.
Comment 1 Chad H. 2014-02-13 23:27:21 UTC
Can you provide an example URL please?

https://en.wikipedia.org/w/index.php?title=Special%3ASearch&profile=all&search=Module%3ABold&fulltext=Search is not showing it for me.
Comment 2 Dan Garry 2014-02-13 23:33:08 UTC
I'm also unable to reproduce this behaviour.
Comment 3 Andre Klapper 2014-02-14 14:32:45 UTC
snaevar: Browser info also welcome.
Comment 4 Dan Garry 2014-02-26 01:58:43 UTC
Please note that we will soon be closing this as RESOLVED WORKSFORME unless information is provided so that we can reproduce the problem.
Comment 5 Chad H. 2014-03-04 18:41:59 UTC
Resolving worksforme since nobody can replicate. Feel free to reopen with more information.
Comment 6 snaevar 2014-07-26 10:16:14 UTC
I did some further investigating with the following findings:

* I can repreduce this issue in firefox (newest version) on several windows xp sp3 machines.
* On special:search, in the firefox inspector console I see two strong tags under p class="searchresults". I can also see two strong tags under div id="content" class="mw-body". Those four strong tags are the culprit.
* The search word does not matter. Going to special:Search directly (without any search query) does not make the sidebar bold for me.
* Configuring my personal common.css file to have font-weight:normal on .mw-search-results and #mw-navigation works for me as an workaround.
Comment 7 Andre Klapper 2014-07-26 15:41:23 UTC
What is "firefox (newest version)" exactly? "Newest" highly depends on your update channels. 
Plus did you manage to reproduce with any other browser? Which ones (and versions) did you test?

Plus an example URL is still welcome (and maybe a screenshot that does not expose any private/confidential information).
Comment 8 snaevar 2014-08-02 12:30:01 UTC
Created attachment 16128 [details]
bug 61348 search xp

Search results on winxp, firefox 31.0
Comment 9 snaevar 2014-08-02 12:39:51 UTC
By Firefox newest version I mean that I managed to reproduce the bug on several winxp machines with firefox 31.0.

I did manage to repreduce the bug on Internet Explorer 8.0.6001.18702 aswell. I did not test any other browsers.

I added an example url to the bug information (near the top of the page).
Comment 10 Andre Klapper 2014-08-03 20:27:55 UTC
I can reproduce the problem with Firefox 31 on Fedora 20 (Linux) on is.wp.

For example, https://is.wikipedia.org/w/index.php?title=Kerfiss%C3%AD%C3%B0a%3ALeit&profile=default&search=aspen&fulltext=Search

There are some <strong> HTML elements in the source code but no idea where they are coming from - likely some on-wiki stuff...
Comment 11 Nik Everett 2014-10-28 16:03:42 UTC
Looks like it comes from this:
<strong>Skapaðu síðuna "<a href="/w/index.php?title=Aspen&amp;action=edit&amp;redlink=1" class="new" title="Aspen (síða er ekki enn til)">Aspen</a>" á þessum wiki!<strong>
Comment 12 Nik Everett 2014-10-28 16:11:09 UTC
Its a problem with the translation message.  In is.json in core:
	"searchmenu-new": "<strong>Skapaðu síðuna \"[[:$1]]\" á þessum wiki!<strong>\nSjá einnig {{PLURAL:$2|0=|leitarniðurstöðuna|leitarniðurstöðurnar}}.",

Gotta close that strong tag.  I don't have translator rights or else I'd just go fix it.
Comment 13 Andre Klapper 2014-10-31 11:31:40 UTC
Nik: Thanks so much for tracking this down!

Snævar: I'm closing this ticket as INVALID as this needs to be handled and fixed by Icelandic translators on https://translatewiki.net/wiki/MediaWiki:Searchmenu-new/is?action=edit .
It looks like the bug reporter (Snævar) has edited the string before.

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


Navigation
Links