Commit graph

12409 commits

Author SHA1 Message Date
Translation updater bot 565a10da61 Localisation updates from https://translatewiki.net.
Change-Id: I937839d0970a94312dfa12aa2aa282b45a4d9d80
2015-10-25 22:09:01 +01:00
Timo Tijhof 51369ab9ab mw.TargetLoader: Avoid private mw.loader#moduleRegistry property
Follows-up 28f3a02e56.

* Use mw.loader#getState() instead of private 'moduleRegistry'.
  This property is not a supported API and may change at any time.

* Use plain push() instead of splice(). The order of modules
  is insignificant as dependencies are enforced by module registry
  only. Besides, the order is additionally normalised both
  client-side and server-side by ResourceLoader.

Change-Id: Id9291c97c3bfc01c4cf203aa7b15629fb8412f5b
2015-10-24 22:26:14 +01:00
James D. Forrester 3893ba87ca build: Upgrade mediawiki-codesniffer from v0.4.0 to v0.5.0
Change-Id: I7962490104cfd007abc726c81fa5039bae09a801
2015-10-23 08:41:19 -07:00
jenkins-bot bc5e827ffb Merge "AceEditorWidget: Use showLineNumbers instead of showGutter" 2015-10-22 23:24:53 +00:00
jenkins-bot 724aeb9b33 Merge "Add theme-specific drop shadows to target loading bar" 2015-10-22 23:06:58 +00:00
jenkins-bot a67c62a754 Merge "Create separate skinStyles for target loading bar" 2015-10-22 23:06:56 +00:00
Ed Sanders 21aec73795 AceEditorWidget: Use showLineNumbers instead of showGutter
The gutter is still useful even if line numbers are hidden.

Change-Id: Ia85ce7cd4987eb0b7022dc35cfd1029fbe78e3dc
2015-10-23 00:04:57 +01:00
jenkins-bot 2018249d97 Merge "Create more MW sequences" 2015-10-22 21:49:54 +00:00
Ed Sanders 07d56b6b5d Create more MW sequences
* '{|' for tables
* '<!--' for comments
* '<gallery' for galleries

Change-Id: Ib78c411bf8676bc1974bb80515fd56c642cd67b7
2015-10-22 22:23:13 +01:00
Translation updater bot 7317ee1f2c Localisation updates from https://translatewiki.net.
Change-Id: Ic63f9b48379735da1b506ea7f7e447c0196c761e
2015-10-22 22:05:34 +02:00
Bartosz Dziewoński cf6178f3a1 ve.ui.MWMediaDialog: Reset upload booklet when done uploading
Bug: T115380
Change-Id: I7c252a08cc2f09385102650e4d437e74d3919e59
2015-10-22 20:30:44 +02:00
jenkins-bot 9e74b26c41 Merge "ve.ui.MWMediaDialog: Correct harmless typo in method name" 2015-10-22 18:26:15 +00:00
Bartosz Dziewoński 777fc0445e ve.ui.MWMediaDialog: Correct harmless typo in method name
Change-Id: Ibeb037896123349edac6bc74ab0d9541a2a63e93
2015-10-22 20:18:43 +02:00
Bartosz Dziewoński c5434b2db8 ve.ui.MWMediaDialog: Only disable 'upload' and 'save' actions on setup, not on tab switch
When the tab is switched, we already set a mode that doesn't allow
using these actions.

Bug: T116299
Change-Id: Ib3ba50f578face3d49bcd14e41afe01a3b3d15af
2015-10-22 20:12:03 +02:00
Bartosz Dziewoński bc9487cc8e ve.ui.MWMediaDialog: Move upload booklet init further up
The first time this is called, it will try to switch panels, so it has
to be done before we switch to the right panel.

Bug: T116217
Bug: T116219
Change-Id: I22411024995e22ae65bde1e6418748aedf026b1b
2015-10-22 19:44:39 +02:00
jenkins-bot bc15c3e189 Merge "Move sequence registrations adjacent to commands" 2015-10-22 16:12:38 +00:00
jenkins-bot ca982073aa Merge "Introduce Ace editor widget" 2015-10-22 15:47:07 +00:00
jenkins-bot 5a9999ed12 Merge "References: Don't load ext.visualEditor.mwreference if Cite is not installed" 2015-10-22 15:32:56 +00:00
jenkins-bot e553ebeff3 Merge "'<ref' sequence: Trigger basic dialog if Citoid not installed" 2015-10-22 15:32:33 +00:00
Ed Sanders c9fc5fb171 Add theme-specific drop shadows to target loading bar
As a modal popup it should have a drop shadow

