[Mediawiki-l] Correct way to modify specialupload.php?

Tech Geek techgeek12345 at gmail.com
Fri Oct 1 19:11:44 UTC 2010


Sorry for bumping up....anyone?

On Wed, Sep 29, 2010 at 6:32 PM, Tech Geek <techgeek12345 at gmail.com> wrote:

> I want to comment out couple of lines of code in the file
> /var/lib/mediawiki/includes/specialupload.php file. Here are the lines:
>   //if( $this->detectScript ( $tmpfile, $mime, $extension ) ) {
>   // return new WikiErrorMsg( 'uploadscripted' );
>   //}
> Now I know that it is not a good idea to modify the core mediawiki files.
>
> What is the correct way to do this then?
>
>


More information about the MediaWiki-l mailing list