Commit graph

10579 commits

Author SHA1 Message Date
Ed Sanders 50de745afd MWExtensionNode: Copy mw data before modifying
Otherwise we are directly modifying model.element.attributes
which is very bad.

Change-Id: Icf066a5848b9c67c2c4b3fcafd72d0142996e48d
2015-10-01 13:34:01 +01:00
jenkins-bot 2566110456 Merge "build: Alter settings to force utf-8 and allow .php5/.inc extensions" 2015-10-01 05:22:36 +00:00
jenkins-bot cc9a2140e8 Merge "Update VE core submodule to master (a98e11c)" 2015-10-01 01:33:53 +00:00
jenkins-bot f323aa9108 Merge "Update VE core submodule to master (ca4bd8c)" 2015-10-01 01:18:50 +00:00
James D. Forrester 2668383755 Update VE core submodule to master (a98e11c)
New changes:
3eea110 Refactor PreviewElement to allow preview to be updated
c02882c Don't render errors in generated content

Change-Id: I1ecd85473846a0ce533a885e28440e443d9928ea
2015-09-30 18:18:15 -07:00
jenkins-bot 76fc2f71ad Merge "More autodisable script fixes" 2015-09-30 21:33:26 +00:00
Alex Monk 4a7bf9d894 More autodisable script fixes
* Load users from master, probably not useful until I4ffc8325 goes in
* Don't bother with extra query for 0 users at the end, stop when we get less
  users than our batch size limit.

Bug: T112352
Change-Id: Ie800a5aa3b134301ead75cc5b3ae112f29589e3c
2015-09-30 22:08:37 +01:00
jenkins-bot 1b455ac201 Merge "Call afterRender whether or not images emit 'load'" 2015-09-30 21:00:13 +00:00
Thalia 53f4aa64d9 Call afterRender whether or not images emit 'load'
MWExtensionNodes currently don't call afterRender if the image
is already loaded, which can happen if we decide not to rerender
after an update (e.g. when the response is an error).

Change-Id: Ic9c11e446a7cc789bb20680466709ff2ad5cb22e
2015-09-30 21:47:40 +01:00
Translation updater bot 90d7b4f3ce Merge "Localisation updates from https://translatewiki.net." 2015-09-30 20:13:07 +00:00
Translation updater bot d6f09eb3b0 Localisation updates from https://translatewiki.net.
Change-Id: I661c0b37dce0b8e30c960dad2bfa0600e9920d83
2015-09-30 22:12:21 +02:00
Alex Monk 5d3cd8ebbb Fix output from autodisable pref script
Report correct number of users and add linebreak.

Bug: T112352
Change-Id: I19cd23ff4c28a83408881c299fb3a3ef42ea305b
2015-09-30 20:57:48 +01:00
C. Scott Ananian 0ec26ef23b Rename RESTBase1/Parsoid3 bodyOnly parameter to body_only
The old `bodyOnly` name was deprecated on 2015-09-09.

Bug: T114185
Change-Id: Ic7b71acdbf56366cd4bd0172f06f75babf45edb7
2015-09-30 10:31:05 -04:00
James D. Forrester 01bd73c808 Update VE core submodule to master (ca4bd8c)
New changes:
8c917a7 Add focused class to surface when focused
04d7f8c Localisation updates from https://translatewiki.net.
dfc71e6 Move cursor offset calc from CE Surface to DM Document
02040d0 Localisation updates from https://translatewiki.net.
7d6d49e IME tests: Add IE11 Win8.1 Korean; name specific Windows versions
7ce9d64 Localisation updates from https://translatewiki.net.
ca4bd8c Update OOjs UI to v0.12.10

Change-Id: I7c04d72cb6bf1d21eb257e2a6cf42c61c7d34eba
2015-09-29 15:14:02 -07:00
Translation updater bot c1f26c0922 Localisation updates from https://translatewiki.net.
Change-Id: I53bf43111c86cabfb668f0bd3d05b57611e78bb1
2015-09-29 22:10:19 +02:00
Ed Sanders 074f7bcefe Follow-up If556afa10: Fix typo: nodeType -> nodeName
Change-Id: I19915647981787f7bbf2c86fc7bd02308d5da218
2015-09-29 17:35:23 +01:00
jenkins-bot d3d81ca258 Merge "MWInlineExtensionNode: Don't assume responses are always <p>-wrapper" 2015-09-29 12:43:36 +00:00
Roan Kattouw 0d4b30f927 MWInlineExtensionNode: Don't assume responses are always <p>-wrapper
For the Score extension they aren't, and this causes JS errors in production.

