This is to make it so that blocking all other admins is not
a succesful attack plan, as the blocked admins can block the
blocker, and then it ends in a stalemate with everyone blocked.
This also allows users with unblock-self right to adjust their
own blocks. The code already existed for this but was broken.
Credit for this idea goes to Tgr.
Bug: T150826
Change-Id: I0418279fdb2a59f8f1d7eeb8931d874123d03e4f
The default loading of module 'mediawiki.user' was added in 7d4108ecdb
(r88254).
At this time mw.user.options was defined in module 'mediawiki.user'.
Now mw.user.options is already defined in module 'startup'.
Change-Id: I772cf93317f64a7d1723b01cb92f7db7be91cf89
Change the header message of SpecialUnusedimages to explain
that categorized images are considered as used when
$wgCountCategorizedImagesAsUsed is turned on.
Bug: T210923
Change-Id: Ifefdaaf6e80ee50ce64459c708f651bd871d746e
Document $parserCache, $title and $params for the constructor method
and minor typo fix newSpec() method.
Change-Id: I5968ee5bfe614da6f6dc8d7e0405799aa00b6127
The information for a title already in the select result.
Give it to Revision class to avoid extra Title::newFromId in
Revision::ensureTitle for each row
Change-Id: Ib8dd78f918bd0f3fe131f2a8ed9e659f87edd4a1
This formatter extends LogstashFormatter to prefix records with "cee token"
used for syslog and JSON structured logging. See also related task for more
context.
Bug: T211124
Change-Id: I3cdeb4c666f54039b5e8ecc67bd4937220333526
System messages along the lines of "you can't view this page,
please log in" get the login link (with returnto parameters) as a
HTML string, but sometimes one might want to customize the link
on one page without affecting all the other pages so it's nice
to have the raw link available as well.
Change-Id: Ib71791ea28718455d2925e4424147e87ef901f33
The module 'mediawiki.searchSuggest' does not depend on anything and
can assigned to $modules already on initialization like the other
modules.
Change-Id: Ibf9bcbd4dde4703d72c9b97b0e88468c63978e0f
Show log extract if the user is sitewide blocked, or is partially
blocked and not allowed to edit their user page or user talk page.
Bug: T203171
Change-Id: I9bcc50cfc1fad23f6bbbe5374a9a866f77bebc11
Create a PendingTextInputWidget and use it in
TitlesMultiSelectWidget instead of the multiline
text area for users who have JavaScript.
Bug: T210080
Change-Id: I824fea6a3df580d342e6087ab901fec025f0e70b
Ensure that errors encoding API results produce actionable log entries.
Part of the follow-up to T210550.
Change-Id: I6f311451e3b07b540f14352ce25af9d74a053d19