r110693 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110692‎ | r110693 | r110694 >
Date:11:44, 4 February 2012
Author:jeroendedauw
Status:deferred
Tags:
Comment:
allow for inline display
Modified paths:
  • /trunk/extensions/CreatePage/CreatePage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CreatePage/CreatePage.php
@@ -54,6 +54,7 @@
5555 $html = Html::openElement( 'form', array(
5656 'action' => SpecialPage::getTitleFor( 'CreatePage' )->getLocalURL(),
5757 'method' => 'post',
 58+ 'style' => 'display: inline',
5859 ) );
5960
6061 $html .= Html::input(
@@ -75,8 +76,8 @@
7677
7778 $html .= '</form>';
7879
79 - return array( $html, 'isHTML' => true );
 80+ return $parser->insertStripItem( $html );
8081 }, SFH_OBJECT_ARGS );
81 -
 82+
8283 return true;
8384 };

Status & tagging log