Commit graph

1259 commits

Author SHA1 Message Date
libraryupgrader 7c0453552f build: Updating grunt-banana-checker to 0.9.0
Change-Id: I53b314461d3840f4351cce1fd6da1bc5e4ae0766
2020-04-19 17:21:25 +00:00
Translation updater bot dc4053209d Localisation updates from https://translatewiki.net.
Change-Id: I3b54f3f0658d7348025734efa75c5eed19efb90b
2020-04-09 08:39:53 +02:00
Translation updater bot 57bd0a7f62 Localisation updates from https://translatewiki.net.
Change-Id: Ib97bdf0a4058e085ae0c325aae35d8c66a7ebfbf
2020-04-07 08:48:30 +02:00
Translation updater bot 6bd29137d3 Localisation updates from https://translatewiki.net.
Change-Id: I38ed110dae4a7477363c8cf64e612c8ad3010205
2020-04-06 09:02:44 +02:00
libraryupgrader f212af7d51 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: Id1b6cc2f35d1c4a4082b48fb9bbac59c48f5d0b4
2020-04-05 09:14:08 +00:00
Reedy 7d4e871037 Use $this->output() rather than echo
Change-Id: I25c6abcce573ed3ad0884eb4ad21522c8f4d9d85
2020-03-31 22:26:49 +00:00
libraryupgrader 3f472f41df build: Updating mkdirp to 0.5.3
* https://npmjs.com/advisories/1179

Change-Id: Ieb3c24e59f7121f45bc776a593e2c93af74e8b9b
2020-03-21 06:02:26 +00:00
libraryupgrader 8afa9e8fbe build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I79cfcd85b5365c8ea331a442467ee05d593a9cd1
2020-03-19 08:49:57 +00:00
Translation updater bot 8c70879070 Localisation updates from https://translatewiki.net.
Change-Id: I721b16ac2ef6b3751d074d40cb4cfbbfffff062f
2020-03-17 10:25:55 +01:00
Translation updater bot 58fb2d3492 Localisation updates from https://translatewiki.net.
Change-Id: Ieea3565173f0a7b27f8beccf7b9d38a61fb6988b
2020-03-16 16:02:30 +01:00
libraryupgrader 12ca3932b8 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Ie0a984b288a127e1276cf5d783fce5eced12d239
2020-03-08 12:19:56 +00:00
DannyS712 66853b88db Replace uses of old deprecated SpecialPageFactory
Extension requires 1.32+, so version isn't an issue

Bug: T246142
Change-Id: I5642d3781af5b366389f3fc4fc359989f6f9dbd8
2020-02-28 23:49:35 +00:00
libraryupgrader c681e92498 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Iab7d99f3796bbb2cd03439e89fc4fee993ac5171
2020-02-21 01:49:25 +00:00
jenkins-bot 6c26416643 Merge "build: Updating composer dependencies" 2020-02-19 20:56:12 +00:00
libraryupgrader e436c9ca32 build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.2

Change-Id: If64306a1352d3daed53b097d5f02457e8b7a2288
2020-02-19 19:52:51 +00:00
Translation updater bot ae08dc033c Localisation updates from https://translatewiki.net.
Change-Id: I392fcab707f0dca224fbacd4cc203c823c7b776c
2020-02-19 08:26:07 +01:00
Translation updater bot cc5713caea Localisation updates from https://translatewiki.net.
Change-Id: Ie320c6d588649957df89ab821f0f6e5067982691
2020-02-10 08:35:25 +01:00
jenkins-bot 712bca0ff6 Merge "Unhardcode the limit "find no more than 250 results" in doSearchQuery()" 2020-01-15 12:33:36 +00:00
libraryupgrader d3479f8ca2 build: Updating mediawiki/mediawiki-codesniffer to 29.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.FunctionComment.MissingDocumentationPrivate

Change-Id: I48607226707fcc6c30a194e741d367ddd0c2f27b
2020-01-14 19:37:04 +00:00
libraryupgrader bd97827f43 build: Updating npm dependencies
* grunt-stylelint: 0.9.0 → 0.13.0
* stylelint-config-wikimedia: 0.4.2 → 0.8.0

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.

Change-Id: Ic0f66acde9ca9ebf2606b6f5afea25c562ceb828
2020-01-10 16:05:39 +00:00
Edward Chernenko b7cf9f4b09 Unhardcode the limit "find no more than 250 results" in doSearchQuery()
Here we add $wgReplaceTextResultsLimit variable (default: 250) to allow
administrator to change this limit.

Change-Id: Iee9d958db8ddd245a98ec6a3d5b5cf8ef1d80370
2020-01-10 02:20:08 +00:00
libraryupgrader efb62c28a2 build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
* grunt-eslint: 20.1.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: If786c6664f05a9b8d9db26e120ced522fd248422
2020-01-08 04:58:45 +00:00
jenkins-bot e1ad6cc2a3 Merge "build: Updating mediawiki/mediawiki-phan-config to 0.9.0" 2019-12-29 13:08:45 +00:00
libraryupgrader 3fe88580cb build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Depends-On: I76cbaf355462a41aec40d239577123de6b04223a
Change-Id: I7780d46c2828947cf753ea2390d3b1dd645b6758
2019-12-28 19:05:28 +00:00
Umherirrender 750738cc23 Avoid deprecated param on Maintenance::error
Use Maintenance::fatalError instead

Change-Id: I76cbaf355462a41aec40d239577123de6b04223a
2019-12-28 19:37:40 +01:00
Zoranzoki21 b247e2e167 Add aliases for Serbian Latin script
Change-Id: I95782d9e3dd460a52425559e29efe64500913daf
2019-12-26 00:33:31 +01:00
libraryupgrader 6332b4497d build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Files.ImportStatement.LeadingSlash

  The following sniffs now pass and were enabled:
  * MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
