Commit graph

6586 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
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
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
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
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
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 dc3351e615 Localisation updates from https://translatewiki.net.
Change-Id: I898f5d237545e7a26645be8bc272b4c7df86af8e
2014-09-10 23:44:39 +02:00
jenkins-bot d4f1f6ca7a Merge "Update LinkCache in MWTitleInputWidget" 2014-09-10 19:09:05 +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 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
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 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
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
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 f2e22babaa Update VE core submodule to master (1f82a47)
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
2014-09-03 17:20:09 -07:00
jenkins-bot bfbe8cbbeb Merge "Shrink height of summary box in save dialog from 80px to 4em" 2014-09-02 20:25:00 +00:00
jenkins-bot 567b0e7d53 Merge "Use combo box widget to suggest existing values for reference group" 2014-09-02 20:21:32 +00:00
Translation updater bot 8840ccdb53 Localisation updates from https://translatewiki.net.
Change-Id: I8764d5cf5293cd444582c658ef9d2c064a359fab
2014-09-02 22:18:50 +02:00
Translation updater bot acb59eac90 Localisation updates from https://translatewiki.net.
Change-Id: Ic15801ebe7ce7cb536103f73b7f7fc7949d4719c
2014-09-01 22:38:04 +02:00
James D. Forrester 0637104a17 Shrink height of summary box in save dialog from 80px to 4em
Change-Id: Ifd40bb19c7b57bab15c127d2de16940f9a239235
2014-09-01 12:06:22 -07:00
Translation updater bot 1f136f9d1d Localisation updates from https://translatewiki.net.
Change-Id: I411434f0e235af80ca010d0a4186ee914744c790
2014-08-31 22:01:02 +02:00