Commit graph

8229 commits

Author SHA1 Message Date
James D. Forrester 8cde565899 Template dialog: Show up to the limit of parameters, not up to the limit + 1
Bug: 70609
Change-Id: I26dc9c17fe7572d7b864000781fff6583edf9f9b
2014-09-15 12:13:47 -07:00
James D. Forrester 350a4220e2 Update VE core submodule to master (8fb94f1)
New changes:
80b26bc ve.ce.Surface: Insert new paragraphs after empty nodes rather than before
c2b06b2 ve.ui.AnnotationInspector: Apply existing annotations to inserted content
de5eef0 Strip Start/EndFragment comments from paste
79f632b Localisation updates from https://translatewiki.net.
21eab72 Update OOjs UI to v0.1.0-pre (073f37e258)

Change-Id: I78c3c29ea05ccf136b28bd2a521337d624e0702a
2014-09-15 10:34:06 -07:00
Translation updater bot e4a8b251eb Localisation updates from https://translatewiki.net.
Change-Id: Ifb2e827be70c18a7976d36dac4ba2f2c3786ba48
2014-09-15 02:11:59 +02:00
Translation updater bot 7faa561782 Localisation updates from https://translatewiki.net.
Change-Id: I32071f21af9ed6e606aa7aa23982aaef29641ee6
2014-09-13 00:50:00 +02:00
James D. Forrester e3267e13d8 Update VE core submodule to master (f646507)
New changes:
b6881c5 (Kind of) fix treatment of strange dir values
4e2ce2b Account for the case where a FocusableNode has an empty outerRects array

Change-Id: I3fbdd471a368fb4171e5213751544b4c263f0bf8
2014-09-12 15:03:01 -07:00
jenkins-bot 1063342789 Merge "Don't return undefined in ve.init.mw.Platform#getLanguageName" 2014-09-12 21:46:34 +00:00
Roan Kattouw 7545868bc8 Don't return undefined in ve.init.mw.Platform#getLanguageName
When the language isn't found, return an empty string
instead of undefined.

Bug: 70731
Change-Id: Ia28e0d24e57e3a24414e04bee58ec76459665ad4
2014-09-12 14:43:31 -07:00
James D. Forrester 686e294d79 Update VE core submodule to master (badcac5)
New changes:
badcac5 ve.getStartAndEndRects returns null for empty rect lists

Change-Id: I7236cb20101eea274aa04732e7d3d7e1e216a5ff
2014-09-12 14:40:13 -07:00
jenkins-bot 98d2a9c604 Merge "Update VE core submodule to master (028e8cb)" 2014-09-12 18:03:29 +00:00
Cmcmahon 954fec83e1 [BrowserTest] UI text changed s/Cancel/Resume editing/.
Change-Id: I774b6a3cf02627ea0399377b9f6d57ca474ead07
2014-09-12 10:53:59 -07:00
Cmcmahon aa67deaeef [BrowserTest] add one test to validate new ie11 build
Change-Id: I9add1caf0083e757d0a7f6da513bd798fd74e97e
2014-09-12 08:55:14 -07:00
lokal-profil dbb94ea221 Correct typo in visualeditor-dialog-meta-settings-redirect-statichelp
Change-Id: Ibd9459903f8ce278e414fd7ba891f653109f913d
2014-09-12 15:26:11 +00:00
James D. Forrester 702a38d700 Update VE core submodule to master (028e8cb)
New changes:
7e271a4 Add containsRange method to ve.Range
4745931 Convert all instances of assert.equal to assert.strictEqual
a8fab7a Rename frequency to pollInterval in SurfaceObserver
8e8217e Bind ve.ce.Surface#onDocumentMouseUp to the entire document on mousedown
29029c3 Localisation updates from https://translatewiki.net.
8345488 DomRange / getOffset edge cases
3c4826a Cache $documentNode in surface view
2fcc4c0 Trigger selection update on selectionchange or mousemove events
67aa7dd Fix JS error due to typo in dm.Converter

Change-Id: I846318357ba1f3a8ee59c4384b5dceef7a9e70ff
2014-09-11 19:14:55 -07:00
James D. Forrester 8b116d01a2 Remove VisualEditor.i18n.php
Stop trying to make REL1_22 support happen! It’s not going to happen.

Change-Id: I07bd542e7548fb913dbea8a27c5f15453cb46fb7
2014-09-11 17:11:07 -07:00
Translation updater bot ff803b321f Merge "Localisation updates from https://translatewiki.net." 2014-09-11 22:03:29 +00:00
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
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