Commit Graph

440 Commits

Author SHA1 Message Date
libraryupgrader
c086438ee6 build: Updating eslint-config-wikimedia to 0.28.2
Change-Id: I08e42b6084b3f1a3cdda5c98f3fd84537b748451
2024-06-22 03:07:54 +00:00
libraryupgrader
7f9f4ff4a3 build: Updating braces to 3.0.3
* https://github.com/advisories/GHSA-grv7-fg5c-xmjg

Change-Id: I4ef9a7ba8fbe85483bc902b0fabf9d8024120789
2024-06-13 00:22:55 +00:00
Umherirrender
ee51b400b0 Use namespaced classes
Change-Id: Ic2db9150469e64bb0f478cf0c431d9f5824a23c9
2024-06-10 21:59:11 +02:00
libraryupgrader
0261dce3a7 build: Updating eslint-config-wikimedia to 0.28.0
Change-Id: I58d5e95f53264c5a96c2a773b81261b5f506c4ea
2024-06-08 05:08:29 +00:00
libraryupgrader
f8236279b2 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I5dee1e36073500a360b9c51304b903812642d433
2024-05-19 04:31:09 +00:00
libraryupgrader
8fc7ae0ebc build: Updating grunt-banana-checker to 0.12.0
Change-Id: I37b4c6e91c95d88e9af73d121f771f320652bd10
2024-05-11 00:53:53 +00:00
libraryupgrader
cdaae5c562 build: Updating composer dependencies
* mediawiki/minus-x: 1.1.1 → 1.1.3
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

Change-Id: Ib40719e7638ce7674d5b168dd86ac66ac579ee5f
2024-05-06 07:13:32 +00:00
libraryupgrader
512a234bd5 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I7d7ae2b8e0a731db12cc93c818c795935e9a1a8f
2024-04-18 06:12:10 +00:00
Translation updater bot
bb69da550d Localisation updates from https://translatewiki.net.
Change-Id: If3610487879026c48ff7debff85d0949fac850fc
2024-03-18 08:31:53 +01:00
Umherirrender
74bdf0a7dd build: Upgrade mediawiki/mediawiki-codesniffer to v43.0.0
Change-Id: I7a3887f4fac7c4e78e0828fca52d0c355357e5b1
2024-03-12 20:22:40 +01:00
libraryupgrader
ee498dc2a2 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.0 → 0.26.0
* grunt-banana-checker: 0.11.0 → 0.11.1
* grunt-eslint: 24.0.1 → 24.3.0

Change-Id: I3cd73491fbea85e9b99e3712212524242a3e932c
2024-02-10 23:29:38 +00:00
Translation updater bot
a78acfa3df Localisation updates from https://translatewiki.net.
Change-Id: I2e07e43aab961c1a28f6c72e65f2fa23bcd7ac85
2024-02-07 08:27:46 +01:00
libraryupgrader
695b937ca6 build: Updating npm dependencies
* eslint-plugin-compat: 4.0.2 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* semver: 7.3.5 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
  * https://github.com/advisories/GHSA-j8xg-fqg3-53r7

Change-Id: Ic342e38f381538d2e0b7c43f41d04ae9d6c2bec1
2024-02-04 12:56:02 +00:00
Translation updater bot
c40597533d Localisation updates from https://translatewiki.net.
Change-Id: I6b7e712043ca7a499e71c45951a8a9b49038e2ac
2024-02-01 09:03:42 +01:00
James D. Forrester
1d612045c0 build: Update MediaWiki requirement to 1.42
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I29fd0a17e6f5bf8da5f4a436fbfaa08585218963
2024-01-12 18:33:00 -05:00
Umherirrender
90040f278a Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statement done manually

