Commit graph

3079 commits

Author SHA1 Message Date
Thalia 959d0d7b3a Set autocomplete options for math dialog input
Depends on I57db44c876c in ve-mw

Bug: T119549
Change-Id: I80193b7b662336c65b81556eb000f3895cddf49f
2015-11-24 18:54:48 -08:00
jenkins-bot d78e662f71 Merge "Make math dialog with clickable list of formula fragments" 2015-11-25 02:22:50 +00:00
Thalia 6e73aaf86c Make math dialog with clickable list of formula fragments
The main components are:
- a menu of formula fragment buttons
- an ace editor text input into which LaTeX commands are
inserted on clicking the buttons
- a preview of the formula

The deviations from the draft design (full-width menu,
smaller buttons, dialog is 'larger' instead of 'large')
are so that more buttons can be seen at once.

Depends on Ia0f46da2d4 in ve-mw
Depends on Ib75fb7b087 in ve-mw
Depends on I758f90abb9 in ve-mw
Depends on Ibcd941d938 in CodeEditor
Depends on Ie814f59086 in oojs-ui
Depends on If540670bf2 in oojs-ui
Depends on I5f70f133b7 in ve core

Bug: T114163
Bug: T118617
Bug: T118618
Change-Id: I96d4b72f2e49ad3f43a2e5c71f0d348fdfb35503
2015-11-23 16:30:38 -08:00
Translation updater bot bac8ae799e Localisation updates from https://translatewiki.net.
Change-Id: I874cdd9a3d3881aebfca10b47e513a6844bd9b5e
2015-11-23 22:33:29 +01:00
Translation updater bot 95977c0493 Localisation updates from https://translatewiki.net.
Change-Id: I72d1c1c99a6f2e66b15e0dd254058278f25d3486
2015-11-22 20:44:42 +01:00
Ed Sanders e4719c56a7 SVG/CSS generator: Ignore duplicates and 'notWorking' buttons
Change-Id: I5f0c9fc62a1e434576550e142d6b25f329e63e7f
2015-11-20 18:03:06 -08:00
Ed Sanders cbc847222e SVG/CSS generator: Make faster by skipping already-fetched icons
Also keep the CSS file in alphabetical order so additions make
for clean diffs. (The async built file had a pseudo-random order)

Change-Id: Iad76ef36c90f42ba3232f135b05465408f42b2ba
2015-11-20 17:32:03 -08:00
Translation updater bot e21af5702e Localisation updates from https://translatewiki.net.
Change-Id: I6f0b856646b5bfbc76768093854e6f5820dcb83c
2015-11-20 22:56:22 +01:00
Translation updater bot b453c4def0 Localisation updates from https://translatewiki.net.
Change-Id: I7947cb8f000ca8cdb4644f10e735362f8729da8c
2015-11-19 21:37:39 +01:00
Ed Sanders a682d9677f VE: Correct name of script in header
Change-Id: I4a76d72dcb22a5ebeb02f6c0b6946c1ef4744185
2015-11-18 20:16:13 -08:00
Thalia eac71ab60f Add tool to create SVG files of LaTeX symbols
Also produces a CSS file for the symbol buttons, using the
SVG filenames. Gets the list of symbols from symbols.json.

Bug: T118660
Change-Id: Iaa792418d870a7e266b6455ef037994e31278278
2015-11-19 04:11:59 +00:00
Translation updater bot 1c239d233a Localisation updates from https://translatewiki.net.
Change-Id: Ia3aa6899ea810a6cbc9ae68bf2b0c4a2df04c89b
2015-11-16 22:16:13 +01:00
physikerwelt 8ca6554adf Resolve problems on SpecialPage:MathStatus
* Update reference SVG image
* Store image in file to simplify review

Bug: T113708
Change-Id: Ie727148dff7896bde1068f6efc643b430536991f
2015-11-10 12:55:19 +00:00
Željko Filipin 4365c86547 Added Rakefile
This is needed for our continuous integration.

Bug: T117993
Change-Id: Id4eb201c688b5b357524dc27bfa12aeb3ce02854
2015-11-09 17:50:54 +01:00
Translation updater bot 451fb11e8d Localisation updates from https://translatewiki.net.
Change-Id: Ibec28b1013a0949bf5836b467d573ffa0cb4c2bd
2015-11-05 21:43:56 +01:00
jenkins-bot fabdb488b5 Merge "VE: Register sequence with CommandHelp" 2015-11-05 15:36:46 +00:00
Ed Sanders 17168f573b VE: Register sequence with CommandHelp
Depends on I65e2bfc2 in VE-MW

Change-Id: I8f71b1b242cb5c273c6d4a16bdfef6bf1e0adb55
2015-11-05 10:12:38 +00:00
physikerwelt 6b30663057 Move Math specific CSS from core to extension
Bug: T110492
Change-Id: I3775980916de12aef23bac85c38a6f92253aa479
2015-11-03 18:49:19 +00:00
physikerwelt 2548c12e49 Use normal line-height for math elements
* With the current settings for example the distance between
  matrix rows is too large.

