Commit graph

8265 commits

Author SHA1 Message Date
Translation updater bot c13ee9c93c Localisation updates from https://translatewiki.net.
Change-Id: Ib0454ae6e13ca3e16b92615a743bc6d56b47c18d
2014-09-12 00:01:36 +02:00
jenkins-bot 050205ea85 Merge "Convert all instances of assert.equal to assert.strictEqual" 2014-09-11 21:37:45 +00:00
James D. Forrester b46159eeed Relabel the cancel button in the save dialog to "Resume editing"
Bug: 69116
Change-Id: I35289ff02681c3bf46a7bb491c017c500f30c7a6
2014-09-11 11:52:21 -07:00
Ed Sanders c35d68d52b Convert all instances of assert.equal to assert.strictEqual
We don't tolerate == in our code, so we shouldn't use it in our tests.

Change-Id: I6ed7aebbad8013839af2521819fc6507df014a1a
2014-09-11 10:50:44 -07:00
jenkins-bot c3bd61a3a5 Merge "Disable re-use citation tool if there are no references in the document" 2014-09-11 17:42:25 +00:00
Cmcmahon 3351241659 [BrowserTest] Add @safari and @internet_explorer tags for Jenkins build
Change-Id: Ia39fd2cf40cea7f6c4df364a45b0744ca92bfb7d
2014-09-11 08:11:47 -07:00
James D. Forrester eb55cc06d6 Update VE core submodule to master (1fd23db)
New changes:
3e2537f Split getSelectionRect into bounding and inline
b73d010 Kill rangy (almost)
38207f4 Kill rangy: Vol. 2
b392d88 Rangy's dead honey, rangy's dead

Local changes:
* Remove references to rangy

Change-Id: I900eb3e36a564a526c01a5e00f8ea31a1ac9c0a3
2014-09-10 19:13:08 -07:00
James D. Forrester f3d60e7b1a Update VE core submodule to master (216941c)
New changes:
5b8bcb3 Update OOjs UI to v0.1.0-pre (1c5e409ab1)
7e09f7f Table demo
5f33b9c Update OOjs UI to v0.1.0-pre (f9c217dfa4)
34efe9e Localisation updates from https://translatewiki.net.
216941c Update OOjs to v1.1.1

Change-Id: I4b8cbad25385ea16caafa8884703196a428ac699
2014-09-10 19:07:45 -07:00
Alex Monk 72a118fc82 Disable re-use citation tool if there are no references in the document
Bug: 70640
Change-Id: I727857281644dffd23605d7792a3f71ee7c5b751
2014-09-11 00:13:10 +01:00
Alex Monk e6c4315d93 Refactor a bunch of CategoryInputWidget code, tear out dead/broken redirect handling that should be rewritten
Category redirect stuff is currently broken because of I5c536697, but no one seems to have noticed.
Fix bug 69886 while we're here

Bug: 69886
Change-Id: I62cf23d0e86bc43d739bb4c4610a5a852146fa3f
2014-09-10 23:21:12 +01:00
Translation updater bot 4adc453870 Merge "Localisation updates from https://translatewiki.net." 2014-09-10 21:46:21 +00:00
Translation updater bot dc3351e615 Localisation updates from https://translatewiki.net.
Change-Id: I898f5d237545e7a26645be8bc272b4c7df86af8e
2014-09-10 23:44:39 +02:00
jenkins-bot 75f4f284e4 Merge "Fix copyright notice in VisualEditorViewPageTargetInitModule.php header" 2014-09-10 21:38:34 +00:00
jenkins-bot d4f1f6ca7a Merge "Update LinkCache in MWTitleInputWidget" 2014-09-10 19:09:05 +00:00
James D. Forrester 8a61077f05 Fix copyright notice in VisualEditorViewPageTargetInitModule.php header
Change-Id: Ib4827df15eb678b35e68319b069fe22a33d8ac78
2014-09-10 12:07:56 -07:00
jenkins-bot c36ff41d4a Merge "Make message loading for 'ext.visualEditor.viewPageTarget.init' module less hacky" 2014-09-10 19:04:39 +00:00
Alex Monk 674f64dbaf Properly mark reference search index as empty when setting internal list
If it didn't get marked otherwise