Change-Id: If556afa1046f460d7fdd29cb1c50ac93dad88fde
2015-09-28 19:36:48 -07:00
Roan Kattouw 28fbf2bcda Update autodisable logic
* Make betatempdisable appear checked if autodisable is true
* Set autodisable=false only if betatempdisable is also false
* On wikis where $wgVisualEditorTransitionDefault=true, set
  autodisable=true when the user disables VE

Change-Id: I3415af4a735afb10cf246f4b22b9d84ef98c882f
2015-09-28 18:19:56 -07:00
jenkins-bot ce8107ec0b Merge "Autodisable preference" 2015-09-28 23:46:59 +00:00
Alex Monk 97e70ba3cc Autodisable preference
We want to flip the default of visualeditor-enable to true, but don't
necessarily want to turn it on for users who already have contributions but who
haven't already enabled it. Therefore we're considering adding such users to
this autodisable preference which they can self-remove (by explicitly enabling
VE) or we can target later, separate from betatempdisable users.

Bug: T112352
Change-Id: I1ce5e6c92055e30fdc82bc912a767e913b190ef6
2015-09-29 00:30:27 +01:00
jenkins-bot 47853805e4 Merge "build: Update mediawiki-codesniffer from 0.3.0 to 0.4.0" 2015-09-28 23:19:21 +00:00
Siebrand Mazeland 1025b8b3b0 build: Alter settings to force utf-8 and allow .php5/.inc extensions
Change-Id: Id640580ef83172466bb3846cee9b2583f2cf2b74
2015-09-28 23:11:06 +00:00
Siebrand Mazeland cd16c7ca20 build: Update mediawiki-codesniffer from 0.3.0 to 0.4.0
Change-Id: Ib600cdc99549c0c2e345013670cb4cd7479d685f
2015-09-28 23:09:42 +00:00
jenkins-bot 3aee082548 Merge "MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget" 2015-09-28 21:10:54 +00:00
Translation updater bot d17197696f Localisation updates from https://translatewiki.net.
Change-Id: I89a27eeb175bfcf2f4cb3dd4beba38a664def4d8
2015-09-28 22:51:02 +02:00
jenkins-bot f9247ce087 Merge "MWLinkAnnotationInspector: Update actions when changing tabs" 2015-09-27 22:07:23 +00:00
Ed Sanders f814ea719b MWLinkAnnotationInspector: Use TitleSearchWidget instead of TitleInputWidget
Depends on I335bd912d in MediaWiki core.

Bug: T101169
Change-Id: I2932c9df5444d1363af5af9b438bb905ed298148
2015-09-27 14:03:52 +01:00
Ed Sanders a04d2ff52b MWLinkAnnotationInspector: Update actions when changing tabs
Change-Id: I825531683eeb8b7e21b741f1dc5d338abc9d347a
2015-09-27 14:03:29 +01:00
Translation updater bot a60f360ae0 Localisation updates from https://translatewiki.net.
Change-Id: I081accdb1ac5a8d321b05bed986862f161a9bd99
2015-09-26 21:18:17 +02:00
jenkins-bot 2e4a70e082 Merge "Add scroll padding equal to the document height for iOS" 2015-09-26 16:39:26 +00:00
Ed Sanders 6769860adb Add scroll padding equal to the document height for iOS
Allows users to edit the end of the document in iOS without
the keyboard obscuring the content.

Change-Id: I72f1de97e61a0c0d8acac2e58b36b3ece58fca89
2015-09-26 17:06:37 +01:00
James D. Forrester c0c5a028cf Add MediaWiki version requirement to extension.json
Remove the now-empty ::onSetup hook.

Change-Id: I67fe9cf9d05a16199a507f99f5ec295ae7e64dc2
2015-09-26 14:27:44 +00:00
jenkins-bot 763b9c8058 Merge "Update VE core submodule to master (27fc244)" 2015-09-26 13:38:42 +00:00
jenkins-bot 6e014ac612 Merge "Update VE core submodule to master (64a932b)" 2015-09-26 13:38:40 +00:00
jenkins-bot 03d4e08a83 Merge "Allow autolinking ISBN/PMID/RFC inside list items" 2015-09-26 13:38:37 +00:00
jenkins-bot 81282a7769 Merge "Autolink of magic links should create node not annotation" 2015-09-26 13:38:34 +00:00
jenkins-bot 1e48a3d0ec Merge "Update VE core submodule to master (518456c)" 2015-09-26 13:35:56 +00:00
Ed Sanders 6ed5877c69 Update VE core submodule to master (27fc244)
New changes:
18e46b6 [BREAKING CHANGE] LinkAnnotationWidget: Abstract .text property to getTextInputWidget

