Commit graph

1543 commits

Author SHA1 Message Date
Amire80 48a5a0a7e8 Split ve.ui.MWMathPage.css from ve.ui.MWMathDialog.css
There are separate JS files for them, so the CSS should be separate, too.

This is a part of the refactoring that is required for bug T153365.

Change-Id: Iadbe5eeccff25ed1d184658945a4eb52e465d863
2017-01-11 19:44:31 -08:00
jenkins-bot f8ceb1d495 Merge "Add word list to math dialog for autocompletion" 2017-01-11 23:57:20 +00:00
jenkins-bot ca22dee516 Merge "Create chemistry icon for upcoming VE chemistry support" 2017-01-11 23:33:27 +00:00
Thalia 06f6af78dc Add word list to math dialog for autocompletion
Bug: T155107
Change-Id: I57bbf9d9a75810cd06b9ba43a173f9bf4a74c9fc
2017-01-11 14:44:16 -08:00
Ed Sanders edd166cfa3 Create chemistry icon for upcoming VE chemistry support
Bug: T153365
Change-Id: Ieaf5708932cfc91de6c293fd752dd64b8a73c73d
2017-01-11 14:28:31 -08:00
Moritz Schubotz 63082595d9 Change chemistry tag name from ce to chem
<ce> will still work, but it's deprecated.

Bug: T153606
Change-Id: Idef1078b188f2b945c9e1f8f66096779cc37133f
2017-01-11 11:55:01 -08:00
Moritz Schubotz c877e564fc Add scrollbars to displaystyle formulae
Add mwe-math-element class attribute to the outermost element
holding mathematical expressions. Add a css rule that adds a
scrollbar to the element in case it's a div, which is the case
for displaystyle formulae.

Note, there will be no scroll bar if long formulae are not
explicitly marked up das displaystyle formulae.ƒ

Bug: T134281
Change-Id: Iba462601bb15f8667d1284282ba4f6c2020a02b9
2017-01-11 10:49:40 -08:00
Translation updater bot f5778bafd2 Localisation updates from https://translatewiki.net.
Change-Id: If94ed000794117f38b672f27e3f41212b547c6f2
2017-01-05 23:46:34 +01:00
jenkins-bot 7b3494ede4 Merge "Revert "Add class mwe-math-element to math elements"" 2017-01-04 00:12:02 +00:00
Physikerwelt 797c8ddfc9 Revert "Add class mwe-math-element to math elements"
This reverts commit e674d7e73b.
That commit does not help to solve T134281.
It adds a CSS class name which is configurable
by a global variable to various math elements, which is confusing.

Change-Id: Iea5f231e0cea1221dc717b3409b36c0baf11bb24
2017-01-03 23:57:46 +00:00
Translation updater bot b1f72b3aec Localisation updates from https://translatewiki.net.
Change-Id: Id5a8cdd18b66519b866fc5579b1e482ec5933b95
2017-01-01 10:02:31 +01:00
Translation updater bot 28f19f6af5 Localisation updates from https://translatewiki.net.
Change-Id: I0385e599eb32cb19d2031f642086662950992de5
2016-12-28 10:47:25 +01:00
jenkins-bot d1cdb84e20 Merge "Remove broken test script texvccheck/test.pl" 2016-12-26 00:05:16 +00:00
jenkins-bot 922149ac83 Merge "Remove unused Makefile variable "DIRS"" 2016-12-25 14:28:38 +00:00
Tim Landscheidt 352abc726f Do not ignore all .mli files in texvccheck
The pattern "*.mli" was incorrectly added to texvccheck/.gitignore by
4c9dc2f08e with the comment "Compiled
source".  As with d9a7da14f1, .mli files
define the interfaces for the corresponding .ml module and thus should
not be ignored.

The only exception to this is parser.mli which is generated by the
ocamlyacc from the parser.mly definition, so this change only ignores
those files.

