Commit graph

7856 commits

Author SHA1 Message Date
Alex Monk 237d68f6db Offer to retain changes when switching to the wikitext editor
Bug: 57462
Change-Id: I4e57f9dff4479531e7c715966bdad2cabb97ca8c
2014-06-27 22:31:07 +01:00
James D. Forrester 4be59a00c1 Update VE core submodule to master (a014302)
New changes:
5f2dd5c Update OOjs to v1.0.10
49fae55 Always refocus the paste target when a node is selected

Change-Id: I7647ee189ce5df1e748f660bb2f43c160d7729f9
2014-06-27 14:28:44 -07:00
Alex Monk e3e116f0ae Set tabindex for template dialog info/remove buttons on parent <div> rather than <a>
Makes Firefox happy. Not sure why.

Bug: 66824
Change-Id: I6cf69c7ea36dc7870af59e7edc2f137143ba7ad5
2014-06-27 21:48:59 +01:00
Translation updater bot cc0bf26284 Localisation updates from https://translatewiki.net.
Change-Id: I899a9c41c94324ddff4ccf752dc5a8ff82a82ac7
2014-06-27 20:26:02 +00:00
James D. Forrester a70a4828c5 Update VE core submodule to master (aaa8547)
New changes:
04d9484 Update OOjs UI to v0.1.0-pre (9aad824bd6)
981d86f Correctly update full size in MediaSizeWidget
e935a9f Demo page styling
e7b0557 FocusableNode: Use getClientRects()[0] instead of getBoundingClientRect()
7e7d5c1 Only allow slugs where paragraphs are allowed
8653a84 Localisation updates from https://translatewiki.net.
aaa8547 Update OOjs UI to v0.1.0-pre (b9d403a678)

Change-Id: Iaff1cda5605a397b78590c4f9b66d1e4d4d2d564
2014-06-26 18:30:08 -07:00
jenkins-bot b7375cfdaa Merge "Don't remove 'extension' from template names" 2014-06-26 23:47:04 +00:00
jenkins-bot f3989cdc24 Merge "Unimplement wgSVGMaxSize" 2014-06-26 22:37:01 +00:00
Moriel Schottlender 01596205fb Unimplement wgSVGMaxSize
Because it doesn't work in MW.

Bug: 66865
Change-Id: Idad2352bee32cbf10c80a757c59e518abaa342de
2014-06-26 19:56:03 +00:00
Alex Monk 1dd64f80b6 Don't remove 'extension' from template names
Use getMainText instead of getNameText in a couple of places

Bug: 66939
Change-Id: Ie81ab98465909b65787ddf589353aaad6fb47dc2
2014-06-26 20:37:06 +01:00
Translation updater bot 47ebf562a4 Localisation updates from https://translatewiki.net.
Change-Id: Ie777b4c0c01d50121e548976ffada5f181a9e829
2014-06-26 19:35:08 +00:00
jenkins-bot aff4ed195e Merge "build: Implement "git-status" task and run it in CI environment" 2014-06-26 18:18:05 +00:00
Timo Tijhof 19afd65a08 build: Update jscs and use new "wikimedia" preset
Our coding style has been upstreamed and first released
in node-jscs v1.5.0 (grunt-jscs-checker v0.6.0).

Change-Id: Ifc0cfc7177946b9d11407f60e38b0177883724c5
2014-06-26 17:00:15 +00:00
jenkins-bot 67512b90cd Merge "[BrowserTest] Language Screenshot (browser test and their screenshots) for Headings and Formatting" 2014-06-26 14:06:50 +00:00
vikassy c5688eea20 [BrowserTest] Language Screenshot (browser test and their screenshots) for Headings and Formatting
This is an illustration of how one can get a screenshot of
the Headings pull-down menu and formatting pull-down menu for the Visual Editor User guide[1].
To see how it works:
* Set environment variable LANGUAGE_SCREENSHOT_CODE to which ever
language you are planning to run browser test for.
(Eg: de for German/en for English)
* Set environment variable LANGUAGE_SCREENSHOT_PATH (optional)
to store the screenshot in that path. If not provided the ./screenshots folder will be used.
* Run the browser test as usual using cucumber or you can use @language_screenshot tag while executing
(bundle exec cucumber --tags @language_screenshot)

[1]: https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide

Bug: 62737
Change-Id: I0f27aec482458b6f04aa913426042f78695d451d
2014-06-26 19:13:24 +05:30
Timo Tijhof ec8d31e7ad build: Implement "git-status" task and run it in CI environment
Append this new task to the 'test' sequence in Jenkins (so that
if e.g. buildloader causes dirty diff, the build fails).

