Page MenuHomePhabricator

Move alert icon in AdvandedSearch from i18n message to stylesheet
Closed, DeclinedPublic

Description

Using images in translation messages (here advancedsearch-help-category) has impact for the translator, because the translator has to ignore the part of the message and in most case the <img> does not play nice with screen reader, because it does not provide an alt text by default. All wikis using this file must also have commons as a image repository to find the image and display it. It also needs a network connection for the people viewing the page, which may not active when using a intranet wiki.

For extensions it is much easier to create a stylesheet and load the image with a stylesheet from the extensions directory or from a dependency repository, but please do not load images from a shared repositiory which is not part of the default config. Stylesheet could also benefit from embedded images to speed up load time.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Lea_WMDE subscribed.

@Umherirrender thanks for the generally very relevant info. In this case, however, we are removing the message per T195954, so I am closing this ticket.

Vvjjkkii renamed this task from Move alert icon in AdvandedSearch from i18n message to stylesheet to x3caaaaaaa.Jul 1 2018, 1:10 AM
Vvjjkkii reopened this task as Open.
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from x3caaaaaaa to Move alert icon in AdvandedSearch from i18n message to stylesheet.Jul 2 2018, 4:17 PM
CommunityTechBot closed this task as Declined.
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.