Commit graph

1040 commits

Author SHA1 Message Date
Thalia 7241d5d3a7 Check for error in Parsoid response for math node
An error will contain an element with class "error".
Relies on I3f4ba354a in visual editor core in order to work.

Also remove old afterRender method.

Bug: T112610
Change-Id: Ie681806aebfdd7de918685c9343f5e176baaf517
2015-09-30 21:51:51 +01:00
jenkins-bot d6931f563e Merge "Update mediawiki-codesniffer and parallel-lint settings" 2015-09-29 17:59:12 +00:00
Siebrand Mazeland 9a07f022f9 Update mediawiki-codesniffer and parallel-lint settings
Fix remaining sniffer warnings and errors

Change-Id: I2a2ab037793df771be2abc4a4433726469f60ab0
2015-09-29 02:19:04 +02:00
Translation updater bot e103ede7e4 Localisation updates from https://translatewiki.net.
Change-Id: Ic07ef6b34ffa4c2da609d5d55aa8c441a7e750a3
2015-09-28 22:46:05 +02:00
Translation updater bot 6c158a5d85 Localisation updates from https://translatewiki.net.
Change-Id: I1d297980e04f74b44f1525146521adcaf6f14fb7
2015-09-26 21:14:44 +02:00
paladox df8ad1c799 Add php code sniffer to composer
Add support for php code sniffer

Change-Id: I7dcdd88be4f1f8219f71ab770979284761e09bae
2015-09-23 10:46:14 +01:00
Željko Filipin 646fc8e94b Fixed Style/StringLiterals RuboCop offense
Bug: T111184
Change-Id: Ia51f271b5e06d7bbd9896634b832003d57c30900
2015-09-22 10:18:13 -07:00
Željko Filipin 2bda4398f4 Fixed Style/SpaceInsideHashLiteralBraces RuboCop offense
Bug: T111184
Change-Id: I77573a78136dc9a8fd6f8b7364e23c8bf6db5e7f
2015-09-22 10:18:13 -07:00
Željko Filipin 4e4baedb2b Fixed Style/SpaceAroundOperators RuboCop offense
Bug: T111184
Change-Id: I442e5be94459d5a8bb497edad9fca900c4066ba1
2015-09-22 10:18:13 -07:00
Željko Filipin 29ec231256 Updated RuboCop to the latest version
Regenerated `.rubocop_todo.yml` file.
Added settings to `.rubocop.yml` file, as recommended at
https://www.mediawiki.org/wiki/Manual:Coding_conventions/Ruby#Base_configuration

Change-Id: Id9de4c1013b849cf56c7d7163d90c66ea708bceb
2015-09-22 10:18:13 -07:00
Željko Filipin f85439cce9 Upgrade browser tests to use mediawiki_selenium 1.x
Bug: T99656
Change-Id: Ie170d38082d7441df8014ae97f1be820e21871fd
2015-09-22 10:18:13 -07:00
Translation updater bot 5dbfe59cf5 Localisation updates from https://translatewiki.net.
Change-Id: Id741c933c8a30b46f2f50234e4d1275cd51c149e
2015-09-21 21:56:43 +02:00
paladox 188f7383ca Add composer.json and php lint
This file will be used for php code sniffer.

Change-Id: Icb4b53973b19b6e5e799cca20ecdb63853bf5cb3
2015-09-21 10:13:49 +02:00
Translation updater bot 3498c5a479 Localisation updates from https://translatewiki.net.
Change-Id: Id80819f1fa7504d72491c8b199b091ac5848cbee
2015-09-19 23:10:10 +02:00
Thalia 2ca833f9e6 Fix old class name
Change-Id: Ia78e4c064e66536cb3144dd2af4c157087690b51
2015-09-19 01:33:01 +01:00
jenkins-bot 01004cbf94 Merge "Remove redundant size property" 2015-09-17 21:08:24 +00:00
Translation updater bot 0a7e1307d7 Localisation updates from https://translatewiki.net.
Change-Id: I3366b1271c335df7a83263f3e0c967fbc7954404
2015-09-17 22:39:27 +02:00
Thalia 11ec6a3c12 Remove redundant size property
Change-Id: Iebedb66fda25078d507f012b17a459fde6a393e9
2015-09-17 19:48:42 +00:00
Ed Sanders 07c037e897 VisualEditor: Remove MathJax support
No longer needed.