Change-Id: I263df70e58fb14a7228c32d5c985ff7f1b841891
2016-12-25 13:39:20 +00:00
Tim Landscheidt a98ebf457c Remove unused Makefile variable "DIRS"
Change-Id: I72eb49e2c0c1bd3afd0e3f76bb596fa87d10dc2b
2016-12-25 13:35:16 +00:00
jenkins-bot 5939ee17fa Merge "Fix "make texvccheck" in top-level Makefile" 2016-12-25 13:24:11 +00:00
Tim Landscheidt ed740e7946 Remove broken test script texvccheck/test.pl
The script has a syntax error, the program tex2svg is not contained in
this repository, "texvc" should probably be "texvccheck", and the
result of this invocation is thrown away, thus always outputting
"bad".

Change-Id: I9ca0324d58f81dbb9e1bfb31e677fc877172675f
2016-12-25 13:17:42 +00:00
Tim Landscheidt 698f2c9fec Fix "make texvccheck" in top-level Makefile
As texvccheck is a directory, make always considered the target
texvccheck to be up-to-date, thus never invocating make in the
subdirectory itself.  This change marks texvccheck as a .PHONY target,
causing make to compile texvccheck in the subdirectory.

Change-Id: Ib758965c1eb53e1f7221e304fc808dc68136a219
2016-12-25 12:45:09 +00:00
Tim Landscheidt d9a7da14f1 Do not ignore .mli files
The pattern "*.mli" was incorrectly added to math/.gitignore by
159708754c with the comment "Compiled
source".  Actually, .mli files define the interfaces for the
corresponding .ml module.  They are manually created and maintained,
akin to .h files in C, and thus changes to them should not be ignored.

Change-Id: I1eee6b46f8f81a7a0085901f602eb7a1f4ae6fd4
2016-12-25 11:53:20 +00:00
jenkins-bot 513372bae2 Merge "Add class mwe-math-element to math elements" 2016-12-21 23:17:39 +00:00
tameeshb e674d7e73b Add class mwe-math-element to math elements
This is the fix for the bug that makes the whole page scroll when long 
equations are present in the wiki article.

Bug: T134281
Change-Id: I29f8df027384098cd0923bcfa23a914c8d887bba
2016-12-21 23:03:18 +00:00
Translation updater bot 7bf462f184 Localisation updates from https://translatewiki.net.
Change-Id: I657c2528dd7b08520ae59f3614b014bf5634a4a0
2016-12-19 22:46:32 +01:00
IvanFon b4eb57f164 Updated maintenance scripts to use $this->requireExtension()
Added $this->requireExtension() in maintenance/MathGenerateTests.php

Bug: T152139

Change-Id: I79670c9102e1ea97390edc4c8408d269f3967547
2016-12-17 15:23:58 -05:00
Translation updater bot 3b12174946 Localisation updates from https://translatewiki.net.
Change-Id: I40b5f4605f3cd1b7640ecf8cc4ad502856c7d33d
2016-12-15 23:17:26 +01:00
Translation updater bot dd1d513837 Localisation updates from https://translatewiki.net.
Change-Id: I0b2d5968722454f5f739f83923c9bbde0bfda85e
2016-12-12 22:31:34 +01:00
Translation updater bot e56ce0efcf Localisation updates from https://translatewiki.net.
Change-Id: If8eed32db4e65dece80a9cffd88390a921b50a87
2016-12-06 22:44:59 +01:00
Translation updater bot 1ab560fdb1 Localisation updates from https://translatewiki.net.
Change-Id: I416ebc326868452dbc4ed4fa8bf93bf05c5d6a85
2016-12-05 22:49:56 +01:00
Ed Sanders a182a9d332 Fix primary command name
Primary command name is used by double click and enter.
Make this launch the default edit action 'mathDialog'.

Change-Id: Ie7a87914a55ecc87769c4a1aa029b36966b83a04
2016-11-30 12:39:59 +00:00
Translation updater bot 7be2c2a314 Localisation updates from https://translatewiki.net.
Change-Id: I6f2800f72f843b348e27bbaaf05fc494f6f35551
2016-11-27 22:29:50 +01:00
Translation updater bot 81ad806ab0 Localisation updates from https://translatewiki.net.
Change-Id: I0706577bf1df18c1486025673c0da2650c0181b3
2016-11-24 22:20:39 +01:00
James D. Forrester a1292f458e build: Bump eslint-config-wikimedia to v0.3.0 (already passes)
Change-Id: I84a3a6c550a4989c6ef584b2289272204d1b6eb4
2016-11-15 16:37:57 -08:00
Translation updater bot 4e6a7d21f6 Localisation updates from https://translatewiki.net.
Change-Id: Ic181eac78947924a92c4d7f6097e75d1ed62bf4e
2016-11-15 22:55:53 +01:00
Ed Sanders 422ea757ae eslint: Re-enable wrap-iife and partially enable dot-notation
Also removed upstreamed spaced-comment rule.