Caused by I56909801

Bug: 70611
Change-Id: I81bca8f471c6685e48a7d3768f473a6faf5d8459
2014-09-10 00:13:42 +01:00
Alex Monk 056ef20a96 Update LinkCache in MWTitleInputWidget
Bug: 69886
Change-Id: If7439ea6f60533f8c3166ba4a24656ead0acc6cd
2014-09-09 23:08:14 +01:00
jenkins-bot 1a94fa8320 Merge "Update VE core submodule to master (85a059e)" 2014-09-09 02:05:58 +00:00
jenkins-bot 3b91c34194 Merge "mw.ViewPageTarget.init: Log an error if target fails to load" 2014-09-09 01:26:46 +00:00
jenkins-bot 2d3eed0ac7 Merge "mw.ViewPageTarget.init: Reduce Deferred clutter in getTarget()" 2014-09-09 01:26:45 +00:00
James D. Forrester ba2564c65d Update VE core submodule to master (85a059e)
New changes:
3f5029c Add a secondary label (Edit) to ContextItemWidget
807d377 Update OOjs UI to v0.1.0-pre (cc3c62607c)
45d82b6 Localisation updates from https://translatewiki.net.

Change-Id: Ie3104507d188ac8d3c45698bfd345c3c1146a938
2014-09-08 15:21:48 -07:00
jenkins-bot 31d2ceb250 Merge "Update VE core submodule to master (8f66045)" 2014-09-08 22:13:24 +00:00
jenkins-bot 7634f2a5dc Merge "Re-sort i18n message keys for clarity; add a comment about TOC in VisualEditor.php" 2014-09-08 21:00:25 +00:00
James D. Forrester d6a3a30d91 Re-sort i18n message keys for clarity; add a comment about TOC in VisualEditor.php
Change-Id: Iad844021077e8c9c2c68dceca55027b7be12e556
2014-09-08 13:44:54 -07:00
jenkins-bot 80bbd7a25f Merge "Provide contextual help for the page settings dialog's controls" 2014-09-08 20:41:46 +00:00
Translation updater bot 65311897c3 Localisation updates from https://translatewiki.net.
Change-Id: I2bc6983fc1a139118a1d555d3c48192eb6eb49d8
2014-09-08 21:37:23 +02:00
James D. Forrester a8180fe3c7 Provide contextual help for the page settings dialog's controls
Bug: 51798
Change-Id: Ief3c52e504a08d255a8778af6e24785d35154898
2014-09-08 19:22:44 +01:00
James D. Forrester 3d4d92e33d Update VE core submodule to master (8f66045)
New changes:
4463279 Update OOjs UI to v0.1.0-pre (72f047e5d8)
8f66045 Localisation updates from https://translatewiki.net.

Change-Id: I5a3898beb386bc8242960be82d4caa8324832f65
2014-09-08 10:41:03 -07:00
Kunal Mehta 11ff6096bf Make message loading for 'ext.visualEditor.viewPageTarget.init' module less hacky
Rather than modifying $wgResourceModules at run-time, use
a subclass of ResourceLoaderFileModule to add the messages
in the constructor.

Change-Id: I9cf99891ed186afb6aa63501edced692117a7c50
2014-09-07 23:59:11 -07:00
James D. Forrester e130042b7f mw.ViewPageTarget.init: Log an error if target fails to load
So users aren't left entirely stranded..

Change-Id: I111176b83227b48d50623a4817b9dc7573010338
2014-09-08 01:11:07 +02:00
Timo Tijhof 7f43fccd4d mw.ViewPageTarget.init: Reduce Deferred clutter in getTarget()
* mw.loader.using returns a promise already.
* Use .then() instead of manually forwarding failures.
* Cache .promise() result.

