https://bugzilla.wikimedia.org/show_bug.cgi?id=49842

--- Comment #3 from Sam Reed (reedy) <[email protected]> ---
Can we just escape? Or is it some sort of race condition with a slave?


    public static function onFileUpload( LocalFile $file ) {
        $title = $file->getTitle();
        $wp = WikiPage::factory( $title );
        $po = new ParserOptions();
        $pout = $wp->getParserOutput( $po );
        if ( !( $title instanceof Title ) || !( $po instanceof ParserOutput ) )
{
            return true;
        }
        $lu = new LinksUpdate( $file->getTitle(), $pout );
        self::onLinksUpdate( $lu );
        return true;
    }

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to