Commit graph

101641 commits

Author SHA1 Message Date
Timo Tijhof
26c9849330 docs: Fix 'dependant' typos
The intended word in all these cases was the adjective "dependent".

Whilst the "dependant" does exist, it is a noun and generally
refers to a person. The word is rare used in general, but
especially so in a technology context.

Change-Id: Ic7e2d2ea6a566f4139ff1fdb77f38b0e962ccd9c
2021-02-18 16:59:20 +00:00
Arlo Breault
ed543be03b Sync up with Parsoid parserTests.txt
This now aligns with Parsoid commit 241a08fb80cd5b4b16146eb99054b25c0261998c

Change-Id: I8d176b76891e10de096247f6ad3ed52ec6f5735e
2021-02-18 11:23:19 -05:00
jenkins-bot
b8e7da5aa4 Merge "Don't apply French spacing in raw text elements" 2021-02-18 16:14:50 +00:00
jenkins-bot
2ec986f2bb Merge "API: Mention PARAM_SENSITIVE in markParamsSensitive() docs" 2021-02-18 14:30:59 +00:00
jenkins-bot
8fdc47c4f7 Merge "Mark mRemoveTempFile as a bool" 2021-02-18 14:00:19 +00:00
lokal-profil
c3fef50628 Mark mRemoveTempFile as a bool
This is only ever used as a bool, so do not tag it as a string.

Change-Id: I582a8f57b11ebf165ec2831c25d65d04c8d7cb3a
2021-02-18 12:50:31 +01:00
jenkins-bot
9532562859 Merge "DerivedPageDataUpdater: Skip all data updates when page is deleted" 2021-02-18 11:38:43 +00:00
jenkins-bot
b574d9215b Merge "Remove unused patch-img_exif.sql" 2021-02-18 10:40:44 +00:00
jenkins-bot
92a20a06d3 Merge "SpecialImport: Fix typo in name of 'mapping' input" 2021-02-18 08:36:53 +00:00
Amir Sarabadani
efb50c3bfe Remove unused patch-img_exif.sql
This file is not needed since ee117b601d
(2005)

Change-Id: I687d2fa38854dfa2ad9575de40817efa3a9b2d50
2021-02-18 08:51:55 +01:00
jenkins-bot
f7fc3319c7 Merge "Localisation updates from https://translatewiki.net." 2021-02-18 07:42:54 +00:00
Translation updater bot
41bada4cc6 Localisation updates from https://translatewiki.net.
Change-Id: Ibc5db6b5d079bd2fff067937bfcc6da26b87d53a
2021-02-18 08:41:47 +01:00
Ed Sanders
947bd54505 SpecialImport: Fix typo in name of 'mapping' input
Bug: T275031
Change-Id: I733c538b849eff2de7dc0560970aa2f588c98704
2021-02-18 07:30:17 +00:00
jenkins-bot
4deaf420d0 Merge "objectcache: make MediumSpecificBagOStuff::updateOpStats more robust" 2021-02-18 07:19:58 +00:00
jenkins-bot
d34c1e2e3b Merge "PostgresUpdater: Move bot_passwords table addition down" 2021-02-18 07:04:43 +00:00
jenkins-bot
cf22176fdd Merge "Drop 1.25 updgrade patch files." 2021-02-18 06:29:51 +00:00
Timo Tijhof
cb465ac362 API: Mention PARAM_SENSITIVE in markParamsSensitive() docs
Change-Id: Ib4f86a653645d00c9e6e574581567db68550689c
2021-02-18 06:28:58 +00:00
jenkins-bot
be866df979 Merge "MysqlUpdater::doUnsignedSyncronisation(): Increase grepability of filenames" 2021-02-18 06:25:50 +00:00
jenkins-bot
1061450b70 Merge "MysqlUpdater::doLanguageLinksLengthSync(): Increase grepability of filenames" 2021-02-18 06:25:44 +00:00
Aaron Schulz
2757a31674 objectcache: make MediumSpecificBagOStuff::updateOpStats more robust
Make the method accept either an integer-indexed list of keys or a map
of keys to the send/receive payload size information tuple.

