| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This was already hard deprecated and unused, since 1.42. Time for
it to go. Farewell `setNewPreparedValues()`.
Change-Id: I95c8e4ba91187348603515df2b453d4a11623b99
|
|
|
|
|
|
|
|
|
|
|
| |
This is the Language Converter from Meitei Script to Bengali Script in mniwiki.
I don't know the language. I got help from a native speaker User:Haoreima.
The original prototype was in a Python Library written by myself.
It only converts the words that have Meitei characters (U+ABC0..U+ABFF).
The original prototype is already being used in mniwiki via Gadget and a Bot.
Bug: T357853
Change-Id: I810f18050f29efa38b2a646d96644e298af47c50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: T117845
Bug: T137376
Bug: T137411
Bug: T169436
Bug: T185421
Bug: T193566
Bug: T237672
Bug: T245359
Bug: T254854
Bug: T278639
Bug: T333425
Bug: T338416
Bug: T341545
Bug: T343865
Bug: T348376
Bug: T349093
Bug: T351724
Bug: T354519
Bug: T354926
Bug: T354937
Bug: T362041
Bug: T364291
Bug: T367991
Change-Id: I63c08002a936a07d1256e603aad213eb7c54955f
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: T281394
Change-Id: I597a60317c7227b8902304103cbf4fd74d8e9468
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Follow-up to
I90adc5e7d1057b4172c82d7cc66da683fc332d30
Bug: T367377
Change-Id: I260f671d4f6b8def03ffb3367de92a1432ab8951
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Release notes:
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.3/History.md
Bug: T369010
Depends-On: I41956b4648091c963ad92be2d5cb2bce55ff33d9
Change-Id: Id737a60b14d87a074f914130cab0d5874134749f
|
| |
| |
| |
| |
| |
| |
| |
| | |
MessagesIba.php will come later, when I get
the fallbacks and namespace names.
Bug: T367991
Change-Id: I181f29469a3880a3192f33042b026a20e889d5f1
|
|/
|
|
| |
Change-Id: I90adc5e7d1057b4172c82d7cc66da683fc332d30
|
|
|
|
|
|
|
|
| |
Release notes:
https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.2/History.md
Depends-On: Ie64bd223108b5442ea9194ce78224685f45009d4
Change-Id: I6b928e6624109a0740707325e363a919489eb5a2
|
|
|
|
|
|
|
|
|
|
|
|
| |
Git blame on the line `wfDeprecated( __METHOD__, '1.38' );` is
3 years old.
Unique method name that does not appear in codesearch.
https://codesearch.wmcloud.org/search/?q=rfc822Phrase&files=%5C.php%24&excludeFiles=&repos=MediaWiki+core
Bug: T362636
Change-Id: If18cc8c35fb0b274ecf2d8c91654540918ffe229
|
|
|
|
|
|
|
|
|
|
|
| |
Hard deprecated since MW 1.41.
Unique method name that does not appear in CodeSearch for MediaWiki
& services at WMF. Couple of CodeSearch hits using the "Everything"
filter.
Bug: T362636
Change-Id: I2ea134d31a8b18375183a4ae413e77dc0a6f1acc
|
|
|
|
|
|
|
|
|
|
| |
Git blame on wfDeprecated() is 7 years old.
Unique name, no sign of it in CodeSearch for MediaWiki & services
at WMF. Couple of CodeSearch hits using the "Everything" filter.
Bug: T362636
Change-Id: I8961ebb3a72b328e839659aeeee3e73512a88dee
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Git blame on wfDeprecated() is 4 years old.
Unique names, no sign of them in CodeSearch.
Bug: T362636
Change-Id: I90f11dc78be0938aea53a304b5824f034dd70107
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Post I5039c7ef9e07199c256fd568b4f94714e5831d17, gallery image captions
are no longer placed on new lines, so the presence of leading whitespace
shouldn't be significant.
This fixes an inconsistency in gallery image caption trimming, where
only the first and last option had start and end trimming, respectively.
It also matches Parsoid output, where no trimming takes places, as seen
in the updated tests.
Change-Id: I2a80198c43598dc8c7fa61cb4b0340a97d2ee895
|
|
|
|
|
|
|
|
|
| |
`@width-breakpoint-*` Less variables have been removed. Use
`@min-width-breakpoint-*`/`@max-width-breakpoint-*` instead.
Follow-up to Ie06bf3e15e552.
Bug: T349793
Change-Id: Ie397cf6839fa03ef84d3906f6d9f56c9b090884a
|
|\
| |
| |
| | |
getPermissionErrors()"
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
getPermissionErrors() uses a weird format for its return value that
is slightly different from the usual "legacy error array", and legacy
errors arrays are already icky. Deprecate it without changing this
format, and introduce getPermissionStatus() to replace it. Document
the return format more precisely.
Refactor PermissionManager to use PermissionStatus objects internally,
and only convert to the weird format in the deprecated method.
However, fix a scenario where the error array could directly contain
MessageSpecifier objects or strings instead of nested arrays,
as the documentation said that was not possible. Fix a test case
demonstrating this incorrect behavior.
Change-Id: I6670a58fe1fcb4e1ae87351277e5ddf29c548183
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also adds @size-tooltip and @background-color-inverted to
mediawiki.skin.defaults.less.
Bug: T308520
Bug: T340456
Bug: T349793
Bug: T364306
Bug: T366129
Bug: T366541
Bug: T366861
Bug: T367098
Bug: T367100
Bug: T367101
Change-Id: Ie06bf3e15e55272f0ebecfebe4baa9564fa804df
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updateSpecialPages.php runs QueryCache::recache() for each special page being
updated, with the $ignoreErrors parameter set to true (the default). While this
successfully swallows the original error, the script will immediately fail
anyways with DBTransactionStateError ("Cannot execute query from
Wikimedia\Rdbms\Database::ping while transaction status is ERROR") .
Since the guidelines[1] consider catching DBError without proper cleanup a
transaction misuse error, and explicitly discourage it, let's allow the original
erorr to bubble up instead. This has the additional benefit of providing helpful
context for whoever will inevitably have to debug why the script failed.
---
[1] https://www.mediawiki.org/wiki/Database_transactions
Bug: T278543
Change-Id: Ic81e7c5e13b2461c8eafc3ae5a57cdec5462cc4f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add a disabled by default feature flag 'EnableProtectionIndicators'
- When the config flag is enabled, show a lock indicator at the top
of the page.
- The lock icon should be overridable by the content of the page
- The indicator has a predictable ID which could be potentially used
to style the icon using the onwiki Common.css file.
- The lock icon by default links to https://www.mediawiki.org/wiki/Help:Protection. However
this link can be customized per wiki per protection level using a
empty message (for example: `protection-sysop-helppage`)
Bug: T12347
Change-Id: I3e36d98edfe54a9c138b1fe8e5057e107ded281b
|
| |
| |
| |
| |
| | |
Bug: T367918
Change-Id: If9453e0be0cca8cd5c90f0294f0978f672aa76b9
|
| |
| |
| |
| |
| | |
Bug: T256190
Change-Id: I4eca56b28682e5ca2b880bc01c123dc4f977f485
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only used in LB
Bug: T363839
Change-Id: I0b66dc85b1dd282b567c0a1847cdf07d2bcfe600
|
| | |
| | |
| | |
| | |
| | | |
Bug: T365636
Change-Id: I934f2cd8dded372314585038ef3e9255ffc3dd72
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is to make it clearer that they're related to converting serialized
content back into JSON, rather than stating that things are not
representable in JSON.
Change-Id: Ic440ac2d05b5ac238a1c0e4821d3f2d858bc3d76
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Release notes: https://gerrit.wikimedia.org/g/oojs/ui/+/v0.50.0/History.md
Bug: T367061
Bug: T364777
Bug: T365759
Depends-On: Ib183cd7c28ea3fb68a6614b38362325560b426f8
Change-Id: I8427c2ebe487e914764c1b42991545edbe112ae0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I can't find anything in codesearch that uses this parameter. The
behaviour is odd and won't work for anything except a test. The other
parameters to User::createNew(), such as "email", will be written to the
database as initial values for the new user, which seems sensible. But
this "options" parameter just sets up fake options "prefetched" from
the DB, but doesn't actually insert them.
Bug: T323076
Change-Id: Icef65cb9f354197bc6dbcc92a3cf4d4e2918f2e8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the dependency loop between PreferencesFactory and
UserOptionsManager by moving the concept of "reset kinds" or "option
kinds" to PreferencesFactory.
Note that this is a half-baked feature from 2013 (I5f9ba5b0dfe7c2ea)
that is not really used for anything. Apparently only the "all" and
"unused" kinds are used.
The strong dependencies on PreferencesFactory internal details show that
this feature belongs in PreferencesFactory. But UserOptionsManager can
reset "all" preferences without help from PreferencesFactory, so add a
helper for that.
The rationale for putting it in UserOptionsManager was that eventually
all preference definition information should move to UserOptionsManager
(T250822). I don't agree with that. UserOptionsManager is the key/value
store which backs PreferencesFactory. I need to refactor it further for
T323076 and it will help to have these concepts be separate.
Hard-deprecate UserOptionsManager methods resetOptions, listOptionKinds
and getOptionKinds. Add convenience methods to replace calls to
resetOptions().
I couldn't understand the logic in resetOptions(). Why was it copying
old values instead of just omitting them? Why was it assigning null but
only for "all"? setOption() had a documented method for resetting an
option to the default, so I just used that.
Bug: T323076
Depends-On: I1ed0a1a9f6492fb50254104fa4bc9f2130218323
Change-Id: I900fd4a48c96d91491eae54824e7bf02a004843d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: T361717
Bug: T363741
Bug: T364748
Bug: T365207
Bug: T365748
Bug: T366206
Bug: T366538
Bug: T367062
Change-Id: I792e89a8253a426b8c723486b96cb87bf9e1d85d
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: T359364
Change-Id: I3646140ee8e16800c43f37958fc4b6ff00edcad6
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Move Linker::makeExternalLink to the LinkRenderer service, as has been
done with the other static methods of Linker.
In order to allow phan's SecurityCheckPlugin to perform a more accurate
analysis of taintedness, tweak the API of Linker::makeExternalLink to
clearly indicate via the type system whether the link text has already
been escaped or not: a `string` argument will always be escaped, and
if the argument is already escaped it should be passed as an HtmlArmor
object. In refactoring, `Message` arguments were also common, and accept
them as-is to avoid the caller having to think about whether to call
Message::text() or Message::escaped().
This allows us to provide a more precise taint type to the $text argument,
avoids an opaque boolean argument, and avoids spurious errors from
SecurityCheck.
We also require the caller to explicitly pass a Title context, instead
of implicitly relying on the global $wgTitle. This works cleanly
everywhere except for CommentParser, which has a $selfLinkTarget which
generally works as the title context for the external link, but which
is nullable. The original Linker::makeExternalLink() used $wgTitle as
a fallback, but $wgTitle can also be null in some circumstances. The
title context only determines how $wgNoFollowNsExceptions is handled,
so existing code basically just ignored $wgNoFollowNsExceptions when
$wgTitle was null, which isn't terrible. A future refactor could/should
clean up CommentParser to ensure that there is always a non-null title
context that can be used.
Change-Id: I9bcf4780f388ba639a9cc882dd9dd42eda5736ae
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Hide more internal methods
Bug: T363839
Change-Id: If1ce624485399e7e79a445e172449b51da0b3f9b
|
| | |
| | |
| | |
| | |
| | | |
Bug: T363839
Change-Id: I234338f87ee8419b81e3c9fdcc3f9edc00818220
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It doesn't need to have its own method, We can just use the constant
instead.
Bug: T363839
Change-Id: Iaec5a8e88dc3e5ae4eaf1f24aebf4c5d73f4b350
|
| | |
| | |
| | |
| | | |
Change-Id: Ic01a6d5b7951f53898f4cb4c19de1210beb5af85
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use just the CSS rule `break-after: avoid-column;` instead now.
Also replacing one occurrence in Wikimedia deployed software of the
mixin and align other mixin call to coding guidelines.
Change-Id: Ie77f39136ae7320dc37f74930297e0721fcf0c19
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Deprecated since v1.38.
Bug: T299982
Depends-On: I0d75b1517fe306dcacc17daa233a1df60b5ca9fc
Depends-On: I7d4b04dbcec439fa1b9e5f7efad0dd1639d658b5
Depends-On: I3aecc142b9c98c1b2f314129898f55c0178fb00f
Change-Id: Id8bd7ac18cd52b415353a49f347f6842cfe5436f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Deprecated since v1.38.
Bug: T299982
Depends-On: I3da120f421520d2a66b37fd6a0ba277d64f9897a
Change-Id: Ib03c82749085a124fb23dbd18efe16ee16cbfd90
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
Unused.
Bug: T363839
Change-Id: I83f377a74e15a30fdc0ee2e5dfde91c91a22377d
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This functionality was introduced in 2021 (commit 349819dc5a)
to support the addition of UserGroupMembershipParam, which was
never used, and no other use case appeared.
Its existence is now preventing us from allowing serializing
of MessageValue objects as JSON (since the parameters can't be
guaranteed to be serializable).
Deprecate:
* method: MessageValue::objectParams()
* method: Message::objectParams()
* method: Message::objectParam()
* class: UserGroupMembershipParam
* constant: ParamType::OBJECT
* Passing Stringable objects to ScalarParam
Change-Id: I492edabb7ea1d75774b45eb9fd18261b39963f9f
|