From: daniel Date: Fri, 8 Jun 2012 07:06:56 +0000 (+0200) Subject: added some fixme reminders for providing preview text for content objects X-Git-Tag: 1.31.0-rc.0~22097^2^2~133 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=0f22c77123283a86e795d023c79f53e74c811b79;p=lhc%2Fweb%2Fwiklou.git added some fixme reminders for providing preview text for content objects --- diff --git a/includes/specials/SpecialUndelete.php b/includes/specials/SpecialUndelete.php index 9dbc10ad5d..542ecff5df 100644 --- a/includes/specials/SpecialUndelete.php +++ b/includes/specials/SpecialUndelete.php @@ -872,6 +872,7 @@ class SpecialUndelete extends SpecialPage { if( $this->mPreview ) { // Hide [edit]s + //FIXME: ContentHandler will have to provide some specialized magic to do this $popts = $out->parserOptions(); $popts->setEditSection( false ); $out->parserOptions( $popts ); @@ -883,7 +884,7 @@ class SpecialUndelete extends SpecialPage { 'readonly' => 'readonly', 'cols' => intval( $user->getOption( 'cols' ) ), 'rows' => intval( $user->getOption( 'rows' ) ) ), - $rev->getText( Revision::FOR_THIS_USER, $user ) . "\n" ) . + $rev->getText( Revision::FOR_THIS_USER, $user ) . "\n" ) . //FIXME: ContentHandler will have to provide some specialized magic to do this Xml::openElement( 'div' ) . Xml::openElement( 'form', array( 'method' => 'post',