r64435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64434‎ | r64435 | r64436 >
Date:12:33, 31 March 2010
Author:churchofemacs
Status:ok
Tags:
Comment:
Adding nosummary as option for newsection-comment
Modified paths:
  • /trunk/extensions/InputBox/InputBox.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InputBox/InputBox.classes.php
@@ -17,6 +17,7 @@
1818 private $mPreload = '';
1919 private $mEditIntro = '';
2020 private $mSummary = '';
 21+ private $mNosummary = '';
2122 private $mMinor = '';
2223 private $mPage = '';
2324 private $mBR = 'yes';
@@ -328,6 +329,13 @@
329330 $htmlOut .= Xml::openElement( 'input',
330331 array(
331332 'type' => 'hidden',
 333+ 'name' => 'nosummary',
 334+ 'value' => $this->mNosummary,
 335+ )
 336+ );
 337+ $htmlOut .= Xml::openElement( 'input',
 338+ array(
 339+ 'type' => 'hidden',
332340 'name' => 'prefix',
333341 'value' => $this->mPrefix,
334342 )
@@ -484,6 +492,7 @@
485493 'page' => 'mPage',
486494 'editintro' => 'mEditIntro',
487495 'summary' => 'mSummary',
 496+ 'nosummary' => 'mNosummary',
488497 'minor' => 'mMinor',
489498 'break' => 'mBR',
490499 'default' => 'mDefaultText',

Status & tagging log