r114926 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114925‎ | r114926 | r114927 >
Date:16:39, 16 April 2012
Author:reedy
Status:ok
Tags:
Comment:
Remove commented not used code and some trailing whitespace
Modified paths:
  • /trunk/tools/bugzilla/bugzilla-4.0/extensions/Wikimedia/Extension.pm (modified) (history)

Diff [purge]

Index: trunk/tools/bugzilla/bugzilla-4.0/extensions/Wikimedia/Extension.pm
@@ -53,11 +53,7 @@
5454 match => qr{\bgerrit(\ change(set)?)?\ ?\#?(\d+)}i,
5555 replace => \&_createGerritLink
5656 };
57 - #~\br(\d+)\b
58 - # "<a href=\"https://www.mediawiki.org" .
59 - # "/wiki/Special:Code/MediaWiki/$1\" " .
60 - # "title=\"revision $1 in SVN\">r$1</a>"
61 -
 57+
6258 push( @$regexes, $replacerWP );
6359 push( @$regexes, $replacerCR );
6460 push( @$regexes, $replacerRT );
@@ -69,7 +65,7 @@
7066 my $tmp = html_quote($match_str);
7167 my $wikipedia_link = "[[<a href='https://en.wikipedia.org/w/index.php?title=Special:Search&go=Go&search=$tmp'>$tmp</a>]]";
7268 return $wikipedia_link;
73 -};
 69+};
7470
7571 sub _createCodeReviewLink {
7672 my $rev_link = "<a href=\"https://www.mediawiki.org/wiki/Special:Code/MediaWiki/$1\" title=\"revision $1 in SVN\">r$1</a>";

Status & tagging log