mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Use POST method for action=abusefilterchecksyntax API requests
Needed as filters take arbitrary user input through a textarea, which can get rather big. GET cuts it off sometimes. Bug: 47298 Change-Id: I317f5d7c372710617a7a6526cd4613de9660a40a
This commit is contained in:
parent
87094b9c0a
commit
f883ad8675
|
@ -42,7 +42,7 @@
|
|||
.attr( 'disabled', 'disabled' )
|
||||
.injectSpinner( 'abusefilter-syntaxcheck' );
|
||||
|
||||
api.get( {
|
||||
api.post( {
|
||||
action: 'abusefilterchecksyntax',
|
||||
filter: filter
|
||||
} )
|
||||
|
|
Loading…
Reference in a new issue