Change-Id: I3d0a90051c389c02dd5714020b2a1fb872790a18
2014-09-08 01:10:10 +02:00
Translation updater bot 69750e4b41 Localisation updates from https://translatewiki.net.
Change-Id: Id2a6c2dfe71c87184d67cc47fe91581685a47455
2014-09-07 22:02:02 +02:00
Bartosz Dziewoński 8e84d75383 Make it possible to create autonumbered external links from link inspector
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.com http://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
2014-09-05 16:48:55 -07:00
James D. Forrester b0b2199730 Update VE core submodule to master (bc9ae1f)
New changes:
98fb46e Update OOjs UI to v0.1.0-pre (8ad150e4e7)
d2a6e4c ve.ui.AnnotationInspector: Explicitly permit inserting non-text data

Change-Id: I408cd23596641ba48b8f00ae8d15b482dfb62215
2014-09-05 16:48:30 -07:00
jenkins-bot 5f71ecc80f Merge "Abort promises before sending new ones in MediaSearchWidget" 2014-09-05 22:56:18 +00:00
Moriel Schottlender 2e03a8276e Abort promises before sending new ones in MediaSearchWidget
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
2014-09-05 18:51:30 -04:00
Roan Kattouw e92e4912fe Followup cb86c4f: fix call to renamed setChanged() function
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
2014-09-05 14:50:24 -07:00
Roan Kattouw 0f63204caf Update VE core submodule to master (50be82b)
New changes:
11cc189 Localisation updates from https://translatewiki.net.
51a7ebe Followup de40432: fix JS errors in Firefox
90706af Fix conversion of non-paragraph content-containing nodes in sanitize
50be82b Localisation updates from https://translatewiki.net.

Change-Id: Id59e7b235937c2b97ecb7cb876f433f0a634045c
2014-09-05 14:21:13 -07:00
Moriel Schottlender ae4511a02b Hide "no results" messaage in media search widget
After resolving the search queries to the API, make sure to display
or hide (!) the "no results" message.

Bug: 67438
Change-Id: I518fbf5ae18bb2265710600516d556c60e2b4924
2014-09-04 19:03:03 -04:00
jenkins-bot 4be972799f Merge "Rename $label to $labelElement in MWParameterPage to avoid naming conflict" 2014-09-04 21:07:41 +00:00
jenkins-bot 71875de0c6 Merge "Check for changes in the model" 2014-09-04 21:07:12 +00:00
Moriel Schottlender cb86c4f030 Check for changes in the model
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
2014-09-04 14:05:01 -07:00
Alex Monk 160d99d9f4 Rename $label to $labelElement in MWParameterPage to avoid naming conflict
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
2014-09-04 22:02:28 +01:00
jenkins-bot e16ebe0e7c Merge "Set default dimensions based on original dimensions" 2014-09-04 21:01:43 +00:00
Translation updater bot efdf3f3553 Localisation updates from https://translatewiki.net.
Change-Id: I368d44e1a2f5887a2ab78335b8737bc010cc9edf
2014-09-04 22:09:45 +02:00
Cmcmahon 6a90a9070a [BrowserTest] Locator for template field remove changed
Change-Id: I647a937c6e07e6bf3dae515fd684ebe2274ddc54
2014-09-04 10:45:55 -07:00
Cmcmahon 16ca79057f [BrowserTest] updates for Cite test
Test additional fields

Change-Id: I9368962bd2b8e7217c064c9b8779d5d53585154d
2014-09-04 10:07:27 -07:00
Moriel Schottlender a83086c007 Set default dimensions based on original dimensions
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
2014-09-04 11:29:51 -04:00
James D. Forrester 7ac7797d4a Update VE core submodule to master (65991da)
New changes:
de40432 Absolutely eradicate absolute selection coordinates

Change-Id: I1df26e32d28299792e6634f360683e589408b587
2014-09-03 18:08:02 -07:00