Commit graph

3740 commits

Author SHA1 Message Date
Subramanya Sastry 08263ecad5 Tweak CSS defaults to handle Cite_references_link_many_sep properly
* The default separator (' ') should be set up as an :after selector
  and individiual wikis that define the _many_sep and/or _many_and
  messages can override this appropriately.

* Update frwiki overrides accordingly. It has an additional <sup>
  in the Cite_references_link_many message. frwiki also defines the
  Cite_references_link_many_and message.

Change-Id: Ia9ce6ac8eaa5b8386d4a586c620959465da73ef1
2022-11-02 18:48:17 -05:00
Translation updater bot 0fde755d8c Localisation updates from https://translatewiki.net.
Change-Id: Ib6ec43181c4c9ea2c6df4f2cf2bb4601342a0430
2022-11-02 08:37:47 +01:00
Subramanya Sastry b588a548bf Parsoid CSS: Add language specific overrides for es, hu, it, sv
* These styles are biased towards Wikipedia.

Bug: T156350
Change-Id: I417c9182fad7dcab85bdca48d4043cd65cd06ca1
2022-11-01 15:45:32 -05:00
Subramanya Sastry d6705eb3f8 Parsoid CSS: Migrate to using .reference instead of .mw-ref
* As part of T265930, in order to reduce the CSS rules that needed
  to be added, we started using the .reference class that the
  original Cite implementation uses.

* Let us migrate styles to using that original class as well.

* Since Parsoid emits a <sup>, we no longer need some of the
  CSS rules on .reference. With the class name change, the
  other rules are duplicates since we inherit the rules from
  ext.cite.styles.css. This effectively eliminated all CSS
  rules for ".reference" from ext.cite.style.css

* Admins on wikis will get the following guidance:
  - where similar styles apply to legacy output and Parsoid output,
    use the .reference class in Commons.css
  - where specific styles apply to Parsoid output but not legacy,
    use the .mw-ref class in Commons.css

* Once we have fully migrated all wikis to Parsoid output, we can
  migrate all the ".mw-ref" rules to ".reference". We then stop
  emitting the ".mw-ref" class in Parsoid output.

Change-Id: I5a8c540dc5b045ffff8c280262595f5281cd167d
2022-11-01 15:43:16 -05:00
Translation updater bot 30a3cb2737 Localisation updates from https://translatewiki.net.
Change-Id: Id717073d71df9469c6a32127ebf1fe2670fbdb2e
2022-11-01 08:51:34 +01:00
Translation updater bot be3432202f Localisation updates from https://translatewiki.net.
Change-Id: Ide0a0d079b900fb3714ce683c9d42a3d5046fdf6
2022-10-31 09:45:26 +01:00
libraryupgrader b58420273d build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Ia6021e0a4bc4087a6180f4e976da03ddb5388f0b
2022-10-27 02:58:09 +00:00
libraryupgrader 45de6a904f build: Updating npm dependencies
* mocha: 9.2.0 → 9.2.2
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I3bbd52da8e8d333a1a45631042ea4140f1f9c307
2022-10-26 01:28:29 +00:00
jenkins-bot 46366167e5 Merge "Restore styling for cite warnings" 2022-10-24 20:52:50 +00:00
mainframe98 b6e5601eb1 Restore styling for cite warnings
This broke as a result of T280766.

Bug: T321450
Change-Id: I4673b769612b280dde1943d79aa16dcd7d6a8052
2022-10-24 18:14:19 +00:00
Translation updater bot 16c6aeb54d Localisation updates from https://translatewiki.net.
Change-Id: If27620aea637c88c337e19580fee03f7be445bfe
2022-10-24 08:22:19 +02:00
jenkins-bot ba468aaf14 Merge "Add language specific CSS overrides for a few languages" 2022-10-22 03:27:48 +00:00
jenkins-bot 0668beac76 Merge "Parsoid CSS: Update default styles to reduce needed overrides" 2022-10-22 03:27:46 +00:00
Subramanya Sastry 3736e6fa15 Add language specific CSS overrides for a few languages
* This patch adds styles for fr, kn, nb as an experiment.
  Newer patches will add for other languages.

* These styles are based on wikipedia rendering and other
  projects in these languages may need to add overrides in
  their Mediawiki:Common.css page.

Bug: T156350
Change-Id: If0d78e0fd4174c0563cb4b98d8c5efe9a1428673
2022-10-20 22:03:48 -05:00
Subramanya Sastry e5a8b3ec5f Parsoid CSS: Update default styles to reduce needed overrides
* Most wikis seem to either use lower-alpha or seem to use
  use language-specific custom numbers. decimal usage is lower
  and is better used as CSS override on those wikis.

Change-Id: I3e4c3e7b96ab5a9704fe700f62154e51930c975a
2022-10-20 21:33:05 -05:00
Translation updater bot f8cd1311c0 Localisation updates from https://translatewiki.net.
Change-Id: I6c8fd5fe85ef2d9f01cc3d37b0e0b4eba562cf9b
2022-10-20 08:31:02 +02:00
Translation updater bot 6c24ea3560 Localisation updates from https://translatewiki.net.
Change-Id: I7d915d246519b1edc1466fc7dc42aea9a993558b
2022-10-17 08:20:40 +02:00
Translation updater bot 9859d07429 Localisation updates from https://translatewiki.net.
Change-Id: Iefc40e68e83f48c9379cc53d0788f4d9508b3463
2022-10-14 08:41:21 +02:00
Translation updater bot ef4dd425bc Localisation updates from https://translatewiki.net.
Change-Id: I4cbb7e9ea4adb1b90380de89e2edce2c42e75e95
2022-10-13 08:08:16 +02:00
Translation updater bot acca9487be Localisation updates from https://translatewiki.net.
Change-Id: I515e8caf647d136c5ce14574be49df41d456c7d7
2022-10-12 08:07:32 +02:00
jenkins-bot 05bb7a1f1b Merge "build: Updating mediawiki/mediawiki-phan-config to 0.12.0" 2022-10-10 20:37:01 +00:00
Translation updater bot 9bbea4b7bb Localisation updates from https://translatewiki.net.
Change-Id: Ia5d75203af7241906ec96e7ecdf19b5528922d17
2022-10-10 10:19:42 +02:00
libraryupgrader a3babf81e3 build: Updating mediawiki/mediawiki-phan-config to 0.12.0
Change-Id: I70f1a3ef9e5a10edaf5a8dc9f3e272f99021b9c5
2022-10-09 19:48:09 +00:00
libraryupgrader b36efa2fc8 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I2c5609766bbe83bf80b154f7851d97662e2e2a9d
2022-10-06 21:00:10 +00:00
Translation updater bot 19f9fbe2aa Localisation updates from https://translatewiki.net.
Change-Id: Ia036b4e6b754ca1a7ebed46f0d41c9178602e05a
2022-10-03 09:45:22 +02:00
Translation updater bot 405ec15ab3 Localisation updates from https://translatewiki.net.
Change-Id: Ib3d9ffca8214dca525e38362e7aee9310a86cb8b
2022-09-27 08:31:52 +02:00
Translation updater bot 69fd353fe2 Localisation updates from https://translatewiki.net.
Change-Id: I59135ec6581d8a4972540f0077608c355cb9fca5
2022-09-26 08:14:48 +02:00
Translation updater bot e58a6f070a Localisation updates from https://translatewiki.net.
Change-Id: Ie9fd4625eca952cb50cea2f4c1bde5436e27ffa7
2022-09-23 08:28:42 +02:00
Translation updater bot 287b38927c Localisation updates from https://translatewiki.net.
Change-Id: I05c29c9567cc184668c9ec7dd21902ae0b936b4c
2022-09-19 08:24:09 +02:00
Translation updater bot a40df2be06 Localisation updates from https://translatewiki.net.
Change-Id: I1d79e6d9dcbd1497269dadf5754f8cee2a67bc28
2022-09-15 09:54:39 +02:00
Translation updater bot 8230c0f8ba Localisation updates from https://translatewiki.net.
Change-Id: I06b418357090b496c677d9068cd3e5f6b73ce32d
2022-09-14 10:31:21 +02:00
Translation updater bot 851bb6c712 Localisation updates from https://translatewiki.net.
Change-Id: I7ceceedea1f25c44a26074592fbbe5cf050ab938
2022-09-13 09:25:44 +02:00
Translation updater bot badb0e4759 Localisation updates from https://translatewiki.net.
Change-Id: I3849cc24bf2f56fcc842e5b8179e19fa1cc705d2
2022-09-12 09:36:11 +02:00
Translation updater bot 95dac62e63 Localisation updates from https://translatewiki.net.
Change-Id: Ic02c6028c58845eb8e1a7333d95433ee94f8e868
2022-09-09 10:09:43 +02:00
Translation updater bot 12e78ccd7c Localisation updates from https://translatewiki.net.
Change-Id: Iefd2e3bde21f426a0548627fe9be7bb6ead8273f
2022-09-08 09:58:48 +02:00
Translation updater bot 3ba21b2e1d Localisation updates from https://translatewiki.net.
Change-Id: If8fedc03b3367596765c4dcbb0ca1749f116b823
2022-09-07 09:54:25 +02:00
Translation updater bot e843751ef6 Localisation updates from https://translatewiki.net.
Change-Id: I26d6b5159da04a4e3e2933ffbf5c20047dd0ad0d
2022-09-05 10:10:08 +02:00
Translation updater bot 39728520f7 Localisation updates from https://translatewiki.net.
Change-Id: I94c2d0fa37487d4f7e4a234bcaefd35d8ea14859
2022-09-01 09:33:22 +02:00
Translation updater bot dd6bd89224 Localisation updates from https://translatewiki.net.
Change-Id: Ia452e01700dd013b146ceb4a7dc7f92ec577ac9d
2022-08-31 09:34:52 +02:00
Translation updater bot 0d70d5a04c Localisation updates from https://translatewiki.net.
Change-Id: Id25442ec77be05f63133c29b9a22f980e6a076ed
2022-08-29 09:13:32 +02:00
Translation updater bot 71f3c02bfb Localisation updates from https://translatewiki.net.
Change-Id: Iadaad991539c753fbed211b60abda4a59ff2626f
2022-08-26 08:22:27 +02:00
Translation updater bot ac82007f55 Localisation updates from https://translatewiki.net.
Change-Id: Ia83a23cb09a9775880ed610ec7540a9e25e05df3
2022-08-25 08:25:45 +02:00
Translation updater bot da97785e33 Localisation updates from https://translatewiki.net.
Change-Id: I9a2a973dd79ae5ef4efe4c9c5cd5946038a1b482
2022-08-24 08:24:09 +02:00
Arlo Breault 0060e2b43d Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 9041d0bac69fe763112c0d8fcbd553a211a25c26

Change-Id: I34b1fdf2232e67db5326ed25ab3f4ad128e59e5d
2022-08-23 15:11:06 -04:00
jenkins-bot f75f1fdace Merge "Improve two error messages" 2022-08-23 10:52:42 +00:00
Isabelle Hurbain-Palatin b21aca1d06 Allow multivalued rel attributes
This patch is probably not necessary per se, because Cite creates and
controls the mw:referencedBy rel attributes, but it popped up in my code
search, it is technically more correct and it doesn't hurt.

Bug: T315209
Change-Id: Ie796c8a69988c6a546a15d998028c0e6f4c5b2e9
2022-08-22 15:02:40 +02:00
Translation updater bot 807d8adca9 Localisation updates from https://translatewiki.net.
Change-Id: I9be1a069383d062cba6b77b271126e207d1bd8e8
2022-08-22 08:22:26 +02:00
Thiemo Kreuz 8fef0dd2aa Improve two error messages
Makes it easier to find the source of the error in the wikitext.

Change-Id: I648a19881210184ab1abe9b948b5efbbbdabcdc9
2022-08-20 12:23:28 +02:00
Translation updater bot f8d013f5d9 Localisation updates from https://translatewiki.net.
Change-Id: I72f7df66e3c38db6c000de10f3f7df92892cdc09
2022-08-19 08:29:04 +02:00
Translation updater bot 2049b78162 Localisation updates from https://translatewiki.net.
Change-Id: I8e2eddbad73b6d34511c0b4816ff36fec4156a06
2022-08-17 08:23:59 +02:00