Last modified: 2012-09-24 22:13:57 UTC
Created attachment 11115 [details] patch Patch to enable users with bot rights to be excluded from antibots GenericFormEncoding
Created attachment 11116 [details] v2 Tidied up and simplified... You want to maybe use $wgRequest... Does the function_exists wrapper call for you and generally looks neater.. $wgRequest->initHeaders(); $header = $wgRequest->getHeader( 'Content-Type' ); if ( $header === 'application/x-www-form-urlencoded' ) {
Created attachment 11117 [details] v3
https://gerrit.wikimedia.org/r/24943