Commit graph

2529 commits

Author SHA1 Message Date
Stegmujo c27f7edef9 Add Integration for the TexVC-PHP check to Math
Bug: T312528

Change-Id: I0eda7d4213a5f703ab7ae7887aa364af9e576dbe
2022-10-20 16:39:19 +00:00
Stegmujo 8333e2541a Create Tests for Parser and TexVC
Parser.php is excluded from linting steps.

Bug: T312528

Change-Id: I372832bb9ea212f9bc06947d0ef192f270dc54c2
2022-10-19 17:25:20 +00:00
Stegmujo ba47c32e1d
Add Node and Util fixes for Parser.php
For development history of this changeset see:
Id96a4b1b55e3959aab81f4ba436c5ac125f2a1bb

Bug: T312528

Change-Id: I61cfdbd63f8d50b072ada05927a134686fdd53d3
2022-10-19 16:33:15 +02:00
Translation updater bot 49b5c36cfe Localisation updates from https://translatewiki.net.
Change-Id: I1f7e56481c18aa0578dc7d3de4c70343e938086b
2022-10-19 08:20:17 +02:00
Stegmujo e091c77593 Add TexVC with Check functionality
Bug: T312528

Change-Id: Ib66a4603e3c1869d5c197b72b46b098d0df15e34
2022-10-18 17:57:19 +00:00
jenkins-bot 740c07e869 Merge "Add Grammar and Parser Functionalities" 2022-10-18 14:35:59 +00:00
Stegmujo ad701733ec Add Grammar and Parser Functionalities
For development history of this changeset see:
Id96a4b1b55e3959aab81f4ba436c5ac125f2a1bb

Bug: T312528

Change-Id: I0e64a3fc4b4556bc4ea6271bd6b778ed2930ab1a
2022-10-18 14:16:45 +00:00
Stegmujo d4b9edc87e Add Builder for creating Parser.php
This is the first commit in a series of commits that convert texvcjs to PHP (called TexVC-PHP).
Please refer to the Gerrit history of this commit, which includes early versions of a full TexVC-PHP grammar, tests, and related files.

Bug: T312528
Change-Id: Id96a4b1b55e3959aab81f4ba436c5ac125f2a1bb
2022-10-18 13:39:10 +00:00
Translation updater bot 1469c6a8ac Localisation updates from https://translatewiki.net.
Change-Id: I528e5e33d820ee526b244d858fb14ad0d3e8c144
2022-10-10 10:20:32 +02:00
libraryupgrader 049deca5d7 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I8b7a32686e4ead725539c449a58d58c86e58783c
2022-10-09 12:08:11 +00:00
libraryupgrader c82e9291d3 build: Updating npm dependencies
* grunt-banana-checker: 0.9.0 → 0.10.0
* api-testing: ^1.4.2 → 1.5.0
* grunt: 1.5.2 → 1.5.3

Change-Id: I3939631b1cc2423625ce2dadda0b396bb1e6d748
2022-10-07 00:10:44 +00:00
Translation updater bot 4818177f27 Localisation updates from https://translatewiki.net.
Change-Id: Ic7aca03f7af4ebe89a4f8487dd9c2ab8147c361e
2022-10-03 09:46:00 +02:00
jenkins-bot 4fde31757c Merge "Improve use of gadgets for LatexDialog" 2022-09-30 17:29:05 +00:00
Fwolz 409cc54217 Improve use of gadgets for LatexDialog
Add a mw.hook to enable gadget for T316816 reacting on opening the LatexDialog and
assign classes to ooui components to enable browser-JS manipulation.