Make sure that no BagOStuff subclasses are passing in $keys directly
from the call to the public BagOStuff methods; these allow keys in the
form of a list or a map of arbitrary strings to keys.

Change-Id: I9687d25a4dd1c7b4b304f9fd543cc0a26a595962
2021-02-18 04:20:24 +00:00
jenkins-bot
58367a2934 Merge "Fix a typo in ExpirationAwareness (Idom => Idiom)" 2021-02-18 02:34:45 +00:00
Martin Urbanec
411cea4d60 Fix a typo in ExpirationAwareness (Idom => Idiom)
Change-Id: Ie181ec5d6dcd917f509af74e3af4717142a66e8d
2021-02-18 03:10:21 +01:00
Kunal Mehta
dfa4b12158 API: Prominently link to [[mw:API:Etiquette]] on api.php
api.php is the main documentation entry point, so we should have a
prominent link to the Etiquette and usage guidelines that provide
further pointers to the User-Agent policy and more.

Change-Id: I7134e8525658fcf0065de4aae608e72175f451aa
2021-02-17 17:39:34 -08:00
jenkins-bot
ed50ed149a Merge "objectcache: factor out WANObjectCache::fetchKeys() method" 2021-02-18 00:05:10 +00:00
jenkins-bot
ad720fc5da Merge "Normalize and de-dupe usernames in HTMLUsersMultiselectField" 2021-02-17 23:02:52 +00:00
jenkins-bot
b5bec69f6e Merge "Add mock for numParams to MediaWikiTestCaseTrait" 2021-02-17 22:37:07 +00:00
Umherirrender
ef7fc91327 DerivedPageDataUpdater: Skip all data updates when page is deleted
There is nothing the updates can do,
LinksUpdate also fails if there is no id for the given title on master

Bug: T271356
Change-Id: I7fb690bec8dbfadf71eb9caacb4edbfe6b785e73
2021-02-17 22:54:08 +01:00
Maggie Epps
7466d08aa1 Add mock for numParams to MediaWikiTestCaseTrait
Change-Id: I774b68d74e2fb89e7d8cbfd42b7588ec4c856176
2021-02-17 16:29:48 -05:00
jenkins-bot
5dda44a8d8 Merge "SpecialImport: Move namespace input next to radio option using JS" 2021-02-17 20:46:55 +00:00
Ed Sanders
88b962c8c3 SpecialImport: Move namespace input next to radio option using JS
There doesn't appear to be a sensible way to do this
using just PHP. As this is a progressive enhancement
we can do it with JS instead.

Bug: T274025
Change-Id: If9c14f9a06106bb0ebfb818e3c50659b6a39bd46
2021-02-17 20:22:17 +00:00
jenkins-bot
14bf85d424 Merge "Hard-deprecate IDatabase parameter for UserIdentity:getActorId()" 2021-02-17 19:41:12 +00:00
jenkins-bot
8e7a80e8b8 Merge "Introduce LogEntry::getPerformerIdentity and deprecate ::getPerformer" 2021-02-17 18:27:44 +00:00
Cindy Cicalese
2d302a936e Hard-deprecate IDatabase parameter for UserIdentity:getActorId()
Bug: T273576
Change-Id: I0df4a2749afae74671dc4c49bac4e18309677703
2021-02-17 12:51:02 -05:00
Ammarpad
a435378257 PostgresUpdater: Move bot_passwords table addition down
This should have no effect, but it helps in making this file
consistent with  Mysql/Sqlite updaters.

Table was introduced in 1.27 (Iaa4015e) and was added in
'new tables' section, because then Postgres separated them
per patch type instead of per release.

Separating them per release (as MySql/Sqlit do) is more logical
and it's even more important now that we are not keeping them
indefinitely.

Bug: T272199
Change-Id: I1fa6d81c9903fb6188f00b791794b3199a0a5aa3
2021-02-17 18:51:00 +01:00
Vadim Kovalenko
66573bec7e Introduce LogEntry::getPerformerIdentity and deprecate ::getPerformer
Bug: T274329
Change-Id: I3dadb20f076494f7b46f0647ea3a8bfbbdaa59da
2021-02-17 19:12:22 +02:00
Ammarpad
e4852caaa3 Drop 1.25 updgrade patch files.
5 files for MySql/Sqlite/Postgres.

