Lucas_Werkmeister_WMDE added a comment.
> This task requires enabling the following extensions in your local dev
environment:
>
> - Wikibase
> - WikimediaBadges
> - Wikidata.org
WikimediaBadges is responsible for adding badge icons on client wikis;
Wikidata.org is responsible for adding them on repo wikis (specifically
Wikidata). They need a configuration like this:
$wgWBRepoSettings['badgeItems'] = [
'Q7' => 'wb-badge-featuredarticle', // styled by Wikidata.org
];
$wgWBClientSettings['badgeClassNames'] = [
'Q7' => 'badge-featuredarticle', // styled by WikimediaBadges
];
Where `Q7` is the item ID of a “featured article” badge on your local
Wikibase. Notice that the CSS class is different (`wb-badge-*` vs. `badge-*`).
Within the context of this task, the “client” part is actually irrelevant,
but it’s probably best to test it as well, just to make sure it doesn’t break.
TASK DETAIL
https://phabricator.wikimedia.org/T325084
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Lucas_Werkmeister_WMDE
Cc: Jdlrobson, Lucas_Werkmeister_WMDE, Aklapper, Astuthiodit_1, karapayneWMDE,
Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86,
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS,
Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]