Change-Id: Ib004c3e8b0926a0bd5febfaf4910bb4d9ed6bc58
2022-09-30 18:47:23 +02:00
Translation updater bot ac17e8a14a Localisation updates from https://translatewiki.net.
Change-Id: Id84cd0ac53e3ba9ef4bbca02f24f99c75aab826b
2022-09-30 08:54:21 +02:00
Translation updater bot 788dc4ab35 Localisation updates from https://translatewiki.net.
Change-Id: I2b04f1acda65b610ee48ae816049b08b6892b6c4
2022-09-28 08:22:03 +02:00
Translation updater bot 8c2b03fdc5 Localisation updates from https://translatewiki.net.
Change-Id: I708f162b948695eb660ed1b60735e6247a576361
2022-09-27 08:32:25 +02:00
Translation updater bot ea5e5a8a8a Localisation updates from https://translatewiki.net.
Change-Id: Ib620d3a1577eb5f6b1d0210d16740e896fb6207b
2022-09-26 08:15:42 +02:00
Translation updater bot 5ee263d9fd Localisation updates from https://translatewiki.net.
Change-Id: Ic4eb6f9d255418cc7b1ed7320beabc34efb63ecb
2022-09-23 08:29:33 +02:00
Translation updater bot b087767471 Localisation updates from https://translatewiki.net.
Change-Id: I4f6a67758663f2ded3ed289a8ef3827d23d60d44
2022-09-15 09:55:14 +02:00
Translation updater bot 405d81ee7c Localisation updates from https://translatewiki.net.
Change-Id: Idcec9eac265e2cb0063302c940160bb54006306a
2022-09-08 09:59:32 +02:00
Ed Sanders fe5b350c89 Add \neg to "Logic" section
Bug: T317065
Change-Id: I261768fdddebcf0dd8776b69286edd1b541f0c5b
2022-09-07 00:40:01 +01:00
Stegmujo 2ae8f50348
Add final nodes
Related code:
fb56991251/lib/nodes/

Bug: T312528
Change-Id: I01b99430d510c0df452d1faba340e2595ae50a33
2022-09-06 14:42:37 +02:00
jenkins-bot 0288e45c75 Merge "Add further nodes" 2022-09-05 11:42:56 +00:00
Translation updater bot b9d244a796 Localisation updates from https://translatewiki.net.
Change-Id: Ieac2f090611161ebe27e6182364a658b253c7712
2022-09-05 10:11:18 +02:00
Stegmujo d940161a3e
Add further nodes
Related code:
fb56991251/lib/nodes/

Bug: T312528
Change-Id: I8bd30bc45d2c23214b317ca0c04aa8e7d6a2da33
2022-09-02 19:34:07 +02:00
Translation updater bot ef841a04e3 Localisation updates from https://translatewiki.net.
Change-Id: I555367ab069db33f1abe7b04d048fef8b94cce32
2022-09-01 09:34:10 +02:00
Translation updater bot f96f46f9d1 Localisation updates from https://translatewiki.net.
Change-Id: I6f31aa4f569c312cb4e8c5bc1d879bb0f92c31a0
2022-08-31 09:35:25 +02:00
Translation updater bot 1148dfc8da Localisation updates from https://translatewiki.net.
Change-Id: I2471275ef5acabcb4a2b105fe36d9dc457f8fbc3
2022-08-29 09:14:43 +02:00
jenkins-bot 1f4eedf891 Merge "Change type hints for TexNode" 2022-08-27 15:06:29 +00:00
Moritz Schubotz (physikerwelt) db942c2325
Replace 3 backslashes with 4
3 backslashes work as well according to

https://stackoverflow.com/a/28063081

However, it might be confusing as the behaviour would change in double qouted strings. Also mw-core seems to mostly use 4 backslashes.

