https://bugzilla.wikimedia.org/show_bug.cgi?id=20430
Summary: PHP 5.3.0 Depricated Line in SpecialUpload.php Product: MediaWiki Version: 1.15.1 Platform: All OS/Version: All Status: NEW Severity: trivial Priority: Normal Component: Special pages AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: gparn...@hotmail.com In SpecialUpload.php, on Line 1501 is the line: if (eregi("<!DOCTYPE *X?HTML",$chunk)) return true; can be replaced with the line : if (preg_match("/<!DOCTYPE *X?HTML/i",$chunk)) return true; to do the same function but without the PHP deprecation error. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l