r99024 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r99023‎ | r99024 | r99025 >
Date:18:40, 5 October 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r99022
Modified paths:
  • /branches/wmf/1.18wmf1/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/extensions/LiquidThreads/lqt.js
@@ -835,6 +835,9 @@
836836 var linkTitle = thread.find('.lqt-thread-title-metadata').val();
837837 var linkURL = wgArticlePath.replace( "$1", linkTitle.replace(/ /g, '_' ) );
838838 linkURL = wgServer + linkURL;
 839+ if ( linkURL.substr( 0, 2 ) == '//' ) {
 840+ linkURL = window.location.protocol + linkURL;
 841+ }
839842 liquidThreads.showLinkWindow( linkTitle, linkURL );
840843 },
841844

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r99022Actually fix bug 31354 this time (hopefully): expand URLs in the permalink di...catrope18:38, 5 October 2011

Status & tagging log