Commit graph

7152 commits

Author SHA1 Message Date
James D. Forrester dd81908a50 [Browser tests] Disable svwikt production test as it's NS_USER-only
Unlike all other wikis with VisualEditor enabled, svwiktionary is set to
only allow VisualEditor in the User: namespace, so causing the production
test (which blindly tries to make a dummy edit in the main namespace) to
fail. For now, will just remove this one from the test.

Change-Id: I6f1eb8bd6bd384e1c9ca77c0036e3914f0dbe070
2014-04-21 19:29:29 +00:00
jenkins-bot a1c4df7980 Merge "Update wgRevisionId when we change wgCurRevisionId" 2014-04-21 19:06:44 +00:00
James D. Forrester 902b23ea58 Update VE core submodule to master (5d94d8b)
New changes:
fc3be96 oojs-update.sh: Update to match version of script in mediawiki-core
1031079 update-oojs-ui.sh: Replace target dir instead of adding file copies
08fbae1 Add forgotten OOjs UI i18n files
5d94d8b Localisation updates from https://translatewiki.net.

Change-Id: I279d2f4b73134f7c95d8affe4191dc111b901809
2014-04-21 10:53:06 -07:00
James D. Forrester 7cc2190e68 Update .docs/eg-iframe.html to current
Change-Id: I323265e303258929eac5d85a96a412315c6780a5
2014-04-21 09:06:39 -07:00
Translation updater bot 431d2bd400 Localisation updates from https://translatewiki.net.
Change-Id: I2f17e57914232c35269de6071016d04aea27f6f7
2014-04-20 20:11:59 +00:00
jenkins-bot df6915299f Merge "Clarify the message visualeditor-dialog-meta-categories-sortkey-label" 2014-04-19 19:55:09 +00:00
Amir E. Aharoni a04582dba3 Clarify the message visualeditor-dialog-meta-categories-sortkey-label
Explaining that the sorting is about the name of the page
should make this feature clearer for new editors.

Change-Id: I9f152e0d3dc5e9bf937d9222d95b7c3c15db87f9
2014-04-19 12:52:12 -07:00
Krenair 167a2f341e Update wgRevisionId when we change wgCurRevisionId
Bug: 56532
Change-Id: Ibb5a92d66a7a60ef516d3ef385b4473919a6ac63
2014-04-19 17:59:28 +01:00
Amir E. Aharoni 440fd82f3b Clarify the text of visualeditor-dialog-media-position-checkbox
Change "Wrap content with this item" to
"Wrap text around this item".

The content is usually text, so using "text" should be
clearer and easier.

And saying "wrap content with this item" may be understood
as if the text is wrapped inside the content, which
is not the case.

Change-Id: I6b9e8767d38eb39ae4d671f452660db6b89fe3d9
2014-04-19 11:57:36 +03:00
jenkins-bot a24cffed00 Merge "Set context title when rendering edit notices and checkboxes" 2014-04-19 03:48:53 +00:00
Roan Kattouw ddb8d826e3 Set context title when rendering edit notices and checkboxes
Bug: 59608
Bug: 63600
Change-Id: Ia2fdb3b3d383415feaf122d235d0c9a9e0ba0900
2014-04-19 03:09:28 +01:00
jenkins-bot b657f37795 Merge "Use Parsoid API for action=parsefragment" 2014-04-19 00:13:43 +00:00
jenkins-bot f28f5e3996 Merge "Create requestParsoid method for all requests to Parsoid API" 2014-04-19 00:01:18 +00:00
James D. Forrester 6e02932c3a [Browser tests] Updated list of production wikis to check
Now with no wikis deliberately skipped – all passing:

Newly-working wikis:

* bpy.wikipedia.org
* cv.wikipedia.org
* mzn.wikipedia.org
* new.wikipedia.org

Previously-working wikis that weren't added here yet:

* bat-smg.wikipedia.org
* be-x-old.wikipedia.org
* cbk-zam.wikipedia.org
* fiu-vro.wikipedia.org
* map-bms.wikipedia.org
* my.wikipedia.org
* nds-nl.wikipedia.org
* roa-rup.wikipedia.org
* roa-tara.wikipedia.org
* zh-classical.wikipedia.org
* zh-min-nan.wikipedia.org
* zh-yue.wikipedia.org

Newly-added wikis that weren't added here yet:
* meta.wikimedia.org
* incubator.wikimedia.org
* fr.wiktionary.org
* sv.wiktionary.org
* fr.wikibooks.org
* fr.wikiversity.org
* fr.wikinews.org

The file has been sorted into the same order as visualeditor.dblist for
the convenience of future changes – broadly:

