aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/content/JavaScriptContentTest.php
diff options
context:
space:
mode:
authorSam Wilson <sam@samwilson.id.au>2024-12-18 11:34:43 +0800
committerSam Wilson <sam@samwilson.id.au>2024-12-19 12:22:56 +0800
commitd3148916fc16562535bc1b618069b6c523b66693 (patch)
tree24a42dc8fc60572d47db6ba1b32c6ce3cc195dd2 /tests/phpunit/includes/content/JavaScriptContentTest.php
parent42f6d2c212ffdf5971eef30d658b5645c805c1cf (diff)
downloadmediawikicore-d3148916fc16562535bc1b618069b6c523b66693.tar.gz
mediawikicore-d3148916fc16562535bc1b618069b6c523b66693.zip
SpecialBlock: Handle block ID or 'newblock' when saving form
When multiblocks is enabled, send either the block ID or the 'newblock' parameter to the API when saving or creating a block. Also fix the form's button text to be correct when creating a new multiblock. This moves the enableMultiblocks flag into the store, and uses in (some of) the various places it was being checked. Bug: T380187 Change-Id: Ie54540888aa05a6dc905512561a4cefd98c9d2f6
Diffstat (limited to 'tests/phpunit/includes/content/JavaScriptContentTest.php')
0 files changed, 0 insertions, 0 deletions