MysqlUpdater.php seems to have incorrect comment for 1.26 release
The hitcounter table was dropped in 1.25 (I0e5006a), so all the
files dropped here are part of schema change for 1.25.

Bug: T272199
Change-Id: I6a509a54d31f68e423b3d76d26259b1f88aa22bd
2021-02-17 18:09:08 +01:00
DannyS712
5e2d63b205 phpcs: remove some unneeded suppressions
Were not removed in doc review following creation
of hook interfaces. Fix line length where needed

Change-Id: I2eafffcf3a1c40d0f5613a893c53e0aa14eed6a2
2021-02-17 16:16:24 +00:00
Translation updater bot
3448f20ab9 Localisation updates from https://translatewiki.net.
Change-Id: I8ecc417dd8320ec444f20fb1028db4bd21295e2f
2021-02-17 08:41:20 +01:00
jenkins-bot
4d17fffb50 Merge "Pass linkable user name in Special:Preferences "Account data" help text" 2021-02-17 01:43:48 +00:00
jenkins-bot
73d741e4ba Merge "Remove unused iframe upload code" 2021-02-17 01:11:25 +00:00
Thalia
208e828a1f Pass linkable user name in Special:Preferences "Account data" help text
For the optional message in the "Account data" section, introduced in
d4357d621f.

Passes the user name escaped with underscores, so that links can be
built correctly in the message translation.

This means we have to expand yet further the list of User methods called
in ApiOptionsTest, but so be it.

Bug: T272412
Change-Id: Ia1c135144763db9e92f1b555f009229bd1a9d3c8
2021-02-16 16:53:37 -08:00
Arlo Breault
c44a3958a3 Don't apply French spacing in raw text elements
This also means we don't need to take special care for French spacing in
attributes, since it's no longer applied there.

Adds a test that captures this change.

Note that the test "Nowiki and french spacing" wonders whether this
escaping should be applied to nowiki content.

Bug: T255007
Change-Id: Ic8965e81882d7cf024bdced437f684064a30ac86
2021-02-16 19:26:29 -05:00
jenkins-bot
44ce690880 Merge "apisandbox.js - split ParamLabelWidget to separate file" 2021-02-17 00:22:32 +00:00
jenkins-bot
a1a84dcfed Merge "apisandbox.js - split BooleanToggleSwitchParamWidget to separate file" 2021-02-17 00:22:25 +00:00
STran
c12af6e168 Normalize and de-dupe usernames in HTMLUsersMultiselectField
In no-js, there is no on the fly normalization of usernames in
HTMLUsersMultiselectField so both "User A" and "User_A" are
valid representations of "User A" (the canonical representation).

It's also possible to add the same user multiple times with no-js
and this will be considered valid and count toward the max limit.

These are not problems with js enabled since there will be an api
call for every new entry and that call both filters for selected users
and only returns canonical names.

This patchset reproduces that functionality in the PHP layer so that
no-js functions like the infused widget.

Bug: T274568
Change-Id: Ie78c8f37fa8a38b67eeaa6de098e41df2dac3e3e
2021-02-16 14:37:23 -08:00
Bartosz Dziewoński
c03ff664be Remove unused iframe upload code
None of the browsers supported by MediaWiki require this any more.

Bug: T190862
Change-Id: I9bb3bb51b981b40cae3d409fbbcacb39e0059b52
2021-02-16 22:43:44 +01:00
jdlrobson
90b395d05b Silent deprecate ProtectionForm::buildForm
Bug: T274889
Change-Id: Idf325d60f7c5a93293993a76d736accf1b471fc2
2021-02-16 20:06:29 +00:00
jenkins-bot
7f11f7a59f Merge "resourceloader: Add internal handling for debug=2" 2021-02-16 19:54:10 +00:00
jenkins-bot
deb624a6f8 Merge "DeprecatedGlobal: remove unneeded phpcs suppression" 2021-02-16 17:22:20 +00:00
jenkins-bot
aa28334b9c Merge "Turn CommentStore::$tempTables into a constant" 2021-02-16 16:57:19 +00:00