wiki.techinc.nl/includes
MusikAnimal de2b3f7a59 mediawiki.special.block: make submit destructive and use old messages
SpecialBlock calls HTMLForm::setSubmitDestructive(). This patch applies
that to the new Vue version of Special:Block.

Additionally, since we're not going to enable multiblocks in the initial
launch, the submit button message is changed to as it was before. "Save
block" is questionable even for multiblocks. It will likely be a while
before we iron out the UI for multiblocks, so we might as well remove
now-unused 'block-save' message.

The "[username] is already blocked" message is now also surfaced, i.e.
browsing to [[Special:Block/someblockuser]]. Like the old Special:Block,
changes to the block target field won't re-query to see if the user is
already blocked (though that would be a fine improvement). However
*unlike* the old Special:Block, such changes do make the message
disappear.

Bug: T373572
Change-Id: Iceaedbb1e3496c52b49a2b96d65445da45261b9f
2024-09-18 20:43:22 -04:00
..
actions Merge "rdbms: Migrate MediaWiki.rdbms_trxprofiler_warnings to statslib" 2024-09-07 19:47:58 +00:00
api Replace some manual checks and exceptions with type hints 2024-09-17 21:33:08 +00:00
auth Merge "auth: Disable irrelevant account creation fields for temp users" 2024-09-10 20:05:43 +00:00
block Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
cache cache: Add missing documentation to class properties 2024-09-10 20:57:59 +02:00
Category Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
changetags Merge "Allow change tags to have help links in separate messages" 2024-08-23 17:36:57 +00:00
collation collation: Add type declaration for RemoteIcuCollation class properties 2024-09-01 11:47:57 +02:00
CommentFormatter Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
CommentStore Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
composer Consolidate Maintenance 'includes' code in one place 2024-08-11 18:09:08 +02:00
config Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
content Provide previous parse results to parser when rendering 2024-08-23 17:41:55 -04:00
context Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
dao
db DB: add type declarations to properties and methods 2024-09-13 22:14:17 +08:00
debug Replace gettype() with get_debug_type() in debug/log/test output 2024-07-31 19:33:57 +02:00
deferred Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
diff Add missing documentation to class properties (frontend-related) 2024-09-05 21:41:19 +02:00
edit Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
editpage Migrate all uses of deprecated URL global functions to use wfGetUrlUtils() 2024-09-10 16:50:02 -07:00
exception Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
export build: Use inline ignore for Generic.CodeAnalysis.AssignmentInCondition 2024-09-01 00:15:10 +02:00
ExternalLinks Move remaining four classes in includes/content into Content namespace 2024-08-10 10:40:53 +02:00
externalstore Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
Feed recentchanges: Add missing documentation to class properties 2024-09-14 10:09:46 +02:00
filebackend Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
filerepo Avoid use of deprecated wfExpandUrl in various places 2024-09-09 20:55:52 +00:00
gallery Add double-px-category tracking category for deprecated image size syntax 2024-08-29 17:54:38 -04:00
historyblob Make use of the ??= and ?? operators where it makes sense 2024-08-26 09:26:36 +02:00
Hook Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
HookContainer Hard deprecate OutputPageMakeCategoryLinksHook 2024-09-05 16:28:10 -04:00
Html mediawiki.special.block: add reason field 2024-09-11 21:14:25 -04:00
htmlform Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
http Merge "http: Remove timestamp from 'http' channel logs" 2024-09-17 22:23:10 +00:00
import
installer Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
interwiki Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
jobqueue Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
json Replace gettype() with get_debug_type() in debug/log/test output 2024-07-31 19:33:57 +02:00
language Merge "Replace some manual checks and exceptions with type hints" 2024-09-17 23:22:13 +00:00
languages Merge "language: More use of const and cleanup" 2024-09-17 23:19:49 +00:00
libs Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
linkeddata
linker Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
logging Add missing documentation to class properties (frontend-related) 2024-09-05 21:41:19 +02:00
mail Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
media Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
Message Merge "Message: Throw on invalid newFromSpecifier() params instead of ignoring" 2024-08-22 08:31:41 +00:00
Navigation
objectcache Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
Output Merge "Remove ParserOutput::getText() calls from core (runOutputPipeline)" 2024-09-06 19:39:11 +00:00
OutputTransform Avoid use of deprecated wfExpandUrl in ExtractBody 2024-09-09 19:38:04 +03:30
page Randomly sample statistics for Parsoid Selective Update 2024-09-13 19:29:18 -04:00
pager Add missing documentation to class properties (frontend-related) 2024-09-05 21:41:19 +02:00
ParamValidator/TypeDef
parser Re-order arguments to DataAccess::addTrackingCategory 2024-09-18 14:59:00 -04:00
password
Permissions Permissions: Fix typo 2024-09-08 10:41:18 +03:00
poolcounter Merge "Add missing documentation to class properties (miscellaneous classes)" 2024-09-17 02:23:59 +00:00
preferences PasswordReset: remove $wgAllowRequiringEmailForResets feature flag 2024-08-28 00:55:43 +02:00
profiler Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
recentchanges recentchanges: Add missing documentation to class properties 2024-09-14 10:09:46 +02:00
registration Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
RenameUser RenameUser: Make RenameUserJob use commitAndWaitForReplication() 2024-08-30 00:52:35 +00:00
Request Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
ResourceLoader ResourceLoader: Fix SkinModule aliases to not override existing keys 2024-09-17 03:22:04 +00:00
Rest Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
Revision Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
revisiondelete Replace deprecated LogFormatter::newFromRow/newFromEntry 2024-07-29 22:26:41 +02:00
revisionlist
search Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
session Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
Settings Use type declaration for class properties holding type hinted arguments 2024-09-11 20:08:50 +00:00
shell
site Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
SiteStats
skins Skin: don't reparse language link titles 2024-09-16 19:23:50 -04:00
sparql
specialpage Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
specials mediawiki.special.block: make submit destructive and use old messages 2024-09-18 20:43:22 -04:00
Status Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
Storage Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
StubObject Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
templates
tidy Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
title Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
upload Merge "upload: Remove declaration UploadFromUrl::$mTempPath" 2024-09-17 08:05:24 +00:00
user Merge "Remove User::canExist()" 2024-09-16 03:08:15 +00:00
utils Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
watchlist Make use of the ??= and ?? operators where it makes sense 2024-08-26 09:26:36 +02:00
widget htmlform: Add missing documentation to class properties 2024-09-14 11:49:05 +00:00
WikiMap Migrate all uses of deprecated URL global functions to use wfGetUrlUtils() 2024-09-10 16:50:02 -07:00
xml Add missing documentation to class properties (miscellaneous classes) 2024-09-14 10:12:18 +02:00
.htaccess
AutoLoader.php build: Use inline ignore for Generic.CodeAnalysis.AssignmentInCondition 2024-09-01 00:15:10 +02:00
BootstrapHelperFunctions.php Make use of the ??= and ?? operators where it makes sense 2024-08-26 09:26:36 +02:00
config-schema.php Randomly sample statistics for Parsoid Selective Update 2024-09-13 19:29:18 -04:00
DefaultSettings.php
Defines.php objectcache: Remove WinCache support 2024-09-05 17:59:26 +00:00
DevelopmentSettings.php REST: yank the new content.v1 module 2024-09-06 13:15:21 +02:00
EntryPointEnvironment.php
GlobalFunctions.php Merge "Hard deprecation of wfExpandIRI" 2024-09-07 13:07:24 +00:00
MainConfigNames.php Randomly sample statistics for Parsoid Selective Update 2024-09-13 19:29:18 -04:00
MainConfigSchema.php Randomly sample statistics for Parsoid Selective Update 2024-09-13 19:29:18 -04:00
MediaWiki.php
MediaWikiEntryPoint.php Merge "entrypoint: Do not add new headers when headers were already sent." 2024-08-09 07:36:46 +00:00
MediaWikiServices.php remove @internal from getStatsFactory() 2024-08-27 22:52:34 +00:00
PHPVersionCheck.php
ServiceWiring.php Merge "REST: add restbase compat mode for some endpoints" 2024-09-16 19:21:57 +00:00
Setup.php Replace a few more uses of deprecated Status / StatusValue methods 2024-08-22 19:34:51 +00:00
SetupDynamicConfig.php
WebStart.php