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

--- Comment #7 from Reedy <s...@reedyboy.net> 2011-05-31 21:24:35 UTC ---
if ( !is_null( $this->difftotext ) ) {
                    $engine = new DifferenceEngine( $title );
                    $engine->setText( $text, $this->difftotext );
                } else {
                    $engine = new DifferenceEngine( $title, $revision->getID(),
$this->diffto );
                    $vals['diff']['from'] = $engine->getOldid();
                    $vals['diff']['to'] = $engine->getNewid();
                }
                $difftext = $engine->getDiffBody();





    function __construct( $titleObj = null, $old = 0, $new = 0, $rcid = 0,
        $refreshCache = false, $unhide = false )


And then it'll only do it if...

        if ( $this->mOldid && $this->mNewid ) {


So in some cases.

I'll look at looking into it properly later

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to