https: //codesearch.wmcloud.org/core/?q=%5B%5E%5C%5C%5D%5C%5C%5C%5C%5C%5C%5B%5E%5C%5C%5D&i=nope&files=.php%24&excludeFiles=&repos=
Change-Id: I9be37c386f8ca0f9d0a7be641484654cf9a2f7fa
2022-08-27 09:13:08 +02:00
Moritz Schubotz (physikerwelt) 971b7954fe Change type hints for TexNode
Bug: T315978
Change-Id: I06004360a6538f974733021c1f06d8a5bb1f1f7b
2022-08-27 06:55:39 +00:00
jenkins-bot bfcb547e63 Merge "Minor: MathDatabaseTest cleaning" 2022-08-26 17:15:36 +00:00
jenkins-bot 008f6a6739 Merge "Add some basic nodes and texUtil" 2022-08-26 17:06:28 +00:00
jenkins-bot 1d3bbf8fe7 Merge "tests: Skip schema test for sqlite/postgres" 2022-08-26 16:45:54 +00:00
Moritz Schubotz (physikerwelt) 7cae2517e5
Minor: MathDatabaseTest cleaning
* Remove unused constants
* Refactor deprecated wfGetDB

Change-Id: I926fbe59fd2fef9617da9870b8b9c2a6662f22df
2022-08-26 18:23:50 +02:00
Stegmujo 6be5724740 Add some basic nodes and texUtil
Texutil related functionalities and tests will come in other changeset.
Related code:
fb56991251/lib/nodes/

Bug: T312528
Change-Id: Iead338a31403348603442b43ae802270f6b1d675
2022-08-26 15:41:38 +00:00
Translation updater bot 580571e067 Localisation updates from https://translatewiki.net.
Change-Id: Ia08fff5ec88528fce48960784e8e9b8476667375
2022-08-26 08:23:03 +02:00
jenkins-bot d6947f64ef Merge "Add TexNode" 2022-08-23 10:15:46 +00:00
Stegmujo 4901388cfc
Add TexNode
This is corresponding to 6c6988c4f6/lib/nodes/texnode.js

Bug: T312528
Change-Id: Idfd6826e6d15c0e70848e879dd23fc5e4cf113b5
2022-08-23 08:43:01 +02:00
Translation updater bot da7f6a7e1b Localisation updates from https://translatewiki.net.
Change-Id: I18e9a40e7a185261ba171e88f06757d4e01459e3
2022-08-19 08:29:56 +02:00
Translation updater bot 50bdfdcae3 Localisation updates from https://translatewiki.net.
Change-Id: Id9102093f501f6d566cbe18de4dd31a3454e0d61
2022-08-17 08:24:44 +02:00
Translation updater bot 91ae81248a Localisation updates from https://translatewiki.net.
Change-Id: Icd25a0d67fe8d3fb48deee7f3873e90fcc9751de
2022-08-15 08:26:42 +02:00
Translation updater bot dcf12bd021 Localisation updates from https://translatewiki.net.
Change-Id: I1791bb259ad5d5a51b43a3ad6ffd731a74b807c3
2022-08-11 08:51:02 +02:00
Translation updater bot 82aa80d8a1 Localisation updates from https://translatewiki.net.
Change-Id: Ie5c4ab7247a530548d58d39d084559206a702cce
2022-08-08 08:58:57 +02:00
Reedy b05db18e25 MathRenderer: Check output of parse_url()
Bug: T311674
Change-Id: I437c2d91d6923485da4432f32390a54c1d3abadf
2022-08-07 22:18:45 +01:00
jenkins-bot 5033866682 Merge "REST API endpoint for popups" 2022-08-06 05:56:02 +00:00
AndreG-P 951dec1fab
REST API endpoint for popups
Implement a rest API endpoint that displays the popup that is currently
only shown on a special page.

Code was revived from Idd22057a88312bf1a1cb5546d0a6edca5678d80d

Bug: T288076
Bug: T233099
Change-Id: I65fcbf25ac5818f6c649daf494c719921247e8f5
2022-08-05 17:47:44 +09:00
Translation updater bot 3d9d30ec6a Localisation updates from https://translatewiki.net.
Change-Id: I7e130269b2868cc77cce2f64786f29366b51d7f6
2022-08-01 08:22:53 +02:00
Translation updater bot a4174e2ecd Localisation updates from https://translatewiki.net.
Change-Id: I1195ce2ec4b535550cc7361a24f094d5d75c39e5
2022-07-28 08:57:17 +02:00