r57397 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57396‎ | r57397 | r57398 >
Date:19:59, 5 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Merge r57390, turn action=edit into lqt_method=edit&lqt_operand=X
Modified paths:
  • /branches/wmf-deployment/extensions/LiquidThreads (modified) (history)
  • /branches/wmf-deployment/extensions/LiquidThreads/pages/ThreadPermalinkView.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/extensions/LiquidThreads/pages/ThreadPermalinkView.php
@@ -137,6 +137,13 @@
138138 $this->doInlineEditForm();
139139 return false;
140140 }
 141+
 142+ // Handle action=edit stuff
 143+ if ( $this->request->getVal( 'action' ) == 'edit' ) {
 144+ // Rewrite to lqt_method = edit
 145+ $this->request->setVal( 'lqt_method', 'edit' );
 146+ $this->request->setVal( 'lqt_operand', $this->thread->id() );
 147+ }
141148
142149 self::addJSandCSS();
143150 $this->output->setSubtitle( $this->getSubtitle() );
Property changes on: branches/wmf-deployment/extensions/LiquidThreads
___________________________________________________________________
Name: svn:mergeinfo
144151 - /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206,57215,57219,57222,57225,57227,57229,57287,57389
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350
145152 + /branches/REL1_15/phase3/extensions/LiquidThreads:51646
/trunk/extensions/LiquidThreads:56151-57116,57130-57134,57169,57193,57195,57198,57200-57206,57215,57219,57222,57225,57227,57229,57287,57389-57390
/trunk/phase3/extensions/LiquidThreads:56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57390Rewrite action=edit to lqt_method=edit&lqt_operand=X, fixes bug 20943werdna18:04, 5 October 2009

Status & tagging log