r45694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45693‎ | r45694 | r45695 >
Date:02:18, 13 January 2009
Author:soxred93
Status:ok
Tags:
Comment:
(bug 17002) Add minor and summary parameters to InputBox
Modified paths:
  • /trunk/extensions/InputBox/InputBox.classes.php (modified) (history)

Diff [purge]

Index: trunk/extensions/InputBox/InputBox.classes.php
@@ -16,6 +16,8 @@
1717 private $mWidth = 50;
1818 private $mPreload = '';
1919 private $mEditIntro = '';
 20+ private $mSummary = '';
 21+ private $mMinor = '';
2022 private $mPage = '';
2123 private $mBR = 'yes';
2224 private $mDefaultText = '';
@@ -309,6 +311,20 @@
310312 'value' => $this->mEditIntro,
311313 )
312314 );
 315+ $htmlOut .= Xml::openElement( 'input',
 316+ array(
 317+ 'type' => 'hidden',
 318+ 'name' => 'summary',
 319+ 'value' => $this->mSummary,
 320+ )
 321+ );
 322+ $htmlOut .= Xml::openElement( 'input',
 323+ array(
 324+ 'type' => 'hidden',
 325+ 'name' => 'minor',
 326+ 'value' => $this->mMinor,
 327+ )
 328+ );
313329 if ( $this->mType == 'comment' ) {
314330 $htmlOut .= Xml::openElement( 'input',
315331 array(
@@ -452,6 +468,8 @@
453469 'preload' => 'mPreload',
454470 'page' => 'mPage',
455471 'editintro' => 'mEditIntro',
 472+ 'summary' => 'mSummary',
 473+ 'minor' => 'mMinor',
456474 'break' => 'mBR',
457475 'default' => 'mDefaultText',
458476 'bgcolor' => 'mBGColor',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r45693* (bug 17002) Add &minor= and &summary= as parameters in the url when editing...soxred9302:10, 13 January 2009

Status & tagging log