Change-Id: Ide83abeedfea27c1f4574af0069d5a9fdb81de84
2016-11-15 13:13:05 +00:00
Translation updater bot 116f588fe2 Localisation updates from https://translatewiki.net.
Change-Id: I807853f5888051b4122c19c7407ebe05426d08ed
2016-11-14 22:55:34 +01:00
Umherirrender 7553b42b97 Expand .gitignore for more editors
List is from mediawiki/core

Change-Id: I5e275167937fac192ef8c1afbe2747edef5f3bd3
2016-11-13 13:22:03 +01:00
Translation updater bot b0f1e2cb60 Localisation updates from https://translatewiki.net.
Change-Id: I2f18661ea1626b672ae1bc2c0c74a8063c696a4f
2016-11-08 22:46:52 +01:00
Translation updater bot 90eb79a5a7 Localisation updates from https://translatewiki.net.
Change-Id: I53006142656a56e6fcc15681eecf6023bcc6a8f1
2016-11-07 22:39:21 +01:00
Translation updater bot e88cc9e0a9 Localisation updates from https://translatewiki.net.
Change-Id: I23266e51718f14452f305e11697640d305ff840b
2016-11-01 22:45:38 +01:00
Translation updater bot 0b371783be Localisation updates from https://translatewiki.net.
Change-Id: I1db8ed007718e70bfe4c0ee2c127adc5d9452a4c
2016-10-29 22:49:27 +02:00
Ed Sanders f66ef920fb build: Replace jscs and jshint with eslint
Change-Id: I95f59d9bef6bb8fec69b454dc8efe4b4c7e40805
2016-10-28 11:11:26 -07:00
Translation updater bot b6699f8605 Localisation updates from https://translatewiki.net.
Change-Id: I7c09e63787a6d59f2d59251051d1b9a20bc86ebe
2016-10-25 23:14:32 +02:00
Chad Horohoe 0f866f6fa9 Whoops, track not trace
Change-Id: Iac098dcdf3076d1b76848a8ebfc633541f0d044f
2016-10-24 17:02:56 -07:00
Chad Horohoe 685ee1278a Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I211f4cec9bcae51500b8073638ed9589e33d5f2c
2016-10-24 16:37:51 -07:00
Translation updater bot 5697d660f6 Localisation updates from https://translatewiki.net.
Change-Id: Idd83c282eb814ee6788a8bad6f631e9a224ca7b4
2016-10-24 22:46:06 +02:00
Translation updater bot 982f556c53 Localisation updates from https://translatewiki.net.
Change-Id: I09f4ffc31b1acf02e1a5839f308c3028fe8f5b3f
2016-10-23 22:56:29 +02:00
Translation updater bot b9d82774f4 Localisation updates from https://translatewiki.net.
Change-Id: I4d5b183ceda2d62dc1205f1da17ba46ffa50d5aa
2016-10-17 22:33:37 +02:00
jenkins-bot d4420884e4 Merge "Make width of buttons in math dialog more flexible" 2016-10-14 23:53:50 +00:00
Thalia 3ebade4175 Make width of buttons in math dialog more flexible
Previously there were only two possible button widths,
now there are four.

Bug: T145613
Change-Id: I233f4f7c6cb810d6b5d54a5242514afed7c2ad9d
2016-10-14 16:30:50 -07:00
Moritz Schubotz 5758bcc23e Update reference images
The images generated by mathoid have slightly changed recently.

Bug: T113708
Change-Id: I1f96306e30aaccb6038b3acf489815102f65820f
2016-10-10 18:26:22 +02:00