Rather than modifying $wgResourceModules at run-time, use
a subclass of ResourceLoaderFileModule to add the messages
in the constructor.
Change-Id: I9cf99891ed186afb6aa63501edced692117a7c50
Inserting a new external link from the link inspector when nothing is
selected (collapsed selection) will now produce an autonumbered external
link ('link/mwNumberedExternal' node, corresponding to wikitext
"[http://example.com]"). It used to produce annotated link text
('link/mwExternal' annotation, corresponding to wikitext
"[http://example.comhttp://example.com]" or "http://example.com").
Depends on two commits in VisualEditor/VisualEditor:
* Icc2e368a to insert unannotated content from the inspector.
* I40cd4d5a to insert non-text content from the inspector.
Bug: 51309
Change-Id: Ie4a633ed42907551337a62d96d0abd59e208d49d
Before sending new searches to the API, abort the previous ones if
they were not resolved. This will assure that the result presented
on the screen is valid to the latest search that was done even if
the user types quickly and sends many async requests simultaneously.
Bug: 67438
Change-Id: If88123019bfa972520e9db7c627a7f4cd8fc2526
setChanged() was renamed to checkChanged(), but one call wasn't
updated. This was causing JS errors in a documentUpdate event
handler, which caused pawn nastiness.
Bug: 70450
Change-Id: I71e576638f9e2fde450f4412229cf980e6ba7e10
After resolving the search queries to the API, make sure to display
or hide (!) the "no results" message.
Bug: 67438
Change-Id: I518fbf5ae18bb2265710600516d556c60e2b4924
Create an image model hash and check for changes to the image every
time the dialog is changed, so we can activate and deactivate the
apply button properly.
Bug: 68058
Change-Id: I94b7e4879c6e752432c6f937a8cf1b9f15d1b56d
Causing the label of each parameter to be missing ($label actually gets sent to the outline item
widget, for some reason). Looks like it was caused by I1abecd8a.
Bug: 70406
Change-Id: I598ffe5066d0ae8267324d4125d05514449064d5
Make sure default dimensions are only set if we have the original
dimensions. Also fix a bug where image default dimensions were
calculated according to current width/height rather than those
of the original dimensions.
Bug: 68000
Change-Id: I8c3acc18b317f82c6b88966950e74b956936dda4
New changes:
7600823 Remove lies about event objects being passed through
4a3adbb Ignore focusin/focusout events on iframes
c5fe1cd Position the paste target just below the top of the screen
71dc684 Reorder CSS rules in ve.ce.Surface.css to make sense
99d3235 Update OOjs UI to v0.1.0-pre (36d0c7dc3b)
Change-Id: I3732683bcd0652b909411beec1dd7a228c2cc6fc
New changes:
5d063a2 Don't use three different coordinate systems in getSelectionRect()
feeb1ae Only focus the paste target if focusedNode has changed
2c1bb97 Update OOjs UI to v0.1.0-pre (4cef83f702)
Local changes:
* Update references to renamed classes
* Update calling patterns element mixins
Change-Id: I330c0e308807597dec31dad8dbf713eb29fdc290
New changes:
6d8a59f Create ImageNode mixin to share logic between Block & Inline
aa6765f Fix `ve.dm.Transaction.newFromReplacement` when `removeMetadata` is true
a6e7a0c Set expanded=false on command help dialog layout
029dbe4 Allow override of window manager in language input widget
8407325 Annotate inserted special characters
4666caf Localisation updates from https://translatewiki.net.
f67e81e Factor out ve.dm.Transaction.pushReplaceInternal
7004717 Prefer String#slice over substr() or substring()
Change-Id: I72dbf37750b5582049cb0fb2730a99066a64b067
VE doesn't use the debug log at all, it seems. This adds a single
wfDebugLog call so that the person using the debug log can see that it
actually does hit VE.
Also, returns better information for parsoid errors.
For example, without it, a parsoid misconfiguration of setInterwiki()
gives:
Error loading data from server: parsoidserver-http-bad-status:
500. Would you like to retry?
with it, you get something like the following:
Error loading data from server: parsoidserver-http-bad-status:
500: Page Fetch failure for "BADURL": Error: getaddrinfo
ENOTFOUND. Would you like to retry?
or
Error loading data from server: parsoidserver-http-bad-status:
500: Page Fetch failure for "BADURL": 404. Would you like to
retry?
Bug: 39057
Bug: 43147
Bug: 63149
Change-Id: I52db9fac42d7c0228b93ce3caec470fff98254f0
New changes:
d635974 Use staging instead of undo in annotation inspector
29233b8 Localisation updates from https://translatewiki.net.
efb3296 Localisation updates from https://translatewiki.net.
cfc5ad1 Localisation updates from https://translatewiki.net.
c609e02 Update OOjs to v1.1.0
dd2398c Update OOjs UI to v0.1.0-pre (adfcf92c6a)
Change-Id: Id122cd8a266554fdbe9f10dcdf53d87c7dd21b17
That function needs to return the result immediately, not wait for module loading (via mw.notify).
This was breaking us being able to keep track of what wikitextWarning object was in use (but only
the first time we used the module), and therefore fail to close the warning when the wikitext
disappeared.
Bug: 70168
Change-Id: I0f1427423a5fe82ec8e70e2f0462a3044ca7ace8
New changes:
378bc4c Polyfill Node.prototype.normalize in IE
d54cd30 Call onTargetInputChange when the link inspector is ready
00f7a00 Only undo if an initial annotation was applied
5d39686 Make filibuster code debug only
fdda60a Track selectionBefore in staging transactions
Change-Id: I2a70d599838b3575c5b0a63ffc60d023b04a8e80