https://bugzilla.wikimedia.org/show_bug.cgi?id=40291
Sam Reed (reedy) <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #11115|0 |1 is obsolete| | --- Comment #1 from Sam Reed (reedy) <[email protected]> 2012-09-17 03:58:04 UTC --- Created attachment 11116 --> https://bugzilla.wikimedia.org/attachment.cgi?id=11116 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' ) { -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