Locally this doesn't run by default, but you can mimick the
Jenkins build by running 'grunt ci' instead of 'grunt test'.

Change-Id: I7dd5417777c5a060fd9042248ece695c02c8ab41
2014-06-26 13:27:19 +02:00
Timo Tijhof b2d4d7d8c0 build: Sync buildloader in eg-iframe.html
Follows-up Ic962fbc1dcbca1a which forgot to sync the buildloader.

Change-Id: Iceef2ae82e02ac7003a2f50928c99352fb3a19bc
2014-06-26 13:26:41 +02:00
jenkins-bot 72215790eb Merge "Don't prepend extra colon to category/file links" 2014-06-26 01:29:07 +00:00
Ed Sanders 61ac4c0c6f Update VE core submodule to master (000935e)
New changes:
5321ee2 Work around IE DOMParser bug in ve.createDocumentFromHtml
3d6f0e2 Use subtle border styling for unstyled tables
b1baa3d Localisation updates from https://translatewiki.net.

Change-Id: Ic962fbc1dcbca1a83b4c16756278981c45c5e865
2014-06-25 17:38:11 -07:00
jenkins-bot 2c60bbe9c2 Merge "Render a placeholder when extension contents are empty" 2014-06-25 21:40:44 +00:00
Alex Monk 751e41416e Don't prepend extra colon to category/file links
Check whether we already have a colon at the beginning first

Bug: 50279
Change-Id: I9e524793eb288f728c5b885f7236abcd5b324c7d
2014-06-25 22:16:47 +01:00
jenkins-bot cba201eb03 Merge "Normalize titles in template descriptions in context menu" 2014-06-25 21:10:35 +00:00
Translation updater bot e1b8dd74b8 Localisation updates from https://translatewiki.net.
Change-Id: I29d56a36bc66778f620a99562a221f0cbd7ba713
2014-06-25 20:45:07 +00:00
James D. Forrester f8a2fc5a1c Update VE core submodule to master (1aa3143)
New changes:
b90f7f8 Localisation updates from https://translatewiki.net.
16d222c Remove .inIme state from CE Surface
abc730a build: Update jscs and use new "wikimedia" preset
457b8d9 build: Re-enable validateIndentation
6bce1d1 Localisation updates from https://translatewiki.net.
1aa3143 Cache block drop position data before setTimeout

Change-Id: I9330a67b5121f3c1c55ac4fbaf2b245d945f821f
2014-06-25 11:56:48 -07:00
jenkins-bot 6c9a99756a Merge "Add missing TableCell CSS file and Vector-specific rule" 2014-06-25 18:14:07 +00:00
Ed Sanders 42cad57fb2 Render a placeholder when extension contents are empty
Helps the context to find a position and shows an insertion point.

