r75516 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75515‎ | r75516 | r75517 >
Date:11:35, 27 October 2010
Author:reedy
Status:deferred
Tags:
Comment:
Last couple of deprecated method calls
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)
  • /trunk/extensions/LiquidThreads/pages/IndividualThreadHistoryView.php (modified) (history)
  • /trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -1947,7 +1947,7 @@
19481948 // Metadata stuck in the top of the lqt_thread div.
19491949 // Modified time for topmost threads...
19501950 if ( $thread->isTopmostThread() ) {
1951 - $html .= Xml::hidden(
 1951+ $html .= Html::hidden(
19521952 'lqt-thread-modified-' . $thread->id(),
19531953 wfTimestamp( TS_MW, $thread->modified() ),
19541954 array(
Index: trunk/extensions/LiquidThreads/pages/IndividualThreadHistoryView.php
@@ -19,7 +19,6 @@
2020 /* This customizes the subtitle of a history *listing* from the hook,
2121 and of an old revision from getSubtitle() below. */
2222 function customizeSubtitle() {
23 - wfLoadExtensionMessages( 'LiquidThreads' );
2423 $msg = wfMsgExt( 'lqt_hist_view_whole_thread', 'parseinline' );
2524 $threadhist = $this->permalink(
2625 $this->thread->topmostThread(),
Index: trunk/extensions/LiquidThreads/pages/NewUserMessagesView.php
@@ -144,8 +144,6 @@
145145 }
146146
147147 function showWrappedThread( $t ) {
148 - wfLoadExtensionMessages( 'LiquidThreads' );
149 -
150148 $read_button = $this->htmlForReadButton(
151149 wfMsg( 'lqt-read-message' ),
152150 wfMsg( 'lqt-read-message-tooltip' ),

Status & tagging log