Change-Id: Ibf6277f5cfccd1c689b55be5e4fbd8dbceafacae
2015-09-17 15:11:20 +00:00
Ed Sanders abad392272 Rename modules/VisualEditor to modules/ve-math
Per new naming convention (i.e. to be consistent with
ve-graph).

Change-Id: I3eae4ce011f0078b204d882a8068f844cd19daa3
2015-09-17 15:10:30 +00:00
Translation updater bot 0407653730 Localisation updates from https://translatewiki.net.
Change-Id: I1dc5c992c9228191622f91abf46d729e0cf0564c
2015-09-15 22:47:40 +02:00
jenkins-bot f99b77c98e Merge "build: Add csshint, jshint and jscs to math extension" 2015-09-14 22:30:31 +00:00
Thalia fe3165faff build: Add csshint, jshint and jscs to math extension
Also adds the corrections made to various js files when jscs
was run, and removes an old version of .jshintrc. Only
VisualEditor files are checked by csshint due to clashes with
an upstream bug in the csslint parser. This could be looked
into in the future.

Bug: T112576
Change-Id: I611901040d3b38ae3ef707deb8d25771f043b1d8
2015-09-14 22:28:15 +00:00
Translation updater bot 8803a23181 Localisation updates from https://translatewiki.net.
Change-Id: I04cce226361b4d56b65e042fb5ea2824789b8c6f
2015-09-14 22:05:47 +02:00
jenkins-bot 1dbf883b17 Merge "VisualEditor: Ignore id when getting hash object" 2015-09-14 16:53:47 +00:00
Thalia dc3b663e3b VisualEditor: Ignore id when getting hash object
Because the id doesn't affect the rendering of a
math node, it is not needed in the hash object.
Also removed event listener from the id input for
the same reason.

Bug: T112466
Change-Id: I4da07cb7c112ce9ab449a060132856a2d054e57f
2015-09-14 17:51:27 +01:00
Translation updater bot eda7f7e5c5 Localisation updates from https://translatewiki.net.
Change-Id: I418dc6a3a6c50e54d779e0aa4c3c15cc5e5c2ad8
2015-09-13 22:12:26 +02:00
Translation updater bot 4c66f92413 Localisation updates from https://translatewiki.net.
Change-Id: I592c020a56af69994f8aa22734772ae1421c41fe
2015-09-09 22:03:01 +02:00
Translation updater bot 2e22a83229 Localisation updates from https://translatewiki.net.
Change-Id: I60c489aa70600bf8c2fbe1f69b780e7af5be66f9
2015-09-06 21:40:53 +02:00
Translation updater bot 9e4a8a1217 Localisation updates from https://translatewiki.net.
Change-Id: I02569cff4eed77ff53b7cf314f4e0f256783ed34
2015-09-05 21:07:44 +02:00
Translation updater bot 2a3c8e0dee Localisation updates from https://translatewiki.net.
Change-Id: Iee8cdb9833087eac02ab116e7e20b24a0ea0bfb3
2015-09-04 21:51:28 +02:00
Translation updater bot d9ea7dfd09 Localisation updates from https://translatewiki.net.
Change-Id: I8abf5e355fa0ea8adddb1af2aacc3688f1cf2238
2015-08-30 21:09:12 +02:00
Translation updater bot b0dce0fe46 Localisation updates from https://translatewiki.net.
Change-Id: I29222d095407c061b3270069a031ea68e3c565e3
2015-08-23 21:37:06 +02:00
Translation updater bot 6874e9bbdf Merge "Localisation updates from https://translatewiki.net." 2015-08-22 21:15:22 +00:00
Translation updater bot 10cce7b768 Localisation updates from https://translatewiki.net.
Change-Id: Ie575e0e23b7beaeef8f32fe9d635cb513cc4a1b9
2015-08-22 23:12:38 +02:00
mjbmr 640bf070ae Add Persian special page alias
Change-Id: I4b97dd7b27f31c76a392e334ef0b52825828b4e9
2015-08-22 17:14:38 +00:00
Ed Sanders 2b6e4ce539 Replace updatePreview with updateMwData
No need to reimplement updatePreview, just override updateMwData instead.