2019-12-18 04:29:56 +00:00
Translation updater bot 1d2363daa1 Localisation updates from https://translatewiki.net.
Change-Id: I1f8468567738270b4507fbebadede7dae3eb2084
2019-12-06 09:33:10 +01:00
Translation updater bot 8f6ccf9135 Localisation updates from https://translatewiki.net.
Change-Id: Ia42e1cb6880f58ddaa40c6c072a5ed8f572f2527
2019-11-26 09:17:57 +01:00
Translation updater bot acbf09c76e Localisation updates from https://translatewiki.net.
Change-Id: I3915921a1d2b29e0568f0310b8054c57dbbdf462
2019-11-07 09:44:59 +01:00
Umherirrender dab839001a build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: I752c89cd13ecc55cbbcbe9c3b94c862c096daf87
2019-11-06 20:02:54 +01:00
Translation updater bot 8d9ef58422 Localisation updates from https://translatewiki.net.
Change-Id: I315eeb95960408e80f85d7a899d759451e39ad02
2019-10-21 10:00:40 +02:00
Translation updater bot 27f6c417fa Localisation updates from https://translatewiki.net.
Change-Id: I349f67cddc8eb9cc09e529a8edbfb73dc3d41e8f
2019-10-16 20:41:34 +02:00
Translation updater bot 9b5d87807c Localisation updates from https://translatewiki.net.
Change-Id: Ib310fea9898f00e7f45c6d9faa592ec96605ea3c
2019-10-16 10:40:50 +02:00
Translation updater bot e856390737 Localisation updates from https://translatewiki.net.
Change-Id: Ic7ee70d07a99b4b8f08cd31c6ae47263cdedfd9d
2019-10-10 09:33:38 +02:00
Translation updater bot bd08cbd528 Localisation updates from https://translatewiki.net.
Change-Id: I8fd5ba09acc7e20a50cd1f14b072d0fef871760d
2019-09-24 09:58:43 +02:00
Clara Andrew-Wani 7f823dfccb Remove reference to rev_text_id
Bug: T233357
Change-Id: I58559f14c9f732767439da397c22074249f97762
2019-09-20 09:16:18 -04:00
Translation updater bot af2d738aff Localisation updates from https://translatewiki.net.
Change-Id: I54168cc6d1ecb75f7f5cc16600f693f7d13d5659
2019-09-13 10:20:48 +02:00
Translation updater bot ddd5f1f080 Localisation updates from https://translatewiki.net.
Change-Id: Id2a00101c29a960c1993ee1311786122a1eac3e8
2019-08-30 10:05:03 +02:00
jenkins-bot 32efcacd98 Merge "Replace usage of Title class move methods with MovePage class methods" 2019-08-21 07:17:50 +00:00
jenkins-bot db9c6961bb Merge "Use Maintenance::addDescription" 2019-08-20 20:13:49 +00:00
jenkins-bot 20ee6e81b4 Merge "Drop back-compatibility for OutputPage::addWikiText(), now removed" 2019-08-20 17:19:05 +00:00
Umherirrender f98647f62c Use Maintenance::addDescription
It is better to use a setter function than setting a property

Change-Id: Idc5985e0fa4e773687bcd829e21259cee3045939
2019-08-19 20:33:06 +02:00
James D. Forrester d6492afd79 Drop back-compatibility for OutputPage::addWikiText(), now removed
This increases the minimum supported version of MediaWiki to 1.32+ (and
makes it work at all on MediaWiki 1.34+).

Change-Id: Ibc22b6666d997d9edd95a54e36132c10c9e550aa
2019-08-16 15:48:20 +02:00
Abijeet 4c54757006 Replace usage of Title class move methods with MovePage class methods
Using MovePage class methods to check for permissions and to move the
page.

Also added code to handle errors encountered during move operation.

Bug: T225741
Change-Id: I4c4f5bcb3001d4eead64334c5097be5372c173b9
2019-08-16 14:05:14 +05:30
Niklas Laxström cc5a9683d9 Reduce code duplication
Change-Id: Ib668d13f1d7c68b89b17e07913e311af89f01831
2019-08-16 14:03:54 +05:30
Timo Tijhof 9346339d30 ReplaceTextSearch: Hint against IDatabase instead of Database
wfGetDB() returns IDatabase, not Database. Actual implementation
can be a DBConnRef proxy or something else entirely from an
extension that reimplements the interface.

Change-Id: I67c0f3517fc9f1d17d2e4bb11c1669485f1999ba
2019-08-04 17:48:50 +00:00
libraryupgrader 4e11554699 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744

Additional changes:
* Enable eslint caching.
* Enable eslint's reportUnusedDisableDirectives.

Change-Id: I9fd2dfd545bc927c3e2049c34ad0a8b218a9011a
2019-08-03 04:41:58 +00:00
Translation updater bot cba308f454 Localisation updates from https://translatewiki.net.
Change-Id: I3366bdae3431ec6592db89069118b3e99d5d18a7
2019-07-23 08:55:22 +02:00
James D. Forrester 048be08fa5 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
The method ReplaceTextUtils::link (which is already complicated because
it tries to support ancient MediaWiki) can perform different levels of
escaping depending on whether the HtmlArmor class exists. This is confusing
for taint-check and for humans, and can inevitably lead to errors. Plus
it's bad practice to have a method returning something with a variable
level of taintedness, especially if that depends on something ephemeral
like if a class exists or not.

Thus, the HtmlArmor part is removed, the text is escaped for Linker::link,
and the method now requires non-escaped HTML to be passed in.

Change-Id: I6e2783827580e3d470d316f1d3879679eb67aeda
2019-07-11 14:36:30 +00:00