r86222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86221‎ | r86222 | r86223 >
Date:17:40, 16 April 2011
Author:maxsem
Status:ok
Tags:
Comment:
CR tooltips: show on anchored links, too
Modified paths:
  • /trunk/extensions/CodeReview/modules/ext.codereview.tooltips.js (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/modules/ext.codereview.tooltips.js
@@ -4,7 +4,7 @@
55 if ( !link ) {
66 return;
77 }
8 - var matches = link.match( /^\/.*\/Special:Code\/([-A-Za-z\d_]*?)\/(\d+)$/ );
 8+ var matches = link.match( /^\/.*\/Special:Code\/([-A-Za-z\d_]*?)\/(\d+)(#.*)?$/ );
99 if ( !matches ) {
1010 return;
1111 }

Status & tagging log