r76376 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76375‎ | r76376 | r76377 >
Date:05:01, 9 November 2010
Author:werdna
Status:deferred
Tags:
Comment:
Fix algorithm for finding the subject of a thread
Modified paths:
  • /trunk/extensions/LiquidThreads/newmessages.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/newmessages.js
@@ -23,7 +23,7 @@
2424
2525 // Produce the link
2626 var titleSel = '.lqt-thread-topmost > .lqt-thread-title-metadata';
27 - var subject = right_col.find('h3').text();
 27+ var subject = right_col.find('.lqt_header').text();
2828 var title = right_col.find(titleSel).val();
2929 title = title.replace( ' ', '_' );
3030 title = encodeURIComponent(title);

Status & tagging log