Last modified: 2014-05-28 16:06:55 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 T62717, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60717 - Display article badges on client
Display article badges on client
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=frontend p=5 s=2014-04-23
:
Depends on:
Blocks: 40810
  Show dependency treegraph
 
Reported: 2014-02-01 10:57 UTC by Bene*
Modified: 2014-05-28 16:06 UTC (History)
4 users (show)

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


Attachments

Description Bene* 2014-02-01 10:57:09 UTC
The article badges stored in Wikidata (WikibaseRepo) should be displayed on each client's interwiki list. As stored in the config, there is a mapping from badge id to an icon url. This icon should be used. At the moment, the icons are added via the css list-style-image property. Perhaps we can just use this css code:

li.badge-q42 {
    list-style-image: url("link-to-icon");
}
Comment 1 Bene* 2014-02-01 12:07:22 UTC
For that purpose we need a clever way to get the badge that should be displayed from all badges the site link has. Also we need some hooks etc. to insert another class into the language links list in core.
Comment 2 Gerrit Notification Bot 2014-02-03 21:02:24 UTC
Change 111001 had a related patch set uploaded by Bene:
Add SkinTemplateGetLanguageLink hook

https://gerrit.wikimedia.org/r/111001
Comment 3 Gerrit Notification Bot 2014-02-03 22:50:26 UTC
Change 110832 had a related patch set uploaded by Parent5446:
Add SkinTemplateLanguageLinks hook

https://gerrit.wikimedia.org/r/110832
Comment 4 Gerrit Notification Bot 2014-02-04 07:24:20 UTC
Change 111159 had a related patch set uploaded by Bene:
Add title to list item of language link

https://gerrit.wikimedia.org/r/111159
Comment 5 Gerrit Notification Bot 2014-02-05 22:04:03 UTC
Change 111609 had a related patch set uploaded by Bene:
Insert badges for language links on client

https://gerrit.wikimedia.org/r/111609
Comment 6 Gerrit Notification Bot 2014-02-06 01:49:48 UTC
Change 110832 abandoned by TTO:
Add SkinTemplateLanguageLinks hook

Reason:
Anomie has suggested more appropriate ways to solve the problems this patch was trying to address. I'll continue to work on https://gerrit.wikimedia.org/r/111390.

https://gerrit.wikimedia.org/r/110832
Comment 7 Gerrit Notification Bot 2014-02-06 15:26:59 UTC
Change 111001 merged by jenkins-bot:
Add SkinTemplateGetLanguageLink hook

https://gerrit.wikimedia.org/r/111001
Comment 8 Gerrit Notification Bot 2014-03-04 12:24:56 UTC
Change 111159 merged by jenkins-bot:
Add title to list item of language link

https://gerrit.wikimedia.org/r/111159
Comment 9 Gerrit Notification Bot 2014-04-02 21:28:41 UTC
Change 123447 had a related patch set uploaded by Bene:
Insert css styles for badges on client

https://gerrit.wikimedia.org/r/123447
Comment 10 Gerrit Notification Bot 2014-04-02 21:36:01 UTC
Change 123449 had a related patch set uploaded by Bene:
Support getting single sitelinks with ClientSiteLinkLookup

https://gerrit.wikimedia.org/r/123449
Comment 11 Gerrit Notification Bot 2014-04-08 14:45:36 UTC
Change 124605 had a related patch set uploaded by Bene:
Insert classes for badges on client

https://gerrit.wikimedia.org/r/124605
Comment 12 Gerrit Notification Bot 2014-04-08 14:47:22 UTC
Change 111609 abandoned by Bene:
Insert badges for language links on client

Reason:
This is splitted up into several minor changes so that this one is no longer needed.

https://gerrit.wikimedia.org/r/111609
Comment 13 Gerrit Notification Bot 2014-04-08 17:45:25 UTC
Change 123447 merged by jenkins-bot:
Insert css styles for badges on client

https://gerrit.wikimedia.org/r/123447
Comment 14 Gerrit Notification Bot 2014-04-10 16:15:40 UTC
Change 123449 merged by jenkins-bot:
Support getting single sitelinks with ClientSiteLinkLookup

https://gerrit.wikimedia.org/r/123449
Comment 15 Gerrit Notification Bot 2014-05-23 15:48:14 UTC
Change 124605 merged by jenkins-bot:
Insert classes for badges on client

https://gerrit.wikimedia.org/r/124605

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


Navigation
Links