Commit graph

3887 commits

Author SHA1 Message Date
Translation updater bot c0565949de Localisation updates from https://translatewiki.net.
Change-Id: I5e6e7429d6421c547b820895e60073e00d43fdc8
2023-06-29 08:11:23 +02:00
Translation updater bot 4b44e3dcc0 Localisation updates from https://translatewiki.net.
Change-Id: I84b572320b508a3a9723eb128ecb71b588dfcd75
2023-06-22 07:47:06 +02:00
Translation updater bot 83454fa047 Localisation updates from https://translatewiki.net.
Change-Id: I4205e82d9ef71edd730c3224e4daa73099eb26af
2023-06-15 08:31:51 +02:00
Translation updater bot aab66b296c Localisation updates from https://translatewiki.net.
Change-Id: I5e48575c6494ae35fa9e43ab37ee4f1b63d84a16
2023-06-08 07:55:16 +02:00
Translation updater bot 7c9b9b97c8 Localisation updates from https://translatewiki.net.
Change-Id: I33a0b8e4ef32a56d711790f818e363bb75b26ebf
2023-06-01 08:14:40 +02:00
Translation updater bot e3429d7a94 Localisation updates from https://translatewiki.net.
Change-Id: I9625ff7efa7c8c726cae828c6d230c896fd1c6f4
2023-05-25 07:38:49 +02:00
Translation updater bot 7981dcfcf5 Localisation updates from https://translatewiki.net.
Change-Id: Ib87e3255ccbbe20de1ac32a5edee268cbcc680f4
2023-05-18 07:58:16 +02:00
Translation updater bot 288da1a3d7 Localisation updates from https://translatewiki.net.
Change-Id: Ifb9c36f626676eafe25484d397aa452b5b5edfe5
2023-05-11 07:32:11 +02:00
Translation updater bot 9112eb9da1 Localisation updates from https://translatewiki.net.
Change-Id: Ia03036b9fd8d71a4ad4abbd4fc657acfcbf040e7
2023-05-04 08:30:08 +02:00
Translation updater bot 2f67f0347d Localisation updates from https://translatewiki.net.
Change-Id: I7da9d123b4a1e3cb8f79e49f00bd44024c350936
2023-04-27 08:31:22 +02:00
Translation updater bot c8157e7ab5 Localisation updates from https://translatewiki.net.
Change-Id: I7aa168d3fae5ccca256168ba22f9f631f7feb928
2023-04-20 07:58:28 +02:00
Translation updater bot 799bf2f6b7 Localisation updates from https://translatewiki.net.
Change-Id: I6cef66f27efd858c377c8f48d8c23b5e7c19d7e4
2023-04-06 08:16:40 +02:00
James D. Forrester bf52906742 build: Update MediaWiki requirement to 1.40.0
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Icd502cce677b70b6dc0685efbbe8513e166cdfbc
2023-03-13 23:33:00 -04:00
libraryupgrader b30d10bc60 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* qs: 6.5.2 → 6.5.3
  * https://github.com/advisories/GHSA-hrpp-h998-j3pp
* ua-parser-js: 0.7.31 → 0.7.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I1b2d97aa0541af1990fd5d9157dde40156413610
2023-03-11 23:06:17 +00:00
jenkins-bot 6b286ab789 Merge "Update output of diff test" 2023-03-10 16:45:56 +00:00
Translation updater bot 50df0785b9 Localisation updates from https://translatewiki.net.
Change-Id: Iadba4ac67acc5e98780d471ad8f3de052a565826
2023-03-10 08:48:02 +01:00
Translation updater bot b398619d3c Localisation updates from https://translatewiki.net.
Change-Id: Ie2803c8e16f7bd3fc468ce0849045486f399e333
2023-03-09 09:04:13 +01:00
jenkins-bot 1c8d43b175 Merge "Enable integrated testing with Parsoid" 2023-03-08 17:55:28 +00:00
jenkins-bot 664607022e Merge "Add small gap between reference body and re-use warning" 2023-03-08 16:27:53 +00:00
jenkins-bot ba3130a9f7 Merge "ve-cite: Show $originalRefList even if there are no refs in the model" 2023-03-08 16:18:11 +00:00
Ed Sanders bae4a409a5 Update output of diff test
For I93a88abc8e9ecf38992b396c151215781057a6f4.

