HomePhabricator

Allowing on-site override of default logged-in/anon icons, cleanup
9e83722f1918Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Allowing on-site override of default logged-in/anon icons, cleanup

This commit allows the default logged-in/anon icons to be overriden through two system messages (refreshed-icon-logged-in and refreshed-icon-logged-out). If the appropriate message for the current situation is not empty (and SocialProfile is not installed), the message's contents are placed in the src of the avatar img element, overriding the default WikiFont logged-in/anon icons. The avatar logic has also been cleaned up to reduce redundancy. Finally, the avatar img element no longer has a hard-coded width attribute as this is already handled with CSS (which allows for more on-site customization).

Bug: T163961
Change-Id: I7851c5f63282b951c6b0b5baa59f84f8fa088d48

Details

Provenance
MtMNCAuthored on Apr 30 2017, 10:40 PM
Parents
R1893:ea91b37fa620: Fix language section in sidebar
Branches
Unknown
Tags
Unknown
References
refs/changes/25/351125/4
ChangeId
I7851c5f63282b951c6b0b5baa59f84f8fa088d48