* Test and meta wikis (inc. MediaWiki.org and Wikimedia Incubator)
* Wikipedias
* Wiktionaries
* Wikiquotes (none done yet)
* Wikibooks
* Wikisource (none done yet)
* Commons (not done yet)
* Wikispecies (not done yet)
* Wikiversities
* Wikinewses
* Wikimanaias (none done yet)
* Wikivoyages (none done yet)
* Wikidata (not done yet)
* Wikimedia (chapter wikis)
* Private wikis (not tested here)

Bug: 60842
Change-Id: I2678a3c716487bfd8dadff68d003d0039d730f36
2014-04-18 21:56:58 +00:00
jenkins-bot fd0b1d34b9 Merge "Use new OOUI pending feature rather than loading bar thing on save dialog" 2014-04-18 21:20:51 +00:00
Amir E. Aharoni e21b4db424 Add GENDER to visualeditor-dialog-transclusion-no-template-description
Change-Id: I0ba67a8a705cd652a75bbf72892056813705e7d6
2014-04-19 00:04:39 +03:00
Krenair b6f1793bf8 Use new OOUI pending feature rather than loading bar thing on save dialog
See I5c45cc6 for the oojs-ui change and I2fa71a1d for a similar commit

Change-Id: I77e3274a196bc13ae19a9520197f4a8b624fd528
2014-04-18 21:57:14 +01:00
Roan Kattouw 654d641c5f Update VE core submodule to master (33ca43b)
Reorganize stylesheets in VE-MW to match JS directory structures,
and update VisualEditor.php for similar reorganization in VE core.

New changes:
c6ed962 Reorganize stylesheets

Change-Id: I4f1070643744fb2ee6726cb03e012e31a9a05c64
2014-04-18 13:28:31 -07:00
Ed Sanders 509b3db9ba Use Parsoid API for action=parsefragment
Bug: 48524
Change-Id: I8a61d2fab87d2a2e88ec2f3bbdef9ede1c7ad773
2014-04-18 13:19:54 -07:00
Ed Sanders 46988b2bd4 Create requestParsoid method for all requests to Parsoid API
Merges logic for GET & POST requests.

Change-Id: I17578177a6fc28b32f7d41c7ca6e6cf4ccaab9d9
2014-04-18 13:17:02 -07:00
Roan Kattouw fb523fb066 Update VE core submodule to master (a2ddd0c)
New changes:
aede196 Clear inspector fragment from teardown(), not close()
db3de1f Localisation updates from https://translatewiki.net.
3c97e56 Tests for ce.Surface#getNearestCorrectOffset
e1d9ab2 Localisation updates from https://translatewiki.net.
a2ddd0c Update OOjs UI to v0.1.0-pre (989950a4db)

Change-Id: Id0f163d56dd0a0f6dd27a3ec2a102b0a43b27319
2014-04-18 13:14:18 -07:00
jenkins-bot f002889376 Merge "Make transclusion dialog "pending" while loading" 2014-04-18 20:12:05 +00:00
Translation updater bot 1099f1117f Localisation updates from https://translatewiki.net.
Change-Id: Icf474ecf74335c6448f099df8176b67757593233
2014-04-18 19:37:56 +00:00
jenkins-bot 987b10da94 Merge "Check useeditwarning preference before showing warning when browsing away from editor" 2014-04-18 19:24:23 +00:00
jenkins-bot 3ca0b1f677 Merge "Disable transclusion dialog mode button while loading" 2014-04-18 19:13:10 +00:00
jenkins-bot 643237063c Merge "Make Hiero node live update" 2014-04-18 18:23:58 +00:00
jenkins-bot 93dfec1b7e Merge "Create MWLiveExtensionInspector base class" 2014-04-18 18:23:50 +00:00
jenkins-bot da475dd4b1 Merge "[browser test] increase wait for save to complete" 2014-04-18 16:41:02 +00:00
cmcmahon c4707a05fb [browser test] increase wait for save to complete
sleep() is evil, but let this stay at least for now

Change-Id: If3c98b2a05ea37dee0365afd5f17cf8b282ab29a
2014-04-18 09:38:27 -07:00
Željko Filipin 1236387abd [browser test] Run all Selenium tests in Firefox
Paired with: Chris McMahon
Bug: 58040

Change-Id: I83d4c391fc101bda8c18a6d0c533ca75795569ff
2014-04-18 17:33:12 +02:00
jenkins-bot 12e780c67a Merge "Remove getVersion from api module" 2014-04-18 04:23:23 +00:00
jenkins-bot caecb84b9b Merge "Remove Function.prototype.bind from compatibility check" 2014-04-18 04:16:49 +00:00
Ed Sanders 28bd951c90 Make Hiero node live update
Just change inheritence.

