ugh, missed this global var
authorMark A. Hershberger <mah@users.mediawiki.org>
Sat, 11 Feb 2012 01:43:34 +0000 (01:43 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Sat, 11 Feb 2012 01:43:34 +0000 (01:43 +0000)
includes/EditPage.php

index 3a560b8..4669ad8 100644 (file)
@@ -3040,7 +3040,7 @@ HTML
         * @param $match array|string|bool Text (or array of texts) which triggered one or more filters
         */
        public function spamPageWithContent( $match = false ) {
-               global $wgOut;
+               global $wgOut, $wgLang;
                $this->textbox2 = $this->textbox1;
 
                if( is_array( $match ) ){