From 0f22c77123283a86e795d023c79f53e74c811b79 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 8 Jun 2012 09:06:56 +0200 Subject: [PATCH] added some fixme reminders for providing preview text for content objects --- includes/specials/SpecialUndelete.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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', -- 2.20.1