aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "PasswordReset: Fix field name in log message"jenkins-bot2024-07-291-1/+1
|\
| * PasswordReset: Fix field name in log messageBartosz Dziewoński2024-07-271-1/+1
| | | | | | | | Change-Id: Ia6f48af3d907df2b0a98c67e65f58c92804d66eb
* | Merge "logging: Hard-deprecate LogFormatter::newFromRow/newFromEntry"jenkins-bot2024-07-293-26/+21
|\ \
| * | logging: Hard-deprecate LogFormatter::newFromRow/newFromEntryUmherirrender2024-07-293-26/+21
| | | | | | | | | | | | | | | | | | Depends-On: Icd3316b7f475a09390be8787fae6a8b63dcd6418 Depends-On: I007a318135db35fc82011540b3b2baf6f358b753 Change-Id: Id2c48651e1ca28146ab6bcb57c789fae69e5c251
* | | Merge "Replace deprecated LogFormatter::newFromRow/newFromEntry"jenkins-bot2024-07-2926-45/+107
|\| |
| * | Replace deprecated LogFormatter::newFromRow/newFromEntryUmherirrender2024-07-2926-45/+107
| | | | | | | | | | | | Change-Id: I453ce3148a46fcb9cc5c685cee92274e0cb4f98a
* | | Merge "Test showSiteStats.php"jenkins-bot2024-07-291-0/+47
|\ \ \
| * | | Test showSiteStats.phpDreamy Jazz2024-07-291-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests for showSiteStats.php Bug: T371167 Change-Id: Icc8dc32769d71ff7de7c42b48332bcb270b5c88e
* | | | Merge "Test checkBadRedirects.php"jenkins-bot2024-07-291-0/+84
|\ \ \ \
| * | | | Test checkBadRedirects.phpDreamy Jazz2024-07-291-0/+84
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests for checkBadRedirects.php Bug: T371167 Change-Id: I1be21e36b9f1247a75b6d4469de711905ea07028
* | | | Merge "Test deleteBatch.php"jenkins-bot2024-07-291-0/+95
|\ \ \ \
| * | | | Test deleteBatch.phpDreamy Jazz2024-07-291-0/+95
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests to verify deleteBatch.php when adding groups to an existing user. Bug: T371167 Change-Id: I847b0dab093abbfe7dede33d1f30b729bf5e9fbf
* | | | Merge "Bump wikimedia/parsoid to 0.20.0-a15"jenkins-bot2024-07-291-1/+1
|\ \ \ \
| * | | | Bump wikimedia/parsoid to 0.20.0-a15Arlo Breault2024-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T371126 Depends-On: I25efb5dfb586328c8959ba8528c8496b7084643d Change-Id: Id049afd4653f6c19241bc4cd838cc18076329105
* | | | | Merge "Test deleteDefaultMessages.php"jenkins-bot2024-07-291-0/+104
|\ \ \ \ \
| * | | | | Test deleteDefaultMessages.phpDreamy Jazz2024-07-291-0/+104
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests for deleteDefaultMessages.php Bug: T371167 Change-Id: Iab9347d986ac341af7bfde2ed7d56b9403f98409
* | | | | Merge "Test updateArticleCount.php"jenkins-bot2024-07-291-0/+84
|\ \ \ \ \
| * | | | | Test updateArticleCount.phpDreamy Jazz2024-07-291-0/+84
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests for updateArticleCount.php Bug: T371167 Change-Id: Ie9a665dd204bd2685d0140f193c85d3390c222f7
* | | | | Merge "Test sql.php"jenkins-bot2024-07-291-0/+46
|\ \ \ \ \
| * | | | | Test sql.phpDreamy Jazz2024-07-291-0/+46
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add an integration test for sql.php which partly covers the file. Bug: T371167 Change-Id: I5ba73fcc648652d39cc69a9eba78b3ee579b0db5
* | | | | Merge "Return early in BlockManager::trackBlockWithCookie if cookie blocks ↵jenkins-bot2024-07-291-0/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | are disabled"
| * | | | Return early in BlockManager::trackBlockWithCookie if cookie blocks are disabledJayden Bailey2024-07-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents an unnecessary database lookup on every web request. Bug: T371249 Change-Id: Idc3035996fccbfc661580ba459fec8f44a0b526c
* | | | | Merge "Extract LintErrorChecker out of SignatureValidator"jenkins-bot2024-07-298-96/+232
|\ \ \ \ \
| * | | | | Extract LintErrorChecker out of SignatureValidatorKunal Mehta2024-07-298-96/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code was partially copied into MassMessage and will hopefully enable more places that accept arbitrary wikitext to check lint errors. It also hides the internal details of checking with the Linter extension's configuration in one place until it can be refactored into something more acceptable (T360809). Bug: T368690 Change-Id: Iaeb3ccbd61a2a8cb0d8b3dc8b06a3a10bc8fa653
* | | | | | Merge "EditPage, ApiEditPage: Use parantheses to be explicit about order of ↵jenkins-bot2024-07-292-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | evaluation"
| * | | | | | EditPage, ApiEditPage: Use parantheses to be explicit about order of evaluationJames D. Forrester2024-07-292-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow-up for 48c8cee1831429ac4c980f3a607e1d2daec35945, caught by the forthcoming release of MediaWiki-CodeSniffer. Change-Id: Ib75df401916e8a0d750844ec364c5ab8f92ff003
* | | | | | | Merge "Update Pingback.php documentation"jenkins-bot2024-07-291-2/+2
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | |
| * | | | | | Update Pingback.php documentationOttomata2024-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: T323828 Change-Id: I922e534a4bc4b2059a939cdf9b27dc657102f663
* | | | | | | Merge "Make MockHttpTrait::setService() compatible with MediaWikiUnitTestCase"jenkins-bot2024-07-292-2/+2
|\ \ \ \ \ \ \
| * | | | | | | Make MockHttpTrait::setService() compatible with MediaWikiUnitTestCaseMáté Szabó2024-07-292-2/+2
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MediaWikiUnitTestCase::setService is defined as (string $name, $service), which is incompatible with the ($name, $service) signature MockHttpTrait expects for this method. As a fix, add the type hint to the trait and MediaWikiIntegrationTestCase as well, to allow using MockHttpTrait in tests extending MediaWikiUnitTestCase. Change-Id: Ic7df40469947eff4b2be07d53eb9e09f452a4886
* | | | | | | api: deprecate and deactivate $wgAPIRequestLogAaron Schulz2024-07-297-45/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make update.php warn if this setting is still used in config. Bug: T276975 Change-Id: I8909e5c92f002949c0d77cfd7aa3febaf707f57f
* | | | | | | Merge "selenium: Move code for Selenium/Getting Started/Create a simple test"jenkins-bot2024-07-294-1/+4
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | selenium: Move code for Selenium/Getting Started/Create a simple testŽeljko Filipin2024-07-224-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move code from root of docs folder to the Create_a_simple_test folder. There is code at several pages. If all code ends in root, it will be confusing. https://www.mediawiki.org/wiki/Selenium/Getting_Started/Create_a_simple_test Bug: T368535 Change-Id: I0d2ae8118ab2425570ff996c3d95c5583f4ea278
* | | | | | | Merge "OutputPage: Inline getCdnCacheEpoch() into checkLastModified()"jenkins-bot2024-07-292-58/+8
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | OutputPage: Inline getCdnCacheEpoch() into checkLastModified()Timo Tijhof2024-07-262-58/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This useless function contains useful documentation, that is best kept with the rest of the business logic. It is only used once and is literally `a - b`. Change-Id: I650c37c4655bcc6edcd12186b24b0b1bd3faafd2
* | | | | | | Merge "selenium: Example code for Selenium/How-to/Debug with Visual Studio Code"jenkins-bot2024-07-292-0/+23
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | selenium: Example code for Selenium/How-to/Debug with Visual Studio CodeŽeljko Filipin2024-07-192-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://www.mediawiki.org/wiki/Selenium/How-to/Debug_with_Visual_Studio_Code Bug: T368535 Change-Id: If8bb90ea5f698556790f14e05e9bfea582fc5ea8
* | | | | | | Filter temporary accounts as anonymous in ApiQueryRecentChangesSTran2024-07-293-15/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Edits from temporary accounts are considered anonymous edits. ApiQueryRecentChanges doesn't correctly reflect this and needs to be updated to correctly return temporary account edits as anonymous (and similarly, not to return them when requesting !anon) - Update the anon|!anon query to accomodate temporary accounts Bug: T370803 Change-Id: Ica5225422ea53d2aa3a84b86d9c2f14832a34ed4
* | | | | | | Merge "Update Special:NewPages for temporary accounts"jenkins-bot2024-07-294-26/+96
|\ \ \ \ \ \ \
| * | | | | | | Update Special:NewPages for temporary accountsDreamy Jazz2024-07-264-26/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * Special:NewPages provides filters which allow users to exclude registered users. However, this filter also excludes temporary accounts which are usually defined as being anonymous (such as on T370695). * As such, this filter needs to be updated to correctly include temporary accounts when excluding registered users. What: * Update NewPagesPager to also include temporary accounts in the results when 'hideliu' is specified as an option. * Update SpecialNewPages::canAnonymousUsersCreatePages to return true if the users in the 'temp' user group can create pages. * Update SpecialNewPages::setup to make the 'hideliu' option be always false if the ::canAnonymousUsersCreatePages method returns false. * Remove NewPagesPager::canAnonymousUsersCreatePages as the 'hideliu' option will always be false if the equvialent SpecialNewPages::canAnonymousUsersCreatePages method returned false. This means that the check is a duplicate. * Update SpecialNewPagesTest to reflect these changes. Bug: T370801 Change-Id: Ic33e178c1c48eee24f14444e6cb1a6841261ce95
* | | | | | | | Merge "Languages: Add nan-latn-pehoeji (Minnan - Pe̍h-ōe-jī) to Names.php"jenkins-bot2024-07-294-31/+84
|\ \ \ \ \ \ \ \
| * | | | | | | | Languages: Add nan-latn-pehoeji (Minnan - Pe̍h-ōe-jī) to Names.phpWinston Sung2024-07-254-31/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First export in commit 754c37901f945d833350bf01474cf62e5ebd1798 (Change-Id Ie16c8fbd777a51cebafd32cd1406907c763be975 ). Language codes nan, nan-hani, nan-latn will be used for language converter codes. Bug: T354937 Bug: T370987 Change-Id: Ia87cfa3ec3a71e554ba767bacdb970549454aa93
* | | | | | | | | Localisation updates from https://translatewiki.net.Translation updater bot2024-07-29114-379/+976
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: I75747bc905271f30e6ea08917345d3836b577fcf
* | | | | | | | Namespace MessageSpecifier under Wikimedia\Message\Bartosz Dziewoński2024-07-2850-29/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In change I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83 I am planning to make Wikimedia\Message\MessageValue use it, and we try to pretend that it is a library separate from MediaWiki, so it makes sense to move MessageSpecifier to the same namespace under Wikimedia\. Bug: T353458 Change-Id: I9ff4ff7beb098b60c92f564591937c7d789c6684
* | | | | | | | Merge "Test blockUsers.php"jenkins-bot2024-07-281-0/+167
|\ \ \ \ \ \ \ \
| * | | | | | | | Test blockUsers.phpDreamy Jazz2024-07-281-0/+167
| | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add integration tests for blockUsers.php Bug: T371167 Change-Id: I77fbb182518f6c3a0f11ebbabaa97fa464c8d420
* | | | | | | | Merge "Test checkUsernames.php"jenkins-bot2024-07-281-0/+32
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Test checkUsernames.phpDreamy Jazz2024-07-281-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The checkUsernames.php script is completely untested. Adding tests is useful to verify that the script works, especially that the output remains consistent. Bug: T371167 Change-Id: Ib1889908a69d1401463ae0ae93e7c9446903327b
* | | | | | | | Merge "Test CheckSignatures.php"jenkins-bot2024-07-271-0/+77
|\ \ \ \ \ \ \ \
| * | | | | | | | Test CheckSignatures.phpDreamy Jazz2024-07-271-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why: * The maintenance scripts in core are mostly untested and testing the less complex scripts will improve the test coverage in core. What: * Add CheckSignaturesTest.php Bug: T371167 Change-Id: Ie9a8035716148cd91fd3c9886c8b23c3894b866a