| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Change-Id: Ia6f48af3d907df2b0a98c67e65f58c92804d66eb
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Depends-On: Icd3316b7f475a09390be8787fae6a8b63dcd6418
Depends-On: I007a318135db35fc82011540b3b2baf6f358b753
Change-Id: Id2c48651e1ca28146ab6bcb57c789fae69e5c251
|
|\| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I453ce3148a46fcb9cc5c685cee92274e0cb4f98a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: T371126
Depends-On: I25efb5dfb586328c8959ba8528c8496b7084643d
Change-Id: Id049afd4653f6c19241bc4cd838cc18076329105
|
|\ \ \ \ \ |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | | |
are disabled"
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This prevents an unnecessary database lookup on every web request.
Bug: T371249
Change-Id: Idc3035996fccbfc661580ba459fec8f44a0b526c
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
evaluation"
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follow-up for 48c8cee1831429ac4c980f3a607e1d2daec35945, caught by the
forthcoming release of MediaWiki-CodeSniffer.
Change-Id: Ib75df401916e8a0d750844ec364c5ab8f92ff003
|
|\ \ \ \ \ \ \
| |_|_|_|_|/ /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Bug: T323828
Change-Id: I922e534a4bc4b2059a939cdf9b27dc657102f663
|
|\ \ \ \ \ \ \ |
|
| | |_|_|/ / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Make update.php warn if this setting is still used in config.
Bug: T276975
Change-Id: I8909e5c92f002949c0d77cfd7aa3febaf707f57f
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
https://www.mediawiki.org/wiki/Selenium/How-to/Debug_with_Visual_Studio_Code
Bug: T368535
Change-Id: If8bb90ea5f698556790f14e05e9bfea582fc5ea8
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
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
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|
| |_|_|_|_|_|/ /
|/| | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: I75747bc905271f30e6ea08917345d3836b577fcf
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ |
|
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
|\ \ \ \ \ \ \ \
| |/ / / / / / /
|/| | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
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
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
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
|