Commit graph

1296 commits

Author SHA1 Message Date
Yaron Koren 01ee50c8e8 Remove copy of replaceAll.php
Change-Id: I22c9867b0d5d47d18f952d28076b21abe50dfcfd
2021-10-07 21:22:05 +00:00
libraryupgrader 4f90bb0735 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I96dca296476847a677ddd411db8553b78d5409d0
2021-10-05 21:53:19 +00:00
Alexander Vorwerk a4997109ea Avoid using MWNamespace
The MWNamespace class has been deprecated in favor of the NamespaceInfo
service. All methods in the MWNamespace should be replaced with the
equivalent methods of the NamespaceInfo service.

Bug: T291389
Change-Id: I9e3a0aff012d1524205cebe61c10e016f989cecb
2021-10-01 15:51:09 +02:00
RhinosF1 4c1453927d SECURITY: Check permissions before job execution
CVE-2021-41801

Bug: T279090
Change-Id: Ibc299edf626ca9aa1cd9d83b888820f5aca9af7c
2021-09-30 16:41:41 +01:00
Translation updater bot e32b0be64d Localisation updates from https://translatewiki.net.
Change-Id: I7076fc20b7fe2e955d58be038cd7a61fb7a30e1e
2021-09-20 08:19:32 +02:00
libraryupgrader a765c687c9 build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I33ceb173eb7775833a00dd4ae1761df5e4a4c4d0
2021-09-09 18:43:17 +00:00
Fomafix 78e75ed030 Change CSS identifiers
Apply CSS coding conventions from:
https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#Naming

* Use class instead of id.
* Use class names with the prefix "ext-replacetext-".
* Remove stylelint rule:
    "selector-max-id": null
* Add stylelint rule:
    "selector-class-pattern": "^client-nojs$|^ext-replacetext-"

Change-Id: Ia7e3d41030aba7287716a219acbe6115e8fcbe46
2021-09-08 11:53:43 +00:00
Fomafix bd20365fbe Use LESS instead of CSS
This allows to simplify the syntax.

Change-Id: I086524d94644a698ddbe9b15d816684736c1dc1c
2021-09-08 11:16:31 +00:00
Fomafix 2a6d1866fd Duplicate styles from 'mediawiki.special.search.styles'
The styles for #mw-searchoptions are currently missing on
Special:ReplaceText.

Also duplicate the style for .searchmatch to avoid the dependency on
core module 'mediawiki.special.search.styles'.

Change-Id: I846bae65fc87ba300b78932a9704ba6b639643c0
2021-09-07 20:36:32 -07:00
Fomafix db88090ca6 Generate toggle buttons in HTML instead of JavaScript
This change ensures that the toggle buttons are already present while
loading.

Change-Id: I9453de8e540a75436029a3383721d0b6d73786ae
2021-09-07 20:33:39 -07:00
libraryupgrader 9490b14d4f build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I212563dc57a3db152c574ff6b7db995a79b4868b
2021-09-04 21:51:10 +00:00
libraryupgrader b16df67746 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I9bfef07fa9998881db49e08e7d3606b3be9c086c
2021-08-12 10:01:40 +00:00
Translation updater bot 00bb8b00e3 Localisation updates from https://translatewiki.net.
Change-Id: I069477d7ac6f426071b0bdd6444a0092eef31601
2021-08-09 08:25:02 +02:00
Translation updater bot 4472dd0fc7 Localisation updates from https://translatewiki.net.
Change-Id: I839e4a97d086ef4016fab2dc12270821788fe961
2021-08-05 08:22:34 +02:00
libraryupgrader 1f04965c46 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

npm:
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I94cbb3d72dfffef2cfd97d2814cc125c8f898d2c
2021-07-23 10:25:17 +00:00
Yaron Koren 7c5dfae496 Change some interface elements to use OOUI
Change-Id: Ic55f2b173948aad50ae24279b630315ecf8faf1c
2021-07-08 18:16:20 +00:00
jenkins-bot 72e50c6ed2 Merge "Remove LEFT-TO-RIGHT MARK (U+200E) from source code" 2021-07-08 06:44:02 +00:00
Fomafix 1d8693829b Remove backwards compatible code for MediaWiki < 1.28
Extension already requires 1.32+ in extension.json

Change-Id: I76005515ca2dbf367cfc13ab5db8ee7c51bb11cb
2021-07-06 23:46:16 +00:00
jenkins-bot ec085db978 Merge "Simplify checkbox inverting" 2021-07-05 16:37:32 +00:00
Fomafix 97aa6a9efe Remove support for MediaWiki 1.30
The extension already requires MediaWiki >= 1.32 in extension.json.

