https://bugzilla.wikimedia.org/show_bug.cgi?id=46585

--- Comment #15 from Matthew Flaschen <mflasc...@wikimedia.org> ---
The first (61341) is the main change (everything else relies on that).  It
basically makes the icons img tags (rather than background-images), which makes
it easier to customize, both for other extensions and the site.

To customize it for a site, it's just:

$wgEchoNotificationIcons['site']['url'] = "some url";

This can be incorporated into the WMF's wiki-specific config as well, so every
wiki can get its own icon.

It also lets other extensions add icons easily without changing CSS.  The icons
are passed into the BeforeCreateEchoEvent hook in a new parameter.

None of the other two extensions I know of extending Echo (PageTriage and
Thanks) define any new icons, so I just added the new hook parameter.

For a live example with the changes, see http://piramido.wmflabs.org/ .  If you
sign up and confirm an email, you can see both a built-in icon and one defined
by GettingStarted.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to