Commit graph

138 commits

Author SHA1 Message Date
jenkins-bot
474bcefe2c Merge "Reapply "Hard Deprecate User ::getCanonicalName, ::isUsableName, ::isCreatableName""" 2021-06-01 16:35:30 +00:00
jenkins-bot
bfb632ae59 Merge "Hard deprecate the setters of AbstractAuthenticationProvider class" 2021-06-01 16:31:47 +00:00
Amir Aharoni
3d007ba9f6 Add the Carpathian Romani (rmc) language
Link trail is copied from Slovak, because
the necessary extra letters are the same, as can
be seen in the textbook "Amari romaňi čhib"
by Eva Gašparová and Ingrid Lukáčová
(Štátny pedagogický ústav Bratislava 2016)
https://www.statpedu.sk/files/sk/metodicky-portal/metodicke-podnety/amari_romani_chib.pdf

Fallback and namespaces will be added later
if needed.

Bug: T284044
Change-Id: Ide5170432fb2c456ff863c4ea34e3183547e2d63
2021-06-01 11:36:11 +03:00
vladshapik
91190943d1 Hard deprecate the setters of AbstractAuthenticationProvider class
Bug: T281174
Change-Id: I7f9c1161de4934abebdda68dcc24cf7a0f33d7ce
2021-05-31 13:02:39 +00:00
Vlad.shapik
9763c48d17 Reapply "Hard Deprecate User ::getCanonicalName, ::isUsableName, ::isCreatableName""
This reverts commit ecf826a2ee.

Reason for revert: need to edit the patch and then it will be GTG in order to finish hard deprecating of User ::getCanonicalName, ::isUsableName, ::isCreatableName

Change-Id: I2f57f56728fcbeada96dc2228f07dc8bcaa5d4f6
2021-05-31 16:01:36 +03:00
Amir Aharoni
0bf5e74cdd Add the Paiwan (pwn) language
Bug: T284002
Change-Id: If39a561286f4fd504409078ee3fc7f7e3008ff41
2021-05-31 09:53:51 +03:00
jenkins-bot
1234729697 Merge "Remove deprecated SpecialBlock::validateTarget" 2021-05-31 05:01:55 +00:00
Petr Pchelko
79c0b3a74f Remove deprecated SpecialBlock::validateTarget
Change-Id: Ia12afa3759dc31142e2d05d28c9e16e37e19f9a6
2021-05-30 09:47:37 -07:00
Amir Aharoni
d57e68719d Update release notes about renaming the Lombard language
Also change the spelling in MessageLmo.php.

Follow-up to
I00ee11c23b1e688b01d7465225003f0f045985bf

Bug: T283423
Change-Id: I44b33b49ce6392edaba95d68a6cdb3865a5e5eed
2021-05-30 16:41:50 +03:00
jenkins-bot
d3099e280c Merge "Add namespace name translations and change autonym in the Kinyarwanda language" 2021-05-30 13:26:51 +00:00
ZabeMath
1ee6279cf7 Hard deprecate RepoGroup methods
RepoGroup::singleton(), ::destroySingletons() and ::setSingleton()
are all deprecated since 1.34.

Bug: T249020
Change-Id: Ie6c7db6331681ec96da646f945958ed8675e6b78
2021-05-27 23:08:24 +02:00
jenkins-bot
392b9e4926 Merge "Remove usages and hard deprecate User::changeable(By)Group" 2021-05-27 17:23:19 +00:00
jenkins-bot
93fd347463 Merge "Move User::changeable(By)Groups methods to UserGroupManager" 2021-05-27 17:17:34 +00:00
jenkins-bot
18a613181b Merge "ActorNormalization::acquireActorId - require IDatabase" 2021-05-27 13:59:33 +00:00
Ppchelko
5596e5784a Remove usages and hard deprecate User::changeable(By)Group
This commit was reverted before cause it has changed the initialization order
and broke FlaggedRevs. Now FlaggedRevs issue was addressed, so we can apply
it back.

Bug: T254838
Change-Id: Id29024caf06fcd0d7d4e039aea8142e8131d47a7
2021-05-27 13:54:29 +00:00
Petr Pchelko
e86cfe1592 Remove deprecated SpecialPage::getRestrictedPages
Change-Id: Id3181a46e17043f6f21200e34727a7ff627e7f16
2021-05-26 13:44:58 -07:00
DannyS712
19d869e615 Migrate UserNamePrefixSearch service to use Authority
Change-Id: I43f9c80a3b782b1263ec4dc70d67696f6b1476d7
2021-05-26 05:35:32 +00:00
Ppchelko
1d3d790edb Move User::changeable(By)Groups methods to UserGroupManager
Bug: T254838
Change-Id: I5868ed76c7af2adb027bad0aab4bbc8adb6daeb2
2021-05-25 21:09:38 -07:00
jenkins-bot
c049e588bb Merge "Drop hard-deprecated and unused DatabaseBlock::chooseBlock" 2021-05-26 01:15:53 +00:00
Petr Pchelko
e5083b79ee Drop hard-deprecated and unused DatabaseBlock::chooseBlock
Change-Id: Ifc04faefc590404e30b509850b67073e1b1d64c0
2021-05-25 16:52:05 -07:00
gengh
8f0ba85eee resources: Add a fetch polyfill with skip function
Register whatwg-fetch (by GitHub) as fetch polyfill to MediaWiki core,
with a skip function. This adds fetch() support for Safari 6.1+ and
IE 10+. The polyfill depends on Promise being defined first.

Bug: T260198
Change-Id: I610da8abd6334de965f9c763462b563822788eb2
2021-05-25 22:48:15 +01:00
Petr Pchelko
2600a0de39 ActorNormalization::acquireActorId - require IDatabase
Bug: T276986
Change-Id: I8713a975681355cf3061d35ef5d7944c1d918d21
2021-05-25 07:49:13 -07:00
jenkins-bot
d4f0b709f0 Merge "Hard deprecate User::getRights()" 2021-05-24 13:51:43 +00:00
Amir Aharoni
96fc7d6626 Add Wallisian (wls) to Names.php
Bug: T283480
Change-Id: If1cf94749f7bac721bf15d505f8e4368b2d3aaa2
2021-05-24 09:47:52 +00:00
Amir Aharoni
654e135392 Add namespace name translations and change autonym in the Kinyarwanda language
Contributed by Nimusenge Priscille, and verified by myself
with the Iriza Kinyarwanda Engish And English Kinyarwanda Dictionary.

Bug: T283422
Change-Id: Idfe383e2b5b6afdf205056eade3f9dfc82ddbf39
2021-05-24 09:14:01 +00:00
Alexander Vorwerk
88a70e066c Hard deprecate User::getRights()
deprecated since 1.34 and unused in Wikimedia deployed repositories.

Bug: T274211
Change-Id: If00e52255b8f555f0e60584c44970c42afe0270e
2021-05-24 11:11:40 +02:00
MacFan4000
c351c4f06e Freenode -> Libera per wikimedia moving from freenode to libera
Bug: T283247
Change-Id: Iebbb13ac53830a8d77b42bf2954cf80d76d78467
2021-05-20 22:10:24 +00:00
jenkins-bot
636cf7c87c Merge "Hard deprecate global function wfFindFile()" 2021-05-20 00:59:06 +00:00
jenkins-bot
bf7909e158 Merge "Hard deprecate global function wfLocalFile()" 2021-05-20 00:59:01 +00:00
jenkins-bot
da24dacc1f Merge "Basic JPEG2000 handler" 2021-05-19 20:04:39 +00:00
Derk-Jan Hartman
3db119428a Basic JPEG2000 handler
Basic handler for JPEG2000 files. Both jp2 and jpx are supported by
php's image functions.

No support for:
- metadata
- lossy vs lossless thumbnail
- bucketing
- thumbor

Bug: T161934
Change-Id: I1a72d4dfb034f3ae24661db515cf03b35ec18fa2
2021-05-19 12:42:08 -07:00
daniel
ddc3f55a5a phpunit: Remove the PHPUNIT_REUSE_DB / --reuse-db option
This option has been dysfunctional since at least MW 1.32: with
the option set, no tables would be cloned, and all tests trying to
access the database would fail.

Apparently the option was originally introduced to improve speed
when testing against a Oracle database backend in
5933586266.

Since nobody complained about the option being broken,
and we no longer support Oracle, it should just be removed.

Bug: T283146
Change-Id: I7d7f10b2c863ab92279c7817893086ad50e6ac4d
2021-05-19 12:19:59 -07:00
jenkins-bot
d4f22be28a Merge "phpunit.php: Move remaining CLI options to env variables" 2021-05-19 00:31:35 +00:00
Alexander Vorwerk
e1dd5e0f2d Hard deprecate global function wfFindFile()
The global function wfFindFile() is deprecated since 1.34 and unused.
This patch now makes it emit deprecation warnings.

Depends-On: Idbb4762ee3097884eee234633fecf2e363cbdcd4
Change-Id: I419310f8507f3a8a1d8cf385ca51954623a8d814
2021-05-18 15:17:13 +00:00
Alexander Vorwerk
65015ad2d8 Hard deprecate global function wfLocalFile()
The global function wfLocalFile() is deprecated since 1.34 and unused.
This patch now makes it emit deprecation warnings.

Change-Id: Ib9f94b4f49e7720bd4455d019995037eaa4e3980
2021-05-18 14:59:25 +00:00
Amir Aharoni
5db1b563da Add the Ojibwe language (ojb)
Bug: T283053
Change-Id: Idd95e163ea876212ecbb7d2aaf0fe82168837cf2
2021-05-18 14:20:33 +03:00
Daimona Eaytoy
6507d6b2a4 phpunit.php: Move remaining CLI options to env variables
And write release notes for all changes so far.

Note: This should be announced to wikitech-l after merging.

Bug: T90875
Change-Id: I597ed2b5666f4214173609f7e77e23dbc4fd81ae
2021-05-18 12:34:39 +02:00
jenkins-bot
89d5273e66 Merge "Soft deprecate ContentHandler::getContentText()" 2021-05-17 18:23:33 +00:00
Alexander Vorwerk
e34e93f24a Soft deprecate ContentHandler::getContentText()
ContentHandler::getContentText() was introduced as a migration
helper and is mostly pointless now. Thus it should be deprecated
and later removed. This patch softs deprecates that method.

This patch also deprecates the corresponding setting
$wgContentHandlerTextFallback.

Bug: T268041
Change-Id: I7d477935a16316996c4f52a3d6466029745817b4
2021-05-17 17:59:28 +00:00
Alexander Vorwerk
d9ed4f6153 Remove global function wfGetRusage()
wfGetRusage() is deprecated since 1.35 and unused.

Change-Id: I0f4678555f069beafcfd580bdd374cd56a8439ed
2021-05-16 18:44:38 +02:00
Cindy Cicalese
113dfbb3f6 Move UploadBase::stashFile removal to correct section of release notes
Fixes Ie36c4695c8a7f9986f3f25eaf0464afbe408d808.

Change-Id: I6723eb33c3f941c909b542276a2d14f8aeab0fff
2021-05-15 10:04:48 -04:00
jenkins-bot
1a26b6e034 Merge "Upload: convert b/c cases to UserIdentity" 2021-05-15 13:09:50 +00:00
Lucas Werkmeister
1a1dda50d2 Soft-deprecate DBAccessBase class
Bug: T279063
Change-Id: I1a51a08885d910c23c3cafd63afccb1933baf5bc
2021-05-14 15:21:35 -07:00
Petr Pchelko
e87fadc1d6 Upload: convert b/c cases to UserIdentity
Change-Id: Ie36c4695c8a7f9986f3f25eaf0464afbe408d808
2021-05-13 12:02:47 -07:00
jenkins-bot
b0987f19d0 Merge "ApiPageSet: replace Title in method signatures" 2021-05-12 22:51:49 +00:00
daniel
246c543737 ApiPageSet: replace Title in method signatures
Bug: T278459
Change-Id: Ie817fd476d6236791431b5ba5ce557800ef5222d
2021-05-12 23:17:59 +02:00
vladshapik
39d093a49f Hard deprecate the setters of SessionProvider class
Bug: T282256
Change-Id: I97244429bb4aa05ffdeda381f89db5dbda182d31
2021-05-12 19:49:50 +00:00
jenkins-bot
5f59120fa1 Merge "Deferred updates: remove Title from method signatures." 2021-05-12 03:50:58 +00:00
jenkins-bot
8aa57b1d26 Merge "Introduce Block interface and replace AbstractBlock." 2021-05-11 18:13:54 +00:00
jenkins-bot
f2ba3c5bf8 Merge "Replace User::idFromName with ActorStore" 2021-05-11 15:21:08 +00:00