Change-Id: I5b4a07c268c30124ed7ba6cc5391005595abeb7b
2015-10-22 16:02:25 +01:00
Ed Sanders 9749ff5187 Create separate skinStyles for target loading bar
Change-Id: I74eff697711641a7c111564ddb9e493ad358b8d4
2015-10-22 16:01:44 +01:00
Ed Sanders 57d33a291e Move sequence registrations adjacent to commands
If a command is not registered because a file/module is not
loaded, the sequence should not be loaded either.

Change-Id: I45d86ad371c7b717601b6593eaa573292ebdd4ed
2015-10-22 15:15:41 +01:00
Ed Sanders 28f3a02e56 References: Don't load ext.visualEditor.mwreference if Cite is not installed
Ultimately we should move all the code for this module to the cite
extension.

Bug: T41621
Change-Id: Ia2fcc9513ae806aaa173770337f176d5dbf59709
2015-10-22 11:36:17 +01:00
Ed Sanders 524c2c9ee0 '<ref' sequence: Trigger basic dialog if Citoid not installed
Change-Id: Ibb7589e760e5583e12581cd4fc07dc88101420ea
2015-10-22 11:21:20 +01:00
James D. Forrester 0cf3b77638 Update VE core submodule to master (e1c0146)
New changes:
ce68687 build: Use my gmail address for attribution
383ba35 Update my .mailmap and AUTHORS.txt entries
9c0b520 .mailmap: Update for recent commits
1abcf64 AUTHORS.txt: Update for Autumn 2015
74fb1d6 Fix typo in WhitespacePreservingTextInputWidget class
7528d7c ce.Surface afterKeyDown shouldn't assume .contenteditable is boolean
ee4c3a2 ve.ce.Surface: Defer checkSequences call for insertText as well

Change-Id: Ice507aa8d260177ccd8b5e1b44e6474a8eda36e7
2015-10-21 15:56:01 -07:00
Ed Sanders 60c1ee7d56 Introduce Ace editor widget
The widget attempts to load the ext.codeEditor.ace.modes module
and if it fails, will fall back to regular TextWidget behaviour.

Bug: T49742
Change-Id: Ie483f6eba25e3732a396c18decc0e1844b806b23
2015-10-21 20:59:08 +01:00
jenkins-bot f2b491daea Merge ".mailmap: Update e-mail addresses for David Chan and Thalia" 2015-10-21 16:09:09 +00:00
Translation updater bot 15748bde2d Localisation updates from https://translatewiki.net.
Change-Id: I4cef8d64023e3af574eb9d746098858b4cb39d46
2015-10-20 22:52:49 +02:00
James D. Forrester 5e55d4d4c6 .mailmap: Update e-mail addresses for David Chan and Thalia
Change-Id: I5c0544aae3d19e57b464e1c42598257f7c82a230
2015-10-20 09:07:12 -07:00
Timo Tijhof 2c3a2f7dc2 build: Use my gmail address for attribution
Per the .mailmap file, my gmail address it the canonical address
for this purpose.

Change-Id: I85de941ef5f8cf9a80cc35647500c5baaa594ac3
2015-10-20 02:37:51 +01:00
James D. Forrester 297d7d2cfc Update VE core submodule to master (e25b3fe)
New changes:
84bac04 Remove the "Open" button from link inspectors
5e133fa Update OOjs UI to v0.12.12
d8ddf01 DM Surface: Cleanup emission of 'history' event
c65b032 De-Houdini-fy the handling of observed DOM changes
cd934fa Run renderContents before finding nodes by offset
4393fcd Localisation updates from https://translatewiki.net.
f2b5760 getNodeAndOffset: handle slugless nodes with zero DM length
97ba0da Localisation updates from https://translatewiki.net.
f2d80b4 Localisation updates from https://translatewiki.net.
e25b3fe Follow-up 97ba0da: Fix build for added language 'sgs'