Change-Id: Id63f545d16a478e336ddeb6cc8f1a31c88ee1aaa
2014-04-17 17:59:00 -07:00
James D. Forrester e09e6c9f28 Create MWLiveExtensionInspector base class
Most of the code stolen from MWMathInspector and genericised.

Also fix issues with fragment not wrapping the new node correctly.

Bug: 58286
Bug: 58045
Change-Id: I708c4cb012becf8c493d5b65a051c0b13f7a11ac
2014-04-17 17:58:56 -07:00
jenkins-bot 52e103f454 Merge "Add whitespace" 2014-04-18 00:23:43 +00:00
Ed Sanders 29476afe83 Use forced directionality for HieroInspector
Change-Id: I2f4b15fb7bc1b3d028106e09fb5039ee5cb2987a
2014-04-17 17:03:51 -07:00
Trevor Parscal 062b2ed681 Make transclusion dialog "pending" while loading
Also, only allow animation of anything after things are ready

Depends on I5c45cc6 in oojs-ui

Change-Id: I2fa71a1d9a43db960aac4c1fad87eae96c898fad
2014-04-17 15:06:11 -07:00
Trevor Parscal 89f040626e Disable transclusion dialog mode button while loading
Change-Id: Iec8ea9d490b43504d25ecf05bd4a43701d503c35
2014-04-17 15:03:43 -07:00
Ed Sanders 8070f48d27 Extension inspector directionality
Use a dir string instead of isLtr boolean like we do everywhere
else. Also use this.constructor.static, not this.static inside
methods.

Fixes Ie0525628.

Bug: 64072
Change-Id: I5321b71a446802d89ca86d55a0bff855b69825eb
2014-04-17 22:00:36 +00:00
Translation updater bot 25d1ca0659 Localisation updates from https://translatewiki.net.
Change-Id: Id4f98d4bd9e6cbfb0ff845eedf7a3e68c2eaedb9
2014-04-17 19:02:52 +00:00
Alex Monk ca547a7f7c Check useeditwarning preference before showing warning when browsing away from editor
Bug: 51057
Change-Id: Ic4b02372e6e08d3a0d36457457a2e2bbfbaa797d
2014-04-17 15:57:10 +01:00
Niklas Laxström dc4015455b Remove getVersion from api module
This method is deprecated since 1.21, VE is marked to require 1.22.

Change-Id: I67d30777fe0b2ebdacffcb2d6ca92275321c4e68
2014-04-17 14:04:21 +00:00
Niklas Laxström 32446f3cb3 Add whitespace
Change-Id: Id4448bcd952b1b9664cf74a99be80b8129fafa4d
2014-04-17 14:03:46 +00:00
Niklas Laxström 4c0221c09c Remove useless isset
The exact same thing is access two lines above without isset

Change-Id: I242b9f402908c7d40c0dc026c6c5d99ac1e2bf4a
2014-04-17 08:17:16 +00:00
James D. Forrester df31082085 Remove Function.prototype.bind from compatibility check
We aren't using it anyway, and it blocks some browsers unnecessarily
(PhantomJS in particular).

Change-Id: I90b1124704bfaf571212fdf9e187a450104176dc
2014-04-17 03:49:03 +00:00
James D. Forrester 287efeef6f Update VE core submodule to master (83be91a)
New changes:
d375dc1 Restore call to dm.Surface#startHistoryTracking removed in I9f8b840c
576a4c1 Call stopHistoryTracking() when destroying ui.Surface
83be91a Update OOjs UI to v0.1.0-pre (9d291a9222)

Change-Id: I2b9f272fc9e9d8784d435a40641d655014d9cff7
2014-04-16 20:48:38 -07:00
jenkins-bot a1fd95e522 Merge "Don't change tabs on Education Program pages" 2014-04-17 03:38:50 +00:00
Krenair e3be4a6588 Don't change tabs on Education Program pages
Unfortunately the best way I've come up with to do this so far is
checking the namespace.

Bug: 53477
Change-Id: Ib2dbe91aff516f2d2408e07ff3f73ea861bfcbe2
2014-04-16 20:33:24 -07:00
jenkins-bot 564e77bc43 Merge "Allow MWExtensionInspector to be set to forced LTR status" 2014-04-17 03:21:17 +00:00
jenkins-bot 07a7708da1 Merge "Follow redirects in the category widgets" 2014-04-17 02:44:41 +00:00