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

--- Comment #1 from Sam Reed (reedy) <[email protected]> ---
    public static function showDocPageHeader( &$article, &$outputDone, &$pcache
) {
        global $wgOut;

        $title = $article->getTitle();
        if ( Scribunto::isDocPage( $title, $forModule ) ) {
            $wgOut->addHTML(
                wfMessage( 'scribunto-doc-page-header',
$forModule->getPrefixedText() )->parseAsBlock()
            );
        }
        return true;
    }


Scribunto::isDocPage() calls Title::makeTitleSafe() which can return null. Even
if it returns null, we return true

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to