Change-Id: I606fb200c458aff979df660d3b7095bb52c5d012
2015-08-20 15:40:54 +01:00
Translation updater bot 9593078037 Localisation updates from https://translatewiki.net.
Change-Id: Id4b2956ca5846a0e07c49b591d68c2cedaa747c4
2015-08-14 22:10:39 +02:00
Translation updater bot 9b289d4284 Localisation updates from https://translatewiki.net.
Change-Id: I3b8c98ba5312626d0f5d14a4717ab29dbd8f3ef9
2015-08-13 20:56:41 +02:00
jenkins-bot 7388292cab Merge "Fix: Special page ShowMathImage should read the mode as string" 2015-08-11 20:34:30 +00:00
Translation updater bot 004e4a8216 Localisation updates from https://translatewiki.net.
Change-Id: I49d8cce686dad6de2a6b29ec7070196d095307e0
2015-08-11 22:08:56 +02:00
Translation updater bot dfe8021b38 Localisation updates from https://translatewiki.net.
Change-Id: I11f751a44f101975ad4ddfe414f3f9807b17592e
2015-08-10 21:59:16 +02:00
Translation updater bot 0fe7767277 Localisation updates from https://translatewiki.net.
Change-Id: Ia4e1c5823e062590c38a0138b6faee8b869c7067
2015-08-09 20:47:50 +02:00
physikerwelt df19011704 Fix: Special page ShowMathImage should read the mode as string
The special page used getInt to read the mode parameter that was
changed to be a string and no longer an integer.

Bug: T108388
Change-Id: Ia63fad2d08cca2d4b0ed6ce09b72a30d6cfc9cac
2015-08-09 07:53:09 -03:00
Translation updater bot 90e0f3f6b6 Localisation updates from https://translatewiki.net.
Change-Id: I656ff02dba82680d2bec8a907e615dd00c79e3a5
2015-08-06 21:37:39 +02:00
jenkins-bot 032fb79f67 Merge "Remove use of deprecated wfRunHooks" 2015-08-06 18:03:31 +00:00
addshore a1c1e759a6 Remove use of deprecated wfRunHooks
Change-Id: I9800664555a9a6a54c3a62ed29928346fb87b194
2015-08-06 18:58:42 +01:00
Translation updater bot 77f6e3cea5 Localisation updates from https://translatewiki.net.
Change-Id: Ib1cc01339057d828c087c6ec52b9238e2c652575
2015-08-05 22:35:53 +02:00
physikerwelt f93333686d Fix: Set default MathStyle to inlineDisplaystyle
Redo Ibf6bdbd4ea36b4905445d5878f32f7e0b2bc8bac, which was
reverted by I029328849f05ec2afcabf38d2b79b337cb54cbd5.

In addition this patch simplifies the tex sent to the mathoid
server. Instead of {\displaystyle {\textstyle ... } } only
{\textstyle is sent (which overwrites \displaystyle anyway).

Change-Id: I16d6f67215c2f85ecd1d3a0bddacfc1700681557
2015-08-05 12:35:30 +02:00
Translation updater bot 82db12579e Localisation updates from https://translatewiki.net.
Change-Id: I55818597b7892b0bf2bbc13fb151477d66299936
2015-08-04 23:16:54 +02:00