diff options
author | Sam Wilson <sam@samwilson.id.au> | 2024-12-18 11:34:43 +0800 |
---|---|---|
committer | Sam Wilson <sam@samwilson.id.au> | 2024-12-19 12:22:56 +0800 |
commit | d3148916fc16562535bc1b618069b6c523b66693 (patch) | |
tree | 24a42dc8fc60572d47db6ba1b32c6ce3cc195dd2 /tests/phpunit/includes/content/JavaScriptContentTest.php | |
parent | 42f6d2c212ffdf5971eef30d658b5645c805c1cf (diff) | |
download | mediawikicore-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