HomePhabricator

Add classes to toolbar UI elements

Authored by Amire80.

Description

Add classes to toolbar UI elements

This cleans up the selectors for the elements on the toolbar
so that they can be tested.

Class names in the form of ve-test-* are added to elements
that have words for labels: 'Paragraph', 'Cite', 'Insert'.
There is no other way to look up these elements in the DOM
except using the UI text, but it is different in different languages,
so this is unusable for the language_screenshots job,
which is multilingual by its nature.

Bug: T76143
Change-Id: Ib0cb67151d893a5d2efccf798d6b25d197ed34d2

Details

Committed
Amire80Dec 30 2014, 12:16 PM
Parents
rEVEDb803443193ea: Localisation updates from https://translatewiki.net.
Branches
Unknown
Tags
Unknown
ChangeId
Ib0cb67151d893a5d2efccf798d6b25d197ed34d2