Index: trunk/extensions/SpamBlacklist/SpamBlacklist_body.php |
— | — | @@ -35,7 +35,7 @@ |
36 | 36 | } |
37 | 37 | } |
38 | 38 | |
39 | | - $thisHttp = wfExpandUrl( $title->getFullUrl( 'action=raw' ), PROT_HTTP ); |
| 39 | + $thisHttp = wfExpandUrl( $title->getFullUrl( 'action=raw' ), PROTO_HTTP ); |
40 | 40 | $thisHttpRegex = '/^' . preg_quote( $thisHttp, '/' ) . '(?:&.*)?$/'; |
41 | 41 | |
42 | 42 | foreach( $this->files as $fileName ) { |