Bug: 66813
Change-Id: Ifbf5271a4f36f04256bb4c02d9120cc76012fc79
2014-06-25 17:01:20 +01:00
Ed Sanders e4e9405452 Don't try to change offset for vesection=0
Bug: 66674
Change-Id: I33db33af38b554c9bf3c13b14ce67bcac2e70573
2014-06-25 16:38:56 +01:00
Ed Sanders f2fe87f1b3 Add missing TableCell CSS file and Vector-specific rule
Bug: 65416
Change-Id: I202893322866cf42b8fbe950224b6be08c35c4d6
2014-06-25 15:08:30 +01:00
Translation updater bot 43263c7840 Localisation updates from https://translatewiki.net.
Change-Id: Id4de5970d34e88880f13384b5ee2682c99d52cdb
2014-06-24 20:01:55 +00:00
Ed Sanders 288da5b704 Compress HTML data with deflate before POSTing
Bug: 66914
Change-Id: I7b0a9cfd4d4c10986769a868884688ffca833cb6
2014-06-24 17:39:03 +01:00
Translation updater bot 6bb098510d Localisation updates from https://translatewiki.net.
Change-Id: Iabe808a04086d1de2a6e937386fdb6a9bf2d8206
2014-06-23 19:57:42 +00:00
jenkins-bot 1853361cb2 Merge "Sync eg-iframe.html" 2014-06-23 19:39:08 +00:00
Alex Monk dc6840c3a0 Update displaytitle on save (try #3)
Parse the wikitext we already have.

This is mostly a revert of commit f84b880a54.

Bug: 50341
Change-Id: I312bafb0e7d61b0abd42d6ca7ea2e4b5dcdc61be
2014-06-23 15:32:15 +00:00
Ed Sanders 840264e85d Remove Hiero extension code from VisualEditor extension
It doesn't belong here.

To be added in the wikihiero extension in If55af2ad.

Change-Id: Id8b026ac07cfb31e4c25f81fb67f531448454ee0
2014-06-23 09:18:42 +02:00
Translation updater bot d04b3bf4ca Localisation updates from https://translatewiki.net.
Change-Id: I237ef9d2ba367c642c13d09dd3eef3ff55a3b22b
2014-06-22 19:32:03 +00:00
Roan Kattouw 8a536eb294 Normalize titles in template descriptions in context menu
For {{echo}} we would show "echo", but for {{Echo}} we would
show "Echo". Same for {{cite web}} vs {{cite_web}}. Normalize
these template names before displaying them in the context menu.

Reported by Matma Rex on IRC.

Bug: 66893
Change-Id: I84945aab13e53cd0aba529c298b5cc0b2e7eff1e
2014-06-21 01:29:19 +00:00
James D. Forrester 00145d495e Sync eg-iframe.html
Change-Id: I1ab760c9022108dfd3db1d078cf097fd2187e58b
2014-06-20 18:09:44 -07:00
jenkins-bot 839463f988 Merge "[BrowserTest] temporarily don't check for minor edit" 2014-06-20 22:43:52 +00:00
Cmcmahon 48189d9756 [BrowserTest] temporarily don't check for minor edit
The issue with the test user getting logged out unexpectedly
causes 'minor edit' to not appear.  The test still covers useful
features without this check.

Change-Id: If570d537824025100670e1195794efde17d5063f
2014-06-20 15:28:58 -07:00
Translation updater bot d33708cb2d Localisation updates from https://translatewiki.net.
Change-Id: I5fb330a1c0810712a95c9593c957ae6afd37797e
2014-06-20 19:52:36 +00:00
jenkins-bot 06e5cf0c02 Merge "Remove Math extension icon" 2014-06-19 22:48:15 +00:00
Ed Sanders 4b9c91f164 Fix fragment after inserting an image node
* Return the fragment as it may have been cloned in the process
* Do away with DM node tree traversal, we can do everything
  with offsets.

Bug: 65706
Bug: 65716
Change-Id: I9a44d562d9365d72adac199725b52555cf0a8009
2014-06-19 17:45:21 +01:00
Ed Sanders 258020506a Remove Math extension icon
Moved to Math extension with I33cdb6204.

Change-Id: Ic8074be25bb1ada3cbb97469781090cf3dd4445c
2014-06-19 12:37:01 +01:00
jenkins-bot bc13097d2e Merge "Update VE core submodule to master (1f16037)" 2014-06-19 02:36:57 +00:00
jenkins-bot 9e7c60a4e4 Merge "Revert "Update displaytitle on save (try #2)"" 2014-06-19 00:36:19 +00:00
Alex Monk f84b880a54 Revert "Update displaytitle on save (try #2)"
This reverts commit b7401f838b.

Didn't break everything, but we should probably avoid this getting deployed until I can work out wtf is going wrong with it.

Change-Id: I048143239e998b30aba79fa395a0af1cb06c6a9b
2014-06-19 00:34:26 +00:00
jenkins-bot a045e5723e Merge "[BrowserTest] page content element is normal again" 2014-06-18 23:49:43 +00:00
Cmcmahon 04242ddeac [BrowserTest] page content element is normal again
Change-Id: I520fecad63c2d7ea69ca668877af4f1d2e10acc2
2014-06-18 16:47:23 -07:00
jenkins-bot 29d5bf6e51 Merge "Update displaytitle on save (try #2)" 2014-06-18 23:41:29 +00:00
Moriel Schottlender 82745fed46 Insert images at the start of paragraphs
If a block image is inserted in the middle of a paragraph, insert
the image at its beginning so the paragraph isn't broken.

Bug: 65883
Change-Id: I7b82c647d259a6712a771bb4243b269ecbb73c9c
2014-06-18 19:27:08 -04:00
James D. Forrester 44d025a198 Update VE core submodule to master (1f16037)
New changes:
1f16037 Update OOjs UI to v0.1.0-pre (7a0e222a75)

Change-Id: Iaad40a5e0fb764450fccff9e94d7e83f07eced09
2014-06-18 16:26:09 -07:00