Bug: T106890
Change-Id: Iffa2534f7d39e9faf41ab11124c9b9ff571988d2
2015-11-03 19:30:23 +01:00
Translation updater bot 7700840b35 Localisation updates from https://translatewiki.net.
Change-Id: If7f4322d6d0aba43ea40241fc5b63d2a67e71fea
2015-10-31 21:06:02 +01:00
Translation updater bot f5769154d6 Localisation updates from https://translatewiki.net.
Change-Id: I07e3b631979bad6b2dd18a0afeaa56541369e49f
2015-10-30 21:48:56 +01:00
Thalia f4a9297a70 Use new error element
Depends on I5839ba62fe in VE-MW

Bug: T114754
Change-Id: Iedd632af8743a53aa96b736ca5ef5af40c28bc7a
2015-10-29 22:08:31 +00:00
Translation updater bot 1b71eb1b55 Localisation updates from https://translatewiki.net.
Change-Id: Id51bfe4e86f3f96b14febf333700b916803c9b5c
2015-10-25 22:05:21 +01:00
jenkins-bot 70e58f6bc1 Merge "build: Updating development dependencies" 2015-10-23 22:02:05 +00:00
Kunal Mehta 9bbff754da build: Updating development dependencies
* mediawiki/mediawiki-codesniffer: 0.4.0 → 0.5.0

Change-Id: Ie84fc8efbf6c12bd586a78110c8aa14c8517cf2e
2015-10-23 14:53:51 -07:00
Translation updater bot c0f1dc56d7 Localisation updates from https://translatewiki.net.
Change-Id: If0db5b015a3b9107e6f9d6ec338251f9fdba94a2
2015-10-23 21:44:25 +02:00
Aaron Schulz 7bbf7c6b68 Fix "Call to a member function getIsPreview() on a non-object (NULL)"
Also, the isset() checked was backwards

Bug: T116257
Change-Id: I419208bd9ad1a7a758bf9dbe0450020a9f14d39e
2015-10-23 18:09:35 +00:00
physikerwelt 8b886471d9 Fix syntax error
Fix obvious syntax error introduced by
I7dcdd88be4f1f8219f71ab770979284761e09bae.
The line that is reintroduced in this change
was obviously accidently deleted.
Consult the git history for details.

Change-Id: I09d863f69603cc133f3e007cd7da2dc13c81847b
2015-10-22 15:38:07 +00:00
Ed Sanders 358635a33d VE: Add a '<math' sequence
Change-Id: I5ec6cc2e6b7487ef3ac5987b8eb055adbfc41931
2015-10-22 11:49:55 +01:00
Translation updater bot 3a405a6f54 Localisation updates from https://translatewiki.net.
Change-Id: Ibe0f987278569c0cb7eba2f66c7f34ad55ed2f22
2015-10-20 22:48:18 +02:00
Translation updater bot c0246d6831 Localisation updates from https://translatewiki.net.
Change-Id: I0e53ce7285eaba7e3a99bb9f788261e9fe5b101e
2015-10-19 22:17:45 +02:00
Translation updater bot 3e1e5a86a7 Localisation updates from https://translatewiki.net.
Change-Id: I59f45cf360fdab887e85a93891dd3114b250f45c
2015-10-15 09:44:55 +02:00
Translation updater bot 7f65f3f93e Localisation updates from https://translatewiki.net.
Change-Id: I525e1f94e230379e5bffb3fceee7953c3fbeae0d
2015-10-11 21:23:16 +02:00
Kunal Mehta a8081486e1 build: Updating development dependencies
* grunt-banana-checker: 0.2.2 → 0.4.0

Change-Id: I8ad9c7c0ac4acbe2dd7a884ebcbf0a2a927bc5b9
2015-10-11 11:51:01 -04:00
Translation updater bot bc2dff440d Localisation updates from https://translatewiki.net.
Change-Id: Iff77bac653636a4d7c2b3d699776312fc13f901d
2015-10-08 23:07:56 +02:00
jenkins-bot 11b0f02dd1 Merge "VE: Move hash changes to the rendering hash" 2015-10-07 19:18:15 +00:00
Ed Sanders 905a834be2 VE: Move hash changes to the rendering hash
Depends on I5d42943a0 in VE core.

Bug: T114689
Change-Id: Ib64a1184132fbf62f38c6bd5dde689acff7b8ae5
2015-10-07 14:40:43 +00:00
Thalia d24748769f Append error container to inspector
Also modify method that formats the error so only
the text is appended.

Depends on Ie84130d4ac0 in VE-MW.

Bug: T113172
Change-Id: I5310f22877f56d1828a9d1782ee335d5793700df
2015-10-05 00:07:21 +01:00
Thalia d81a1ff7ad Fix the check for the error class in generated content
Check the root of the generated content for the 'error'
class as well as the children.

Change-Id: I29044b5bfc33ce250c415a54d6c56f0620680658
2015-10-01 21:09:50 +01:00
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