| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I90f1b8ddfddfcc5197ab7c2ad9aa16f276cd5067
|
|
|
|
|
|
|
| |
Oops, this should have landed before the release.
Change-Id: Ied53880771367e2338370cc72996a64445203ecd
(cherry picked from commit 7cfef131a4f74bc9fdf1f956f2dc09aa4aa3d8e3)
|
|
|
|
|
|
|
|
| |
Service is no longer running, so it's a default that doesn't do anything
Bug: T382987
Change-Id: I3a21c12ba689928d38e410cbe2547ab7e616ac8a
(cherry picked from commit 4a6fac8b7dadfdffe6e0e239b8a551436e147d97)
|
|
|
|
|
| |
Bug: T372295
Change-Id: I47c8d47e8a098faba63b7d16e9ccd0362fb17d27
|
|
|
|
| |
Change-Id: Ibee8f3f8651a236c6f5ada219877fef826bd12ba
|
|
|
|
|
|
|
| |
Based on I32963c91ce8e73412769557ded867286149dc166
Bug: T372320
Change-Id: I87e9992789ceefdd1f3c01e948f22cac1bf39d96
|
|
|
|
|
|
| |
Change-Id: Ice89888216220612bae0f5597e2bbde9b9bd3bf1
Depends-On: I19d29ef502f4647da6a2249180bdc9f612335085
(cherry picked from commit 80f352656364e5ec769fb8e1868499980e15b2ff)
|
|
|
|
|
|
| |
Bug: T263513
Change-Id: I934441f1fffd5a031752318d2dad71f5b3180840
(cherry picked from commit 4fdbe2a1c4990aa73c95747ec3565133a27efc24)
|
|
|
|
|
|
|
| |
Bug: T379438
Depends-On: I5fdc63ac02fb6bf979c723b0c2a8058f6674b2b7
Change-Id: Id91aa083651f9eaebf84593f65790854268f5f8d
(cherry picked from commit 78e238c54f4df034964d8228f6f5566937cb598e)
|
|
|
|
|
|
|
|
|
|
|
| |
Release notes:https://gerrit.wikimedia.org/g/oojs/ui/+/v0.51.2/History.md
Bug: T210534
Bug: T324382
Bug: T376276
Depends-On: I50ec27302347203170cb14c7228b6c3d3264b24c
Change-Id: Iea7cbc00d988504660754e8728707d0021ae37d7
(cherry picked from commit eb6a4ea1ae271668a0ef78e86ccc180d84614e68)
|
|
|
|
|
|
|
| |
Bug: T379477
Change-Id: I2e81a65363681a63b02bc1fa9fa91ed3e2109acb
Depends-On: I7effe25136e921224bd1565e00b55567e4a0f5a6
(cherry picked from commit 42c61fde49202429462518b492e830de9be275f4)
|
|
|
|
|
|
| |
Change-Id: I9bf8eb7265848b52bfa2ca9cdf470d89b0ac12f2
Depends-On: I221aad58f2177031448966da61a8afd29f7f99ba
(cherry picked from commit abd208e21815711226c6458557c2b87b91a35b7f)
|
|
|
|
|
|
|
|
|
| |
For back-porting immediately to REL1_43.
Bug: T379480
Depends-On: I512e8102fbb9f82e444d5e0c097f0139a50c2013
Change-Id: Id57f41ed211f2d22395a2cd27af15d3c46b8cc22
(cherry picked from commit 4a33cbd228f738fefb09e476a3f2d9be6833e4ac)
|
|
|
|
|
|
|
| |
Bug: T379479
Change-Id: I4a14f878b300261ed082bed90874f05257cceeeb
Depends-On: I93d4c36a153a424eee220bb6d5f6ecf76d7fb6cf
(cherry picked from commit b7534500dbb4e843134013a6e06a5122f38006b5)
|
|
|
|
|
|
|
| |
Bug: T376276
Change-Id: I8e6affc244ba155ebe5ff0f38817a21506260c18
Depends-On: I7c90510115eb1d9da3e86f81b557af8c1c013e83
(cherry picked from commit 26356e9b39d024459b3ea75254d3e87263fd94d9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MWCryptHKDF was added ten years ago (in af66c04d39ad96a0), and as far as
I can tell, it was never used anywhere. It seems unlikely that CryptHKDF
will be used in the future, at least in its current form, for several
reasons:
* PHP 7.1.2+ has hash_hkdf(), so HKDF() would not be needed.
* At the time MWCryptHKDF was created, access to a CSPRNG was dependent
on server configuration: operating system, enabled PHP extensions,
open_basedir, etc. The "clock drift" RNG used as a last resort was not
considered to be secure or fast enough for generating large amounts of
output.[1] random_bytes(), added in PHP 7, changed the situation.
* Depleting the input pool of Linux's RNG is no longer a concern; there
is no more blocking output pool for /dev/random.[2][3] In 2022, this
change and others, including some that improved performance,[4] were
backported to stable kernels as old as 4.9.[5]
* $wgAuthenticationTokenVersion obviated the primary use case of
quickly resetting the user_token field for all users, assuming all
the existing tokens are unique.
* CryptHKDF seems to perform much slower than random_bytes(), at least
on Linux, making it pointless to use given that the other reasons for
its existence no longer apply.
[1]: https://bots.wmflabs.org/logs/%23mediawiki-core/20161004.txt
[2]: https://lwn.net/Articles/808575/
[3]: https://lore.kernel.org/all/cover.1577088521.git.luto@kernel.org/
[4]: https://www.zx2c4.com/projects/linux-rng-5.17-5.18/
[5]: https://lore.kernel.org/all/Yo3pmh9hiUFtQz77@zx2c4.com/T/
Change-Id: I29136fad826341d21728671aa30285d5551f1162
|
|
|
|
|
|
| |
Depends-On: I8128035597dba96c269ae35c0439032821f63232
Change-Id: I200775b8b55679df154db00832405f17a8064890
(cherry picked from commit ac5143c64d73ff29bc9e3d49d3bfc7d76f7846b3)
|
|
|
|
|
|
|
| |
Bug: T378300
Change-Id: I9c4306842ae6a21000f14e2ac36052560f5423cb
Depends-On: Ic224f2c33d76b1430c5faef6af341b256c3f4855
(cherry picked from commit 2b853b863b875678ca538a176c5f0bef794887ac)
|
|
|
|
|
|
|
| |
Bug: T379435
Change-Id: Ic5068f01dbc3f4295946c066a86a6d958dbc6e9c
Depends-On: Iad2909b8df0141ff4ce08f4d6d5b34ab3e9b7f0a
(cherry picked from commit 40faa7c13eba78caac0c5c9cf2d0b087966dc5c8)
|
|
|
|
|
|
| |
Change-Id: I0aeca00e37289be9897d9743f31734cd0fe2e908
Depends-On: Ic143032309c0beb3f220859290b54630d8c3b113
(cherry picked from commit 70bdcf356dfd7e33bd3ec41ffa1d75fb034b6133)
|
|
|
|
|
|
|
| |
Bug: T379377
Change-Id: I7a044533ebfe8a726bf2c94521c79856c3bbcd63
Depends-On: I153db8f19aa2ac06f0ad3ad9691a84bd7bfaddf0
(cherry picked from commit 442b4a7a57894c255f4cf8076d8d204cdae7dc2c)
|
|
|
|
|
|
| |
Depends-On: I2a7da46c89694803060b9c450da06b14a5bd44ad
Change-Id: I16e5d3bfa2067e7108fadabb04692955aa9c3bda
(cherry picked from commit eda3b425939ce85352982d24394865b9327d0c95)
|
|
|
|
|
|
|
| |
Bug: T379384
Change-Id: Ia84fe750996a15370cf41a0a15bc77919dbc5abf
Depends-On: I78e985d273146b71302f430201c1331bbecf1d8a
(cherry picked from commit 81ae1abd7382fb5772191e350c596857f9d238ba)
|
|
|
|
|
| |
Change-Id: I4c6a349afcc4039bec27413af9511639f8c0c4b0
(cherry picked from commit 72338de32b249a7cff0b758746c0896fd649e53b)
|
|
|
|
|
|
| |
Bug: T379082
Change-Id: I0737aee4b16c5d657670b9ff9e9f23610fd89c78
(cherry picked from commit 656b409efff29b144a6d7a5e82979ebe4cfb5dc5)
|
|
|
|
|
|
|
|
|
| |
composer/semver from v3.4.2 to v3.4.3
Bug: T375310
Depends-On: I7245d5d0dd5ccdfc483c5dc95690b8971a8f0bac
Change-Id: I4c0e4eac206035dfbd9d7268fbd895c16957d4da
(cherry picked from commit 2869a7e77cea2f4a4f5b712b758a31f40c961924)
|
|
|
|
|
|
|
| |
Hard deprecated since MW 1.37, cannot be found in Codesearch, even with "Everything" selected.
Bug: T362636
Change-Id: Ie2e09d55a464f72e2fe9a01113629aafc38f2ce9
|
|
|
|
|
|
|
| |
No longer used anywhere.
Change-Id: I7c35e92e2926489f140b86bca13efaf4144f4057
(cherry picked from commit f1de465a23d6e0c45c974e7a338d649c58dd2a4c)
|
|
|
|
|
| |
Bug: T378876
Change-Id: Iecbf83dd060b2a1dc30bd33bfc4f2a42cfbd2a1f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make si_page primary key
- Allow si_title to be larger
- Switch from utf8 to utf8mb4
- Remove default of empty string for titles
Sqlite is not migrated, as it has it's own overrides
Postgres is migrated, but is not in actual use
This is mostly from I273e3a7715abf97d2889904642c7c375e76de4f6
Bug: T249976
Bug: T231827
Change-Id: I12adff3e6ca6a9986ff207bef16272195c3a6a48
(cherry picked from commit a2ba7ee14d6b38a5e89bcc63c3bd0ca8b5107702)
|
|
|
|
|
|
|
|
|
| |
Follow up to I4c249acb1fcd0848428c99b8d3badebbc38b5dac
to note that previously soft deprecated methods now emit
warnings.
Bug: T377521
Change-Id: Ia02cad71d2274cecc7ad39ca9e2e94c149360213
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Methods were deprecated in 1.39 and the majority of skins are now
updated. This change means that skins can no longer override the rendering
of the HEAD element meaning extensions can rely on ResourceLoader support,
and hooks that modify the HEAD element indirectly
The new Skin::outputPageFinal method is adding to honor the existing
outputPage method that is stable to override but to prevent extending skin classes
from generating HTML which does not include HTML generated by hooks e.g.
ResourceLoader internals. This new method is for
internal usage by OutputPage only for this reason.
This keeps all HTML generation inside
the Skin class (e.g. preserves the status quo) until we can work out better
boundaries between Skin and OutputPage.
Bug: T306942
Change-Id: Ib023ef3335bb72306a01230b6cd1169dc7652588
(cherry picked from commit c7656257159a3d85422f4558f5add6df1564f3c3)
|
|
|
|
|
|
| |
Bug: T378422
Change-Id: I715ab5d453a1001f2069cbcf7d74f88d01f743fd
Depends-On: I211fc38b4b4c898b7e8428a22ed901a4114bf52b
|
|
|
|
|
| |
Bug: T4085
Change-Id: I26b3ca261b5366a9fb5c4a6f1b10769ddd9ad012
|
|
|
|
|
|
|
| |
Bug: T378306
Change-Id: Ic29aa0674904f7a89b58600caa448370cdb4e72a
Depends-On: I8fde4133d0485dd42e332ac7123046aa7b691205
(cherry picked from commit 0f3c06900813aab90673c1c38d41843f82020ae8)
|
|
|
|
|
|
|
|
|
|
|
| |
In a future release this will return an array, not a reference to the
internal array, to maintain abstraction and allow for representation
changes internal to ParserOutput.
This patch just add deprecation notices to the class and to the
release notes.
Change-Id: Ie3a3f98402c5a5a3a92326d7736c0df874829a6b
|
|\
| |
| |
| | |
(begin|commit|rollback)PrimaryChanges()"
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Automatically perform the empty-transaction commit logic in methods
like beginPrimaryChanges() and commitPrimaryChanges(). This avoids
the proliferation of callers having to call the same set of methods
one after another for non-obvious reasons. It also discourages code
from making brittle assumptions that might fail for setups where
there is only a primary or the primary has non-zero read load.
Deprecate flushReplicaSnapshots() and remove callers.
Clarify the related method documentation.
Bug: T315664
Change-Id: I255afd22ffcaeac0fad2d4e4a2a0c55c99be7905
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: T331883
Bug: T367207
Change-Id: Iafa58435056ac7e7afd6a6d2abf2b48948edd222
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This deprecates a number of methods which returned arrays by reference and
exposed internal representation details of the ParserOutput. It also
regularizes the return values to return consistent LinkTarget values,
working around the wide variety of different internal storage formats
used for links.
In the future, once these methods which expose the internal representation
are removed, we can simplify our internal storage as well. But for the
moment we add the new getter without changing the internal representation.
Note that by returning TitleValue objects this new interface also provides
a means to fix the issue identified in T204792 where interwiki and namespace
prefixes were getting confused. A TitleValue properly distinguishes between
these -- although the callers will still have to be careful to use it as
a TitleValue and not attempt to reparse it.
These methods also correctly handle fragments, which are present for the
language link type but stripped for the other linkt types.
Bug: T204792
Change-Id: I48a2077b9645124f83082afd953d6bf7a861270b
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is back compat logic for a removed Skin method since 1.35
Change-Id: I526973e97f9093fd082bfb9a9aa85edaebc1126d
|
|\ \ \ \ \ |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
HtmlInputTransformHelper::setMetrics() and
HtmlToContentTransform::setMetrics() take a StatsFactory now; deprecate
passing a StatsdDataFactoryInterface.
Depends-On: I0d8eb6cacd761fa4959419b10d59046e61c714ff
Change-Id: I2374731f6d37a191fc4a865d2665f2ca18182db1
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Should be merged only when appropriate for
migrating from "kr" to "knc" on translatewiki.
See bug T356144.
The autonym is from Ethnologue.
The namespace translations are by User:MohammedBama123
(Mohammed Mustapha Bulama), shared at:
https://incubator.wikimedia.org/w/index.php?title=Talk:Wp/knc/Main_Page&oldid=6416513#Namespaces
Bug: T356144
Change-Id: Ifa1a692619d3b12e279cc74482b6327262fcb20f
|
|\ \ \ \ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fix two problems that made it difficult to convert between Message
and MessageValue, or to write code that could accept both of them,
as exemplified by the StatusValue class:
* Implement a common interface
* Use the same internal format for message parameters
While these changes should be compatible with most of existing code,
where the authors were courteous enough to simply call methods such
as Message::numParam() and not look inside the values they return,
it is potentially a breaking change for anything that depended on
the formatted params being arrays or accessed their keys.
Example patches: https://gerrit.wikimedia.org/r/q/topic:message-param
Notable changes:
* Message and MessageValue now both implement MessageSpecifier
(only Message implemented it before).
* Message::numParam() and other static methods for encoding params
now return MessageParam objects, instead of special arrays.
Use these MessageParam objects internally in Message.
* Narrow down the return type of MessageSpecifier::getParams() (it
was just `array`, allowing any type in the array). Narrow down the
types for Message::params() and MessageValue::params() to match.
* Deprecate MediaWiki\Message\Converter. As a replacement add
MessageValue::newFromSpecifier(), which is analogous to
Message::newFromSpecifier(), but without weird legacy edge cases.
* Make StatusValue::getMessages() return MessageValues. Remove code
that converted between Message and MessageValue, no longer needed.
* Update many type declarations and comments to use MessageSpecifier
instead of MessageValue, as well as a couple of tests that depended
on implementation details.
Bug: T358779
Change-Id: I625a48a6ecd3fad5c2ed76b23343a0fef91e1b83
|