Change-Id: I80f624057609e6e2bbe6ac44ece4d4085a12c3d4
2021-07-03 09:15:47 +00:00
Fomafix 978c8ead5b Simplify checkbox inverting
Change-Id: Ic44987189a024e1f07e38907ce7208f9ab3a4d10
2021-07-03 07:22:29 +00:00
Fomafix 8cec982e63 Remove LEFT-TO-RIGHT MARK (U+200E) from source code
Change-Id: Id681247bb1823f64de34ef8ae377d35b717a5ae7
2021-07-01 20:43:51 +00:00
Yaron Koren 438c0eb69c Version 1.5
Change-Id: I7e6ab905c6d02960c0820905f1acae8987f554bc
2021-07-01 14:44:27 +00:00
Yaron Koren 1895d589d6 Remove ReplaceText.php shim
Change-Id: I26d20a0c6a68d5c03ead0fc80f1157ab09f2c4eb
2021-06-30 19:54:35 +00:00
Umherirrender 22b1fc0725 Remove MSSQL support
Bug: T283021
Change-Id: I27a55958cb8bb25cf6dafbc4dcd4054113bb5fd8
2021-06-07 19:29:29 +00:00
Translation updater bot 0d65a6b322 Localisation updates from https://translatewiki.net.
Change-Id: Ib2af808275ffcdbe36e24b2c11e7b17b096b23de
2021-05-31 08:32:37 +02:00
libraryupgrader 88f82c9750 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I3d003d7cf501a81e50ff010017e28a415a1515d9
2021-05-26 02:54:39 +00:00
Translation updater bot 6c13e45944 Localisation updates from https://translatewiki.net.
Change-Id: I2ea5437a214b0f54fe328d863eb43bce9c43202c
2021-05-25 08:53:54 +02:00
Translation updater bot 3db7f2964c Localisation updates from https://translatewiki.net.
Change-Id: Ib51b030164a6427760cca5a7cf6348d41dd72979
2021-05-24 09:55:16 +02:00
Translation updater bot 2bdbab8fbd Localisation updates from https://translatewiki.net.
Change-Id: I14bf9ba7b45ae7b23b4345212e54e05c819afcc7
2021-05-19 08:43:56 +02:00
Umherirrender 0a73008353 Fix mysql specifc cast on signed with Database::buildIntegerCast
Bug: T280102
Follow-Up: Ia84f135a8699fdc6cff6877c31fae1d46bf84f97
Change-Id: Ie8fc9fd8080e552c0b466472431e2c7143f8c7b0
2021-05-16 22:12:33 +02:00
libraryupgrader 756212a5c8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: Ie63a64b73266230d2805383625fbca576d1be83b
2021-05-13 05:12:32 +00:00
Cindy Cicalese 84c803f93f Replace usage of deprecated WatchAction methods
Bug: T280750
Change-Id: Ie9a25eb62358329d403d3b54bd0f84c773ca7e48
2021-04-28 09:00:12 -04:00
Translation updater bot cb4ede91fb Localisation updates from https://translatewiki.net.
Change-Id: I22a4e838c89b88d205b90eedfe064b934bffa02d
2021-04-22 09:32:12 +02:00
Translation updater bot 455027d861 Localisation updates from https://translatewiki.net.
Change-Id: Ia347a784894a0e5713e919e1446b237d11381fb6
2021-04-15 08:44:00 +02:00
libraryupgrader 7a2c81d381 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I4f007a66bd8c8bd6d8b79f716249fce590551bed
2021-04-14 03:23:44 +00:00
Translation updater bot 44b2953e1c Localisation updates from https://translatewiki.net.
Change-Id: Ie2af6bc5472d22c071355c402f504e17e7ac053d
2021-04-13 09:21:30 +02:00
Translation updater bot 0e1ca18133 Localisation updates from https://translatewiki.net.
Change-Id: I9b5a7b1033f78c420a2294625981aff1d5ba3e59
2021-04-12 08:38:44 +02:00
Mark A. Hershberger eb73831c19
Move to MW\Extension namespace
Change-Id: I8f96ef2fd787a516d71a4391d812ede3cbbb30d4
2021-04-09 13:12:48 -04:00
Mark A. Hershberger 4538d0dc23
Make configuration errors translatable
And use an ErrorPageException to display them

Change-Id: Icbec6f40610b5f2fc51fdf5d1b55a153f5158cc0
2021-04-09 12:12:52 -04:00
Mark A. Hershberger b15a7352d3
Provide phan with stubs for AL* classes
Bug: T279202
Change-Id: Ia1e667935c2553a1bff999516e3ad349d4923e21
2021-04-07 22:14:44 -04:00
Yaron Koren d0788608e9 Another fix for 7f823dfccb - restore support for SQLite
Patch by Shouya0.

Change-Id: Ibae73e57d036031f1bfc8df17205ca1359f0dd67
2021-04-06 16:37:07 +00:00
Umherirrender 85969b01e2 build: Swap deprecated @codingStandardsIgnore to phpcs:ignore
Bug: T278594
Change-Id: I42c60bcfb58c863dc37735258422e3307ed33dad
2021-04-04 00:00:48 +02:00
Mark A. Hershberger 87ae0875be
Check that $matches[0] is actually an array
Bug: T279148
Change-Id: I687e07f2ce6d9574d7eef0442a6968321368fb19
2021-04-02 10:55:29 -04:00
Translation updater bot 8e1c9e546b Localisation updates from https://translatewiki.net.
Change-Id: I38feaacf1dd486645301ce219c5b5de672cb9271
2021-03-29 08:37:00 +02:00
libraryupgrader 2d7f3189ba build: Updating eslint-config-wikimedia to 0.19.0
Change-Id: Ic967a48af5d8653563446e7a364efcfcd18979b6
2021-03-14 11:39:08 +00:00
libraryupgrader c9a9ceb441 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: If849169b1715fb4da97a18830614dd003deae92a
2021-03-07 19:17:16 +00:00
Translation updater bot 7c2beefa98 Localisation updates from https://translatewiki.net.
Change-Id: I3d948c69fbb87e24e1488fc423bc6f7f0aba9287
2021-02-23 08:49:22 +01:00
Translation updater bot 21bd9479e2 Localisation updates from https://translatewiki.net.
Change-Id: I891b3b99ffe4847abf86e0d3828f238db2262441
2021-02-08 08:44:19 +01:00
libraryupgrader e150d1ca6c build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

Change-Id: I65d4f456cb19d45ee6da21d8fb3e61ee87e9d5e5
2021-01-30 09:22:05 +00:00