Commit graph

10589 commits

Author SHA1 Message Date
Ed Sanders 1eb0ef2011 Consistently use spaces inside brackets in CSS
Change-Id: Ie63a50cb16cb89dac7060857220485d7d23f2fe3
2015-10-04 18:33:43 +01:00
Ed Sanders d63dce138d MWExtensionNode: Fix selector to find dimension-less images
Change-Id: Idf219636f9b2b58e30b1a155c052ada4c60e6ec9
2015-10-02 14:18:13 +01:00
jenkins-bot ec2ff26563 Merge "Hack to stop logging edit events for non-desktop targets" 2015-10-02 00:09:05 +00:00
Alex Monk a46b7a819e Hack to stop logging edit events for non-desktop targets
Mobile target, for example, has events logged in the MobileFrontend extension instead
(which covers both the wikitext editor there and the VE integration)

Bug: T110272
Bug: T109525
Change-Id: I521f1825dc9c0a135db54cd005cda723908f14bc
2015-10-01 23:48:10 +00:00
James D. Forrester 6800e1bc04 Update VE core submodule to master (54ec246)
New changes:
ec74b6f [BREAKING CHANGE] PreviewElement: Remove deprecated alias to PreviewWidget
987d3b1 Follow-up c02882c: Don't break non-GCNs
df74df2 Localisation updates from https://translatewiki.net.

Change-Id: I9d2261b48593d604ff54cfea2ea5ff3e7472ab3a
2015-10-01 14:32:06 -07:00
jenkins-bot e14c8e11cf Merge "Change a bunch of parsoid references to acknowledge that RESTBase is sometimes in the middle" 2015-10-01 16:14:29 +00:00
jenkins-bot 1bbfcf23c6 Merge "MWExtenionNode: Ensure objects are deep copied when used in the hash" 2015-10-01 15:28:01 +00:00
Thalia 34f6e11a19 Call updatePreview when closing the LiveExtensionInspector
Call updatePreview in insertOrUpdate node, when closing the
inspector. If edits have only been made to attributes that
don't affect the rendering, updatePreview will not have been
called, so the model won't have changed. Therefore
updatePreview should be called every time the inspector is
closed to make sure such edits are applied.

Bug: T113078
Change-Id: I48fb291487f76fc515f122646d205366a60dca62
2015-10-01 15:58:20 +01:00
Ed Sanders c5c88482b9 MWExtenionNode: Ensure objects are deep copied when used in the hash
We don't expect users not to alter the hash (subclasses may delete items)
so make a copy of any objects we put in it.

Change-Id: I6274f47e02b9f2d53864d4a2ae80df42e6c89867
2015-10-01 15:57:49 +01:00
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