Change-Id: I3eca1e9b9c753bbe4c896d2271c84b89707eb813
2015-10-19 14:52:24 -07:00
Translation updater bot ab7394f674 Localisation updates from https://translatewiki.net.
Change-Id: I6ad4b1bbd99e737e50e43ffa50bd5efead3142b0
2015-10-19 22:22:09 +02:00
Translation updater bot 0df380a3d5 Localisation updates from https://translatewiki.net.
Change-Id: I9480dfe3fb12c4dbbbb5d660d54911067415d1d6
2015-10-18 21:58:41 +02:00
James D. Forrester 5732bd26fb ApiVisualEditor: Switch RESTbase config from 'scrubWikitext' to 'scrub_wikitext'
Change-Id: I08ca5eab1423232b96faf39f12b25b679a0d77bd
2015-10-17 00:07:34 +00:00
Translation updater bot 07b66e4703 Localisation updates from https://translatewiki.net.
Change-Id: Ia7021c4366ffa854444796ac70bd2a299ee72f13
2015-10-16 22:07:09 +02:00
Ed Sanders 760d9c130c EducationPopup: Tidy up DOM and CSS
Change-Id: I4effa34a4d3ddfca0f6ee61fe169a726dc0ec3f6
2015-10-15 22:35:30 +01:00
Translation updater bot 692a2a37e1 Localisation updates from https://translatewiki.net.
Change-Id: I9050b383581d6950a4de2ad58f2600918f7c37d5
2015-10-15 21:33:25 +02:00
Ed Sanders 5bde3be8a6 Browser tests: Fix selectors for strikethrough and underline
Change-Id: I94010005369b225494f5e603d71d1f57941d7db0
2015-10-15 15:49:01 +01:00
Translation updater bot e64d143678 Localisation updates from https://translatewiki.net.
Change-Id: I4a8d12cd63d7ecc11106cdcdbee74060183796e8
2015-10-15 09:53:04 +02:00
jenkins-bot a9d9ab1ae8 Merge "Followup 9d6fbc894e: fix JS error in education popup" 2015-10-15 00:38:48 +00:00
jenkins-bot eb8695f7ee Merge "Browser tests: Fix table test" 2015-10-15 00:32:53 +00:00
jenkins-bot 09428d13a1 Merge "Browser tests: Fix media insert test" 2015-10-15 00:30:43 +00:00
jenkins-bot 44c3f31e77 Merge "Browser tests: Update link inspector tests" 2015-10-15 00:30:41 +00:00
jenkins-bot d839c37c31 Merge "Revert "[Browser tests] Wait for save button to be enabled"" 2015-10-15 00:24:07 +00:00
Roan Kattouw 17a5cf6a93 Followup 9d6fbc894e: fix JS error in education popup
If a tool had an education popup bound to it, but it was
suppressed because the user has already seen it (according to
the cookie or localStorage), then clicking that tool would
cause a JS error.

Also remove a workaround for a ClippableElement problem
that appears to be unnecessary.

Change-Id: I73a3f5f9cc1726e28e70fc545b72960afc5ac41c
2015-10-14 16:32:14 -07:00
jenkins-bot 81a89952ef Merge "Educational popups and highlights for links+citations" 2015-10-14 21:52:50 +00:00
Ed Sanders 780d42b295 Browser tests: Fix table test
Change-Id: Ib2751cd58dd134f61f94e0a0e8c9c3540a7f26ea
2015-10-14 22:27:42 +01:00
Ed Sanders 4cbcfe8b66 Browser tests: Fix media insert test
Change-Id: I55c9247d235fa7ed4e020c62338d42a88d6c2358
2015-10-14 22:27:42 +01:00
Ed Sanders 2948d0b324 Browser tests: Update link inspector tests
Change-Id: I5e902b4ab3215450a4374fb7327159d3edfc5ef2
2015-10-14 21:29:14 +01:00
Esanders 60e3b55393 Revert "[Browser tests] Wait for save button to be enabled"
This reverts commit 122be9c95a.

Change-Id: Ia79636d5fdcf3f1a224c93688c164bf1030c3bee
2015-10-14 21:27:21 +01:00