Local channges:
* MWLinkAnnotationInspector: Use new getTextInputWidget method

Change-Id: Ia33797d612be7b4521e7212047a38480ee2520df
2015-09-26 12:27:56 +01:00
James D. Forrester 18f30efc5b Update VE core submodule to master (64a932b)
New changes:
2c84a24 Localisation updates from https://translatewiki.net.
b87fd8a Follow-up 2c84a24: Fix build for added language 'azb'
64a932b Ignore slugs and chimeras when preventing identical re-renderings

Change-Id: Icad799f4af424d45369c0b4ac367e5082202ea4a
2015-09-26 12:14:53 +01:00
Alex Monk 3386f66770 Save dialog: Make review/resolve actions work in mobile
Depends on Ic92378b7

Bug: T111894
Change-Id: I5ca5f803642dd12db4e9fb213dc6478701661528
2015-09-26 00:08:31 +01:00
jenkins-bot 958402c95a Merge "[BrowserTest] Screenshot gem version updated to 0.0.7" 2015-09-25 21:57:21 +00:00
Vikas S Yaligar 401e183bce [BrowserTest] Screenshot gem version updated to 0.0.7
Zoom functionality will now work on Mac OS X
(https://github.com/amire80/screenshot/issues/12)

Change-Id: If9cc4dc915e850b02b237531eddcddda4f6e4e08
2015-09-25 21:51:44 +00:00
Translation updater bot 6b25f41b95 Localisation updates from https://translatewiki.net.
Change-Id: I40f2f7202c5b1a6eadaaa99f4cc2fa33419a3d51
2015-09-25 22:38:27 +02:00
C. Scott Ananian 92bfa93e4e Autolink of magic links should create node not annotation
Depends on: I9679cf0fd550c9b156370fc88953414460c801a4

Bug: T112675
Change-Id: I97a1750b3424c09e181976029f10ee161129b166
2015-09-25 14:21:33 -04:00
jenkins-bot a5d3a4dfae Merge "Adjust uses of renamed PreviewWidget to PreviewElement" 2015-09-25 09:41:03 +00:00
Thalia b7bdf2d867 Adjust uses of renamed PreviewWidget to PreviewElement
Depends on I516b87f3be in VE core.

Change-Id: I9ad4bab3fff0bf0fb8a79673dbe67be4a9b2c363
2015-09-25 09:37:34 +00:00
C. Scott Ananian 07f67bdb22 Allow autolinking ISBN/PMID/RFC inside list items
Depends on I18b73514e5a3d967cce02d9706a11e30ede71d9a in ve core.

Bug: T113535
Change-Id: Ifc749951a6e92e19a7eb27ed631f8ba11d88a5cf
2015-09-25 10:35:18 +01:00
James D. Forrester 76a8b0d127 Update VE core submodule to master (518456c)
New changes:
0808e3b Refactor ve.ui.LinkAction to allow autolinking to create nodes
867f558 Avoid protocol-relative base Firefox bug in unit tests
8ece359 Use equalDomElements tests for CE HTML
897999d Make layout-specific paste tests
0296b1d build: Bump various devDependencies
4620000 ve.dm.Scalable: Get test coverage to 100%
294dab5 Add getDomFromNode method to ve.dm.Converter
98f940b build: Bump browserNoActivityTimeout from 10s to 30s
93bc745 Allow ve.getDomElementSummary to modify attributes
89ea9a3 Make fixBase tests account for no-op behavior when baseURI is valid
5d4bfb6 Localisation updates from https://translatewiki.net.
ad41023 Allow autolinking inside list items

Change-Id: I166a825191627a3b6f36995ddca6a97fa8f4c582
2015-09-25 10:33:40 +01:00
Translation updater bot 6904180054 Localisation updates from https://translatewiki.net.
Change-Id: I4c31c5b04ed1fb784d837a112da0e3a6cd04d7c7
2015-09-24 21:33:13 +02:00