r53313 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53312‎ | r53313 | r53314 >
Date:13:43, 15 July 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix inline replies on Special:NewMessages
Modified paths:
  • /trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php
@@ -111,6 +111,11 @@
112112 if ( ! is_array( $this->threads ) ) {
113113 throw new MWException( 'You must use NewUserMessagesView::setThreads() before calling NewUserMessagesView::show().' );
114114 }
 115+
 116+ if ( $this->request->getBool( 'lqt_inline' ) ) {
 117+ $this->doInlineEditForm();
 118+ return false;
 119+ }
115120
116121 // Do everything by id, because we can't depend on reference identity; a simple Thread::withId
117122 // can change the cached value and screw up your references.

Status & tagging log