r51335 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r51334‎ | r51335 | r51336 >
Date:11:32, 2 June 2009
Author:thomasv
Status:resolved (Comments)
Tags:
Comment:
adding hidden link to index
Modified paths:
  • /trunk/extensions/ProofreadPage/ProofreadPage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/ProofreadPage.php
@@ -662,7 +662,7 @@
663663 if( ! $index_title || ! $index_title->exists() )
664664 return '<strong class="error">' . wfMsgForContent( 'proofreadpage_nosuch_index' ) . '</strong>';
665665
666 - $out = "";
 666+ $out = '<span id="pr_index" class="hiddenStructure"><a href="'.$index_title->getFullUrl().'">'.$index_namespace.'</a> </span>';
667667 list( $links, $params, $attributes ) = pr_parse_index( $index_title );
668668
669669 if( $params ) {

Comments

#Comment by Tim Starling (talk | contribs)   04:11, 6 June 2009

Escaping error, will generate invalid HTML due to bare ampersands.

#Comment by ThomasV (talk | contribs)   06:56, 6 June 2009

fixed in r51531

Status & tagging log