https://bugzilla.wikimedia.org/show_bug.cgi?id=21136
--- Comment #8 from ThomasV <[email protected]> 2010-06-21 12:38:36 UTC --- "As a dependency" is not clear. Do you need the index page to be returned as a link or as a template ? here are two patches : the first one returns it as a link, the second one as a template. Please tell me which one you need. Index: ProofreadPage.php =================================================================== --- ProofreadPage.php (révision 67856) +++ ProofreadPage.php (copie de travail) @@ -745,6 +745,7 @@ if( ! $index_title || ! $index_title->exists() ) { return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_index' ) . '</strong>'; } + $parser->mOutput->addLink( $index_title, $index_title->getArticleID() ); $out = ''; Index: ProofreadPage.php =================================================================== --- ProofreadPage.php (révision 68350) +++ ProofreadPage.php (copie de travail) @@ -745,6 +745,7 @@ if( ! $index_title || ! $index_title->exists() ) { return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_index' ) . '</strong>'; } + $parser->mOutput->addTemplate( $index_title, $index_title->getArticleID(), $index_title->getLatestRevID() ); $out = ''; -- 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
