screen shot
Wikidata's Watchlist in wikipedia are like read Watchlists. Cases which doesn't check should be highlighted or bold but now they are like read links.
Version: unspecified
Severity: normal
Attached:
Yamaha5 | |
May 21 2013, 3:53 PM |
F10479: watchlists.jpg | |
Jul 13 2015, 3:57 PM |
screen shot
Wikidata's Watchlist in wikipedia are like read Watchlists. Cases which doesn't check should be highlighted or bold but now they are like read links.
Version: unspecified
Severity: normal
Attached:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Wrap links in client watchlists, so that CSS works | mediawiki/extensions/Wikibase | master | +20 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T90435 [Epic] Wikidata watchlist improvements (client) | |||
Resolved | matej_suchanek | T50684 Wikidata's Watchlist in wikipedia are like read Watchlist |
mr.heat wrote:
I was always wondering so I checked how the bolding is done. This doesn't solve the problem but I hope it helps the Wikidata developers. Hi, boys and girls. :-)
Every line in the watchlist is either marked with <li class="mw-changeslist-line-watched"> or <li class="mw-changeslist-line-not-watched">. The actual bolding is done by a module called "mediawiki.special.changeslist". This is a CSS file only without any JavaScript. See http://bits.wikimedia.org/static-1.22wmf8/resources/mediawiki.special/mediawiki.special.changeslist.css .
However, this CSS file is not loaded by the resource loader if JavaScript is disabled. I find this confusing (CSS should not depend on JavaScript) but it's not a big problem.
For an unknown reason "watched" are the bold lines and "not-watched" are the non-bold lines. I think somebody confused these names in the code. Keep this in mind and try to not copy & paste this error if possible.
This is about lines in the users watchlist she did not visited yet (bold), and lines that are already visited (not bold). This is missing for the Wikidata lines injected into the users watchlist.
I'm not sure if it's even possible to solve this because these injected lines point to an external project (wikidata.org).
Fun fact: The comment above by "mr.heat", that was me back in 2013. Wooo. \o/
Change 379961 had a related patch set uploaded (by Matěj Suchánek; owner: Matěj Suchánek):
[mediawiki/extensions/Wikibase@master] Wrap links in client watchlists, so that CSS works
Change 379961 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Wrap links in client watchlists, so that CSS works