Change-Id: Ia743b0c37bbd33b95dd4824018ae59fbb6e45c3e
2023-03-08 15:52:02 +00:00
Subramanya Sastry d8da2cbb28 Enable integrated testing with Parsoid
* The failing tests added to known failures are the tests
  known to fail as documented in T307741.

Bug: T307741
Change-Id: I5e5163a4bd093768d1364516ed79fb2d225ee656
2023-03-07 00:22:55 -06:00
thiemowmde c207e343a2 Add test case with conflicting dir="…" values
Just to document the current behavior.

Bug: T202593
Change-Id: I87c4118cd8ca9f860319dc1d3a25f448019339c4
2023-03-01 08:54:56 -06:00
thiemowmde 899775b5ce Remove problematic spaces from a parser test case + Rename a test file
IDEs like my PHPStorm trim spaces from the end of the line. It looks
like they are not relevant for the test and can as well be removed.

Change-Id: I54cb4fdf74dd7174450dcc552b077d388dbac749
2023-03-01 08:54:11 -06:00
jenkins-bot d30256b121 Merge "Update incomplete ReferencesFormatterTest" 2023-02-28 14:07:20 +00:00
Translation updater bot 245ac89794 Localisation updates from https://translatewiki.net.
Change-Id: Ic43c1fcefcb5910b79df4bbded97deb3a2e5158b
2023-02-28 08:28:33 +01:00
thiemowmde b2be6f4ece Update incomplete ReferencesFormatterTest
The mock was incomplete, leaving a feature uncovered.

Change-Id: I657728f89c94602a7aa9b3fbfabc53e7fdac348c
2023-02-27 17:40:56 +01:00
Translation updater bot 02603baca4 Localisation updates from https://translatewiki.net.
Change-Id: I0b5e779399c9dec3bdca537407e747b4f4cf9790
2023-02-27 08:27:14 +01:00
Translation updater bot 33d72f78f0 Localisation updates from https://translatewiki.net.
Change-Id: I02eb5002c1b152b1f1bf9918f96046783cd43160
2023-02-24 08:59:25 +01:00
thiemowmde fd90304b23 Make auto-generated reference names like name=":0" visible in VE
This is a prerequisite before any work related to T52568 (being able
to manually name references in VisualEditor) can start.

Why these names should not be hidden:
* We don't know if the name is actually part of the auto-generated
  sequence in the current article or copy-pasted from somewhere else.
* Manually given names that start with a colon are currently hidden
  even if they are unrelated to the auto-generated sequence.
* The information is highly relevant for users switching between VE
  and wikitext. Especially when a reference is used multiple times
  the relevant wikitext can be as short as <ref name=":0" />. The
  literally only information in this case is the number.

Since these numbers are still more technical than anything we make
them very dim to emphasize the contrast to non-numeric names.

Bug: T52568
Bug: T92432
Change-Id: I65cb6998cb5f8659cd9043f3d4aaeac1c5f69da8
2023-02-23 12:28:02 +01:00
Translation updater bot 91ebe18ee3 Localisation updates from https://translatewiki.net.
Change-Id: I198e3dfe9cf3dd9b377b33301f69eab406ea99ef
2023-02-23 08:38:32 +01:00
jenkins-bot d1ed02e21d Merge "Fix icon of re-use reference tool" 2023-02-22 17:58:49 +00:00
Ed Sanders 59d900d951 ve-cite: Show $originalRefList even if there are no refs in the model
This original use case at T187495 is for he.wiki, where it is likely
that all the references are defined in templates, so the model
will always be empty, even though $originalRefList is populated.

Change-Id: Ia2785a20bf82ab97466276a57936bc9299e1cabe
2023-02-22 17:19:22 +00:00
Translation updater bot d190578c9c Localisation updates from https://translatewiki.net.
Change-Id: I3e7da01af17e7aa9dca3344cd89277fa67072549
2023-02-20 09:46:06 +01:00
Translation updater bot 3e018e8893 Localisation updates from https://translatewiki.net.
Change-Id: I72da543bcd82e15db49498a70c66332ecb05bc3d
2023-02-16 08:45:58 +01:00
Subramanya Sastry fa1cb6c6cd Parsoid CSS: Remove list-style-type styles added in e5a8b3ec
I copied these from the visualdiffing repo, but I may have
over-generalized these from some wiki that might have customized
this to all wikis. enwiki doesn't use this, for example.

In any case, this styling should be left to individual wikis.
similar to the argument in 8412fb64 where I removed CSS rules
for standard refgroups as overreach.

Change-Id: Ie37408d7a92af88e39e345eb464c6fa2210d57e3
2023-02-13 22:18:45 -06:00
Translation updater bot 88bbaba129 Localisation updates from https://translatewiki.net.
Change-Id: I7f37d8bb63a41c98f845e4c21e06a88223b3649c
2023-02-13 08:29:40 +01:00
Ed Sanders f292da4254 Fix icon of re-use reference tool
Also update documentation in qqq.json with newer icon names.

Change-Id: I3cefe65c78e9438a7d29fbcd436ffad043d500e2
2023-02-11 14:07:01 +00:00
Arlo Breault 1dd994a28a Re-enable test
Change-Id: I9c909e10170a0437676bdf1290cc6421073a8284
Follow-Up: If9cdabdfac26656272fcf3b4aaae0576aaed1346
Depends-On: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
2023-02-09 17:30:52 -05:00
Arlo Breault 5fa75277b7 Disable test for CI
Needed-By: If1e55feb86ce8b32f772e3b78bc9d29f122f4d58
Change-Id: If9cdabdfac26656272fcf3b4aaae0576aaed1346
2023-02-09 17:28:08 -05:00
Arlo Breault d5b5a83ae9 Sync up Cite repo with Parsoid
This now aligns with Parsoid commit b520b8092db6f092603e7244cdac5f1fc645e89a

Change-Id: I671c5831d90bbeb088f5ff2133df553142e1af53
2023-02-09 16:58:34 -05:00
Translation updater bot 50d784ada6 Localisation updates from https://translatewiki.net.
Change-Id: I8ef437920037c0ba1db2b4ab28c0b954479ed27f
2023-02-09 10:11:02 +01:00
Subramanya Sastry eee7a43d77 Parsoid CSS: Use more W3C-supported counter types
* This ensures that Safari can also render these counter styles
  since Safari doesn't support @counter-style CSS rules yet.

Change-Id: Ib104a6d22197037bae0c58766d3363176022add3
2023-02-08 13:20:47 -06:00
jenkins-bot 6427249c8b Merge "Parsoid CSS: mw-ref-linkback counter inits to -1, not 0" 2023-02-08 16:19:36 +00:00
jenkins-bot 951a5f4a34 Merge "Parsoid CSS: Remove default rendering for "standard" ref groups" 2023-02-08 16:18:30 +00:00
Translation updater bot 5cd7fa82a0 Localisation updates from https://translatewiki.net.
Change-Id: Idce3d50dfbd235dafede1c6238da70335415e21e
2023-02-08 08:39:25 +01:00
Subramanya Sastry b9400d1bf0 Parsoid CSS: mw-ref-linkback counter inits to -1, not 0
* This has always been a bug but was hidden because enwiki
  uses lower-alpha custom rendering and so we never noticed it
  when we tested this on enwiki.

* Fixing the default gets rid of the need to override this for
  every single language that defined a non-decimal counter.

* This also eliminates the need for some rules where the overrides
  were identical to the baseline definitions (counter-type is
  decimal and separator is '.').

Bug: T86782
Bug: T156350
Change-Id: I51f8a06c80bb897b66a0978b117fbc5560efd6cb
2023-02-07 20:59:23 -06:00
Subramanya Sastry 8412fb6406 Parsoid CSS: Remove default rendering for "standard" ref groups
* This was obviously a mistake for 'decimal' since the previous CSS
  would have rendered refs with the "decimal" group and refs without
  any group identically making it hard to distinguish between the
  two ref types.

* But, not all wikis define custom messages for these "standard"
  ref groups. So, by providing default rendering for these, we would
  need custom overrides for wikis that didn't define them (the vast
  majority). Instead, for wikis that define them, define wiki-specific
  CSS for these groups that can be added to their Common.css pages.

* Discovered as I set about trying to update CSS on wikis and my
  test wikitext with different groups were rendering decimal groups
  differently and I had no custom CSS for it anywhere.

Bug: T86782
Change-Id: I5598580e96eead94bb09574b2af5cef3ce4241c5
2023-02-07 20:45:29 -06:00
Translation updater bot 768d492b61 Localisation updates from https://translatewiki.net.
Change-Id: I351a29e995c922ac2764d6449f66b06139da9e8f
2023-02-03 08:47:23 +01:00
jenkins-bot b85fcb759c Merge "Mark config parameter as optional in context classes" 2023-02-02 17:08:53 +00:00