Commit graph

1199 commits

Author SHA1 Message Date
jenkins-bot 2b5a4fa98a Merge "Make math dialog menu content scrollable" 2015-12-03 21:34:13 +00:00
Thalia 3f193f6745 Make math dialog menu content scrollable
Also make input widget height respond to its contents. These two
changes address the problems of overlapping when the screen
height is limited.

Bug: T119900
Change-Id: Ie21c141673a9343d05da05cdbd2eaa96efff0a58
2015-12-03 16:25:00 +00:00
physikerwelt 897afa480b Use RestBase to check input tex rather than texvccheck
* This will increase the performance of tex rendering for all
 rendering modes since no shell access is required anymore.

 Merge with caution. If the connection to restbase fails, rendering
 of new formulae will be completely disabled i.e. broken.

Change-Id: I1982612e8c6a356e3dbdf447724ac82e5968cc77
2015-12-03 09:03:43 +00:00
physikerwelt f63eaeac23 Restbase based texvc input check
This change only connects the restbase and the mathinput interfaces
but does not change any functionality.

Change-Id: I3a23e5008c26c5f14ad842dcb5d22906a8aff33c
2015-12-03 08:56:47 +00:00
physikerwelt c66a85f143 Fix error in checking logic
Tex validation should be skipped if checking is disabled.
Consequently if 'disable tex filter' is set to 'never' it's a double
negation and tex should always be checked.
If 'disable tex filter' is set to always, never check tex.

Change-Id: Ic6fda8016838eae03a0ed36e3d8d4f35423ba8b1
2015-12-03 08:30:24 +01:00
Translation updater bot 9452a58563 Localisation updates from https://translatewiki.net.
Change-Id: Ifc986dc880ca1f1072db76dd1361cb6ebf925862
2015-12-02 21:57:32 +01:00
physikerwelt 6ef2e56439 Add Restbase interface
* Add a simple interface to Restbase that currently
  does not do anything.

Change-Id: I4c2ef329b3954fd35276a5e270d0dc3fcacabf7b
2015-12-01 21:10:09 +00:00
Translation updater bot b292ba512e Localisation updates from https://translatewiki.net.
Change-Id: I057358e6dfb437438f7c99f8ad6b114c60f6ff07
2015-12-01 21:34:09 +01:00
Translation updater bot 75a35f5662 Localisation updates from https://translatewiki.net.
Change-Id: I04664a035b84d1c025cda02f094260223d64cc7d
2015-11-30 21:34:45 +01:00
Translation updater bot 40a4507a25 Localisation updates from https://translatewiki.net.
Change-Id: Ic75e2af58da23caaa3a732c9493eb0a0d57f1344
2015-11-28 21:46:32 +01:00
physikerwelt fb3848e4bc Add phpcbf script to fix whitespace problems
Change-Id: Id5ae6b541ae71d64050beb3d5e601e9bf179dd6e
2015-11-27 23:59:27 +00:00
Translation updater bot f4e593e8cc Localisation updates from https://translatewiki.net.
Change-Id: I7837adf0e157bfbb52a895971929ccbbdc3291da
2015-11-27 22:45:47 +01:00
Translation updater bot 652f8e300f Localisation updates from https://translatewiki.net.
Change-Id: Icad4257dafeef11dd52cef0997799d5b41953068
2015-11-26 22:02:06 +01:00
jenkins-bot a56ee3ee1b Merge "Focus input and move cursor to end when MathDialog opens" 2015-11-25 22:50:27 +00:00
Thalia dfbce3f5ce Focus input and move cursor to end when MathDialog opens
Change-Id: Ie963913723b8c5f8ffb32701477627387c77eb85
2015-11-25 14:43:41 -08:00
jenkins-bot 7940965bf1 Merge "Ensure the formula preview in MathDialog is vertically centered" 2015-11-25 22:31:04 +00:00
jenkins-bot 66b4bccdfa Merge "Modify updateMwData in MathDialog to update display and id attributes" 2015-11-25 22:30:52 +00:00
Thalia bd36680d21 Ensure the formula preview in MathDialog is vertically centered
The formula preview is not centered when the display attribute
is set to block. Correct this by enforcing display: inline-block
when the math image is inside the preview element.

Bug: T119670
Change-Id: I77d9b213a31d3005212c8c11874112ddb64aa74a
2015-11-25 14:22:49 -08:00
Thalia a48a216171 Modify updateMwData in MathDialog to update display and id attributes
Also populate the options form with pre-existing values and add event
handlers.

Bug: T119663
Change-Id: I32fbecdb9b204fa33e309662f1f670942968fee7
2015-11-25 14:22:21 -08:00
jenkins-bot 87fe603227 Merge "Set autocomplete options for math dialog input" 2015-11-25 03:50:48 +00:00
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