Commit graph

2889 commits

Author SHA1 Message Date
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
AndreG-P 14c4df1336
Support new properties 'Symbol Represents' and 'In Defining Formula'
Add support for the new properties 'P9758' (symbol represents) and
'P2534' (in defining formula) for the special page that shows
in depth information about tagged formulae.

Bug: T312893
Change-Id: I39551e04487f77cca60c89e8c95293032fd5bd6a
2022-07-27 22:30:54 +09:00
Moritz Schubotz (physikerwelt) 480d241f97
Make dependency to Wikibase client config optional
The MathEntitySelector gets its config from wbRepo which caused a hard
dependency on the Wikibase client.
If the Wikibase client config is not available a default value (wikidata)
is used to determine the URL of the foreign repo.
As the dropdown will never do write operations, we restrict the repo
access to anonymous read only.

Bug: T313143
Change-Id: Iba33dfd32a78f4ad7c2e99a1f56218458ab884b4
2022-07-25 09:51:47 +02:00
jenkins-bot 9bb379ad3f Merge "Localisation updates from https://translatewiki.net." 2022-07-25 07:30:47 +00:00
jenkins-bot cda7562b0e Merge "Revert "Revert "Add wbEntitySelector widget to edit qid in VE""" 2022-07-25 07:21:02 +00:00
jenkins-bot 12ca486684 Merge "Replace MathWikibaseConfig with ServiceOptions" 2022-07-25 07:10:18 +00:00
Translation updater bot cb75844431 Localisation updates from https://translatewiki.net.
Change-Id: I0b635819fefed18971a2781efdaadec11a2bc803
2022-07-25 08:37:38 +02:00
jenkins-bot 53a2ea9909 Merge "Provide static Factory Class for Math related services" 2022-07-25 05:52:32 +00:00
Moritz Schubotz (physikerwelt) 882c49599b
Replace MathWikibaseConfig with ServiceOptions
MathWikibaseConfig introduced additional complexity by passing through
some services to MathWikibaseConnector.
The remaining options were just a list of properties that could also be defined as ServiceOptions.

Bug: T313646
Change-Id: Ib9083c0cb62f6d972befc7f5dc3ed47f55cf92a5
2022-07-23 11:37:30 +02:00
Physikerwelt 63e19a8c69 Revert "Revert "Add wbEntitySelector widget to edit qid in VE""
This reverts commit 2dc6bcac48.

Reason for revert: Re-enable functionality with fix

Bug: T313143 
Change-Id: I7536ae187872b9c0a6abab18861499290ad621e0
2022-07-23 07:57:54 +00:00
Moritz Schubotz (physikerwelt) 73c41b4626
Provide static Factory Class for Math related services
Initially we provide one service. More services will come in
the future.

Change-Id: I98a0f5f181f729e123a063dabf3597b5effa55b8
2022-07-22 18:59:11 +02:00
Moritz Schubotz (physikerwelt) 0bec9dc904 Remove deprecated method hasSite
The method always returns true and has no obvious benefit.

Change-Id: I77727d37c16e6234cf13e0ccf5d8fe94142ddd2a
2022-07-22 12:51:21 +00:00
jenkins-bot 6632c41605 Merge "Transform MathWikibaseConfig into a service" 2022-07-21 14:08:47 +00:00
Moritz Schubotz (physikerwelt) a274beae78
Transform MathWikibaseConfig into a service
* add some basic tests
* migrate MathWikibaseConnectorTest to a unit test

Bug: T313331
Depends-On: Ic3b8d4f685d5cf648a02696284b6ee499502a12a
Change-Id: I38d6425eb5e2c52ae4362c4b8656223a8d9d90a5
2022-07-21 15:22:47 +02:00
jenkins-bot 71d68ad615 Merge "Localisation updates from https://translatewiki.net." 2022-07-21 07:26:02 +00:00
Translation updater bot db197be2c9 Localisation updates from https://translatewiki.net.
Change-Id: If1e8f68a1352bd466ba14249b95460f79f9ea70a
2022-07-21 09:04:02 +02:00
Moritz Schubotz (physikerwelt) a8052d564b
Transform MathWikibaseConnector into a service
* add some basic tests
* MathWikibaseConfig should also be transformed into a service in a follow
up to allow for better testing

Bug: T313331
Change-Id: Iec7446a06d9a117cdeba9d26616f4fdf8e8540ca
2022-07-21 08:34:25 +02:00
Umherirrender e176ed68c3 tests: Skip schema test for sqlite/postgres
Running the updater twice (in test setup and in tests) confused posgres
-> Error 42P07: ERROR:  relation "mathoid" already exists

Change-Id: I1113888a38a49ee79b94d83c305eb99baa75f802
2022-07-19 21:06:45 +02:00
Translation updater bot a13a768d09 Localisation updates from https://translatewiki.net.
Change-Id: Ic007cefb11f959e70890dfbe70f20640d58bd70c
2022-07-19 08:16:55 +02:00
Translation updater bot e4a8447923 Localisation updates from https://translatewiki.net.
Change-Id: Ia2bf57e5510879b5092f168150d1acee9adc8110
2022-07-18 08:15:15 +02:00
Reedy 2dc6bcac48 Revert "Add wbEntitySelector widget to edit qid in VE"
This reverts commit 422be143f6.

Reason for revert: Caused hard dependancy on Wikibase

Bug: T313143
Change-Id: Ia6f551307f0fbaa2a3fc5747ed180e588c60b02f
2022-07-16 17:40:09 +00:00
jenkins-bot 100c950ebf Merge "Use FallbackLabelDescriptionLookupFactory in MathWikibaseConfig" 2022-07-14 14:55:02 +00:00
Translation updater bot cc713b5b63 Localisation updates from https://translatewiki.net.
Change-Id: I4706a48e1212dc9641366a6d384b0575d5ad64c2
2022-07-14 08:48:26 +02:00
Lucas Werkmeister 4022150d1d Use FallbackLabelDescriptionLookupFactory in MathWikibaseConfig
Lookups returned by this factory will resolve redirects; the old factory
is deprecated and will soon be removed.

Bug: T312223
Change-Id: I3d03e2e7ad646c1048f914915b84836f958b7f6e
2022-07-13 18:34:06 +02:00
jenkins-bot a4cd05ebd3 Merge "Add wbEntitySelector widget to edit qid in VE" 2022-07-12 17:31:38 +00:00
Translation updater bot 6cb4ee5333 Localisation updates from https://translatewiki.net.
Change-Id: I3e75a5d93ad59a9f2b76e20999583341c97aa9c2
2022-07-11 09:50:00 +02:00
Fwolz 422be143f6 Add wbEntitySelector widget to edit qid in VE
Add the MathWbEntitySelector field to provide a dropdown menu which retrieves
the expression or qid from wikidata instead of the simple  TextInputWidget to
edit the qid in the Visual Editor.

Change-Id: I0a6fddd2c2978c9c4f195d668458b8d2ed478d98
2022-07-06 12:13:28 +00:00
Translation updater bot f5e451cfdf Localisation updates from https://translatewiki.net.
Change-Id: I7850b0c8b7c94b985d580f7024019d74f29f27f5
2022-07-06 10:18:17 +02:00
Translation updater bot 0db6866004 Localisation updates from https://translatewiki.net.
Change-Id: Id2cf5e7779ba4a5bbe89a453071de427a44f9629
2022-07-04 08:22:27 +02:00
na1307 7d937c6665
Add Korean special page alias
Change-Id: I6db3eed3e05e1cdbd5de41dc3d0e34883328e725
2022-06-30 10:57:32 +09:00
Translation updater bot a9894c9c68 Localisation updates from https://translatewiki.net.
Change-Id: I9c754ea932c4e897428887e349dc06692a58aeb4
2022-06-29 08:35:20 +02:00
jenkins-bot 3d493fed35 Merge "Remove some unused methods." 2022-06-27 19:11:49 +00:00
Stegmujo c60565c790 Remove some unused methods.
Bug: T310350
Change-Id: I0629b9a963bf57b1368ffc61f7c3b631b19f5260
2022-06-27 18:20:06 +00:00
Translation updater bot d8fcc0e935 Localisation updates from https://translatewiki.net.
Change-Id: Iea57581093e0b1a0fb0fe5c3b0a087eff16c6486
2022-06-24 09:31:02 +02:00
jenkins-bot 669d53a714 Merge "schema: Move all sql files to sql folder" 2022-06-23 21:53:57 +00:00
jenkins-bot 3fc4933886 Merge "Bump minimum required version for upgrade to 1.31" 2022-06-23 21:53:56 +00:00
DannyS712 8328544d9c Start catch blocks on the same line as the preceding }
Change-Id: Ib3761884bc2ec14640f6e649ca7a704c9cea83ca
2022-06-23 00:24:02 +00:00
Umherirrender 44f7c7821a schema: Move all sql files to sql folder
It is good practice to have a folder in the root for all sql files.
Also use the engine folder to store the patches

Change-Id: Ic26c042f0a5a8ca6e0568b38c4b4b2b4f0686efb
2022-06-22 18:11:51 +00:00
Umherirrender 1290d24523 Bump minimum required version for upgrade to 1.31
Remove sql patches, mention the gerrit change to check version
- mathlatexml.mathml-length-adjustment.mysql.sql -
Id09ec6201f68efe63a439f6e85a53876d5c1e521

Change-Id: I2d66ab3203758dbe3d0c442163f010595fea5437
2022-06-22 18:09:53 +00:00
Translation updater bot 2e630542ab Localisation updates from https://translatewiki.net.
Change-Id: I6511d5417c15197685d100ec7f179f805fb77794
2022-06-16 09:24:58 +02:00
Translation updater bot a5aca55bb5 Localisation updates from https://translatewiki.net.
Change-Id: I3765d1d123c2b06c1fea5b7288c1c1264daf1144
2022-06-14 08:48:35 +02:00