Change-Id: I45053ede3898b5c886a8182659466d321126ac1f
2024-01-04 22:22:49 +01:00
Translation updater bot
65b0eb6e88 Localisation updates from https://translatewiki.net.
Change-Id: I1595f1b4365b5426e04923859ff2c63071de3316
2023-12-13 08:42:02 +01:00
Translation updater bot
920c058d27 Localisation updates from https://translatewiki.net.
Change-Id: I5a9912953a884960e86a536ae70413c4ae2459a3
2023-11-29 08:31:52 +01:00
Translation updater bot
92a470269b Localisation updates from https://translatewiki.net.
Change-Id: I6da43620c7bc76bb5da3edaa71cb87c88e8022c8
2023-09-25 08:47:08 +02:00
Translation updater bot
7fbfe8564c Localisation updates from https://translatewiki.net.
Change-Id: Id146ad241f876d4d66b0443bdb51b1dc37298868
2023-09-18 08:44:58 +02:00
Translation updater bot
5e9496c6b7 Localisation updates from https://translatewiki.net.
Change-Id: I726e05394061ae081cc48260e61de423bfd73dda
2023-09-01 09:03:39 +02:00
jenkins-bot
84266ef050 Merge "ExtractFormatter: Update for HtmlFormatter 4.0.0" 2023-08-23 16:02:37 +00:00
Translation updater bot
f3bc3bbb55 Localisation updates from https://translatewiki.net.
Change-Id: Ic0d3f9d5f3920403f11e2968370f85bba5dffc10
2023-08-23 08:40:38 +02:00
Reedy
47172479bb ExtractFormatter: Update for HtmlFormatter 4.0.0
Bug: T330528
Depends-On: Id785cfd2e00762ca6c1ea80200dd4a3d197640f2
Change-Id: I496d84fab3ee8feee5891ca984f37e90837d857c
2023-08-22 20:50:03 +00:00
gerritbot
71e31619f2 Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681
Change-Id: I09a9c9f6294c9988feb3c2eba46ffde73996b3d3
2023-08-19 18:08:08 +00:00
jenkins-bot
2a12962ecf Merge "build: Update MediaWiki requirement to 1.41" 2023-08-19 09:52:29 +00:00
James D. Forrester
7cf9db11ca build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: Ica46fa97ca72a58192ff90447f2a72d3d90b4b4a
2023-08-19 14:09:59 +08:00
James D. Forrester
9fbd023a69 build: Update MediaWiki requirement to 1.41
All extensions in the MediaWiki tarball are expected to track MediaWiki's release directly.

Change-Id: I01b3eb2ff75809582eeb151632fc1633e524ddc1
2023-08-19 14:09:54 +08:00
Translation updater bot
5bf204a410 Localisation updates from https://translatewiki.net.
Change-Id: If46bb978b9de5f206b67f7a2c9afea68076f5eac
2023-08-18 09:09:14 +02:00
Umherirrender
ce0bcb5c82 Use HookHandlers for core hooks
The use of "HookHandlers" attribute in extension.json makes it possible
to inject services into hook handler classes in a future patch.

Bug: T271032
Change-Id: I612c09264b830fe5588aafdad80a9eebaa66d71b
2023-08-14 19:49:09 +02:00
Translation updater bot
87dc3cb2db Localisation updates from https://translatewiki.net.
Change-Id: Id0105a7cd141aa54cb991fe44382feac3339bbdb
2023-08-14 09:18:44 +02:00
Translation updater bot
2978dbe8b4 Localisation updates from https://translatewiki.net.
Change-Id: I12f0ee07f8b15f40542411761e3e881f54278a9f
2023-08-10 09:42:13 +02:00
Translation updater bot
805d532275 Localisation updates from https://translatewiki.net.
Change-Id: Ic52779b5494cbfbe40b6aad65e3adefc2ae0b273
2023-08-09 09:15:52 +02:00
jenkins-bot
d5b4aa677a Merge "Use ExpirationAwareness instead of deprecated IExpiringStore" 2023-08-08 20:15:14 +00:00
Translation updater bot
fa161f74f1 Localisation updates from https://translatewiki.net.
Change-Id: I75821bd16fc25ce080cd1fb23381b28adc91280a
2023-08-08 09:01:42 +02:00
Translation updater bot
248ef5f2e2 Localisation updates from https://translatewiki.net.
Change-Id: I2497b3e8812f619d3d6c52e3391387e56e33bc37
2023-08-07 08:39:55 +02:00
Derick Alangi
627f65ebff
Use ExpirationAwareness instead of deprecated IExpiringStore
IExpiringStore has been deprecated since 1.35 and we can either
use the ExpirationAwareness or StorageAwareness constants where
necessary.

Change-Id: Ida557b3180eb5e7ebae46968142b4f154f26ffbc
2023-08-06 22:30:33 +01:00
Umherirrender
cd565f856a i18n: Split apihelp for parameter prop=extracts&exsectionformat=
Easier to translate
There is no visible change on Special:ApiHelp/query+extracts

Bug: T285545
Change-Id: Ide7650148ea3bbf9fa85fb052090f3b13f1b42c5
2023-08-05 02:30:49 +02:00
Translation updater bot
fc4f063fc1 Localisation updates from https://translatewiki.net.
Change-Id: I96b0633e1c922a58a750adcd5f49c9ab5cdecc5d
2023-06-26 12:41:07 +02:00
Umherirrender
8af1ee45ec api: Remove old apihelp i18n description messages
No longer used since 1.33

Automatically removed message keys with "doc-apihelp-description" in qqq

Bug: T340253
Change-Id: I381bbebcaa7563b046cfbfdbd8985c99bc07ef97
2023-06-24 00:24:02 +02:00
libraryupgrader
ad0543fb65 build: Updating grunt-banana-checker to 0.11.0
Change-Id: I44a8cef927ce66251bfaa90067bcb22178ce47e2
2023-06-02 03:59:11 +00:00
Umherirrender
b9f9e827be tests: Make PHPUnit data providers static
Initally used a new sniff with autofix (T333745)

Bug: T332865
Change-Id: Ifea9699646a5831471f4d536d0074d9976e1ac42
2023-05-20 14:13:35 +02:00
gerritbot
bdd77c5c06 Update moved class FauxRequest
See T321882. Moved in I832b133aaf61ee

Bug: T321681
Change-Id: I6ce2acc3961db1b9663efd62ebdcf57c905caaf0
2023-05-19 10:25:20 +00:00
libraryupgrader
67f27e7dbc build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I876de877b79934e454013d8760750586933ff34e
2023-05-05 18:09:27 +00:00
libraryupgrader
7815bc6530 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Icfff05cd76042e6aa33d1bb11a07e6b97bd6b263
2023-04-29 12:35:17 +00:00
jenkins-bot
74baaa7ce1 Merge "Skip <h2> in TOC when extracting first section" 2023-03-20 09:23:31 +00:00
Thiemo Kreuz
60e1c5ad83 Skip <h2> in TOC when extracting first section
This piece of code is only relevant in case when:
- the intro section is requested (either in plaintext or html);
- the parse result for the full page is available in the parser cache;
- the full extract is not available in the TextExtracts WAN cache;
- the intro is also not available in the TextExtracts WAN cache.

In this case getFirstSection() is called with the parser output,
which is different from the the convertText() output it is called
with in other code paths, and still contains <h*> tags. A quick
regex is used to extract the first section. This stops at any <h2>.
A TOC also contains a <h2> (which will be removed later via
$wgExtractsRemoveClasses). This one needs to be ignored in case
the TOC is placed before the first section using e.g. the __TOC__
keyword.

The patch changes the regex so it ignores a h2 with
id="mw-toc-heading", but keeps working in plaintext mode when <h*>
tags are not present  (the code path when the intro section is
requested, and the full extract is available in the TextExtracts
WAN cache but the intro extract isn't).

Bug: T269967
Change-Id: I0a495d06cf1725744e556e81f17047fb53f53521
2023-03-20 07:40:07 +00:00
libraryupgrader
2a5abdb2d0 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I2a41cf3d1d5f0c30240474a3d513a3170c0b7656
2023-03-16 08:34:25 +00:00
libraryupgrader
15667b2c37 build: Updating mediawiki/mediawiki-codesniffer to 41.0.0
Change-Id: I3129f0ec6c8227d7d988ba12b40fe6fe91634d3b
2023-03-12 12:00:05 +00:00
Translation updater bot
2054e8fa8a Localisation updates from https://translatewiki.net.
Change-Id: I1f33596f31be4aac2ded317d5b8758ac1c1b2ed8
2023-01-26 08:52:47 +01:00