It can be very slow on pages with lots of references and
isn't required until you click 'Use existing reference'.
What is required is knowing if the list will be empty for
greying out the button, but that can be precomputed very cheaply.
Change-Id: I56909801a5685bb04e0c83cfb95463f705b8dfae
New changes:
9e2238b Add special case for up/down arrow key on focusable node
30f0329 Fix for cursoring into focusable nodes with up/down
6c8da6a Fix spacing inside fragment inspector
3114f74 Remove Firefox listnode hack
e7d98b7 Fix calculation of affectedRange in transaction processor
c6d7589 Use native focus
d71e3a2 Use proper methods for detecting data type in getAnnotationIndexesFromOffset
a930e57 Add optimised method hasAnnotationsInRange
74c729f Use the current document when evaluating activeElement
10aefba Remove is*ArrowKey functions
10465c1 Remove onFocusableHistory listeners
22eb203 Bind/unbind setResizableHandlesSizeAndPosition on focus/blur
Change-Id: I1843ae58fd692c940e4e3d285bfadd3febedca07
New changes:
1b7b23b Tests: Move …/test/… to …/tests/… to be the same as other repos
cd3fc66 Update OOjs UI to v0.1.0-pre (9cd400e3d5)
81be252 Deprecate 'live' event in favor of 'setup' and 'teardown'
Change-Id: I71277d0a3fc85541cf3a0859f58d6d522ad1db6d
We already have wfUseMW( '1.24wmf6' ) so we don't need this any more.
The messages list for oojs-ui had gotten out of date, and rather than
fixing it I figured we should just remove this conditional registration
code altogether.
Change-Id: If0610beb2df8bd85aeba136530a84a793e3dda64
New changes:
32c7edd Localisation updates from https://translatewiki.net.
c7d61bc Round up height of language inspector widget
9473d2f Localisation updates from https://translatewiki.net.
2cffb4d build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1
b3f861e Localisation updates from https://translatewiki.net.
76b7992 Localisation updates from https://translatewiki.net.
76f8e90 Make the re-render flash more prominent
d2506a3 Localisation updates from https://translatewiki.net.
244bf0e CommandHelpDialog: Make closing action 'safe' not 'primary' for consistency
Change-Id: I68db9bdfa6078d4ab3b110e140c413fc6b865c1b
* Each item builds an MWReferenceModel which creates a document
slice clone. This is very expensive and we only use the model
for getting basic attributes, so defer the evaluation of the
document.
* $.show is expensive and, in this case, unnecessary.
Change-Id: I99abc4c1b17f05559a9cae68b15121a8be6d23fb
It's unnecessary, big and ugly, way too close to an actually useful button, and
adds oodles of complexity to the mire that is VPT without significant user benefit
whilst taking up an unjustifiably huge amount of the already-over-burdened space.
This means that the minimum browser width for English on default Vector to show
the toolbar correctly is now 945px, down from 1029px.
Bonuses: fix MWCancelConfirmDialog's cancel button to be destructive (it is) and
remove a now-recently-fixed comment asking for the save button to be styled using
a generic class (provided by the constructive flag).
Change-Id: I30dc7020121f0dd6907b61ef674a7cb14eb00652