Reedy has uploaded a new change for review.
https://gerrit.wikimedia.org/r/52252
Change subject: Rename variables to be more relevant
......................................................................
Rename variables to be more relevant
Change-Id: I0ba470401aafdc79d2f0c2bdc098820ed290d338
---
M bugzilla-4.2/extensions/Wikimedia/Extension.pm
1 file changed, 9 insertions(+), 9 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikimedia/bugzilla/modifications
refs/changes/52/52252/1
diff --git a/bugzilla-4.2/extensions/Wikimedia/Extension.pm
b/bugzilla-4.2/extensions/Wikimedia/Extension.pm
index 9ca5125..6bdae7c 100644
--- a/bugzilla-4.2/extensions/Wikimedia/Extension.pm
+++ b/bugzilla-4.2/extensions/Wikimedia/Extension.pm
@@ -25,7 +25,7 @@
use Bugzilla::Util;
-our $VERSION = '0.01';
+our $VERSION = '0.1';
# See the documentation of Bugzilla::Hook ("perldoc Bugzilla::Hook"
# in the bugzilla directory) for a list of all available hooks.
@@ -89,23 +89,23 @@
};
sub _createRTLink {
- my $rev_link = "<a
href=\"https://rt.wikimedia.org/Ticket/Display.html?id=$1\" title=\"RT #$1\">RT
#$1</a>";
- return $rev_link;
+ my $rt_link = "<a
href=\"https://rt.wikimedia.org/Ticket/Display.html?id=$1\" title=\"RT #$1\">RT
#$1</a>";
+ return $rt_link;
};
sub _createGerritChangesetLink {
- my $rev_link = "<a href=\"https://gerrit.wikimedia.org/r/$3\"
title=\"Gerrit change #$3\">Gerrit change #$3</a>";
- return $rev_link;
+ my $change_link = "<a href=\"https://gerrit.wikimedia.org/r/$3\"
title=\"Gerrit change #$3\">Gerrit change #$3</a>";
+ return $change_link;
};
sub _createGerritChangeidLink {
- my $rev_link = "<a href=\"https://gerrit.wikimedia.org/r/#q,$1,n,z\"
title=\"Gerrit Change-Id: $1\">$1</a>";
- return $rev_link;
+ my $change_link = "<a href=\"https://gerrit.wikimedia.org/r/#q,$1,n,z\"
title=\"Gerrit Change-Id: $1\">$1</a>";
+ return $change_link;
};
sub _createGitCommitLink {
- my $rev_link = "<a href=\"https://gerrit.wikimedia.org/r/#q,$1,n,z\"
title=\"Git commit $1\">$1</a>";
- return $rev_link;
+ my $commit_link = "<a href=\"https://gerrit.wikimedia.org/r/#q,$1,n,z\"
title=\"Git commit $1\">$1</a>";
+ return $commit_link;
};
__PACKAGE__->NAME;
--
To view, visit https://gerrit.wikimedia.org/r/52252
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0ba470401aafdc79d2f0c2bdc098820ed290d338
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/bugzilla/modifications
Gerrit-Branch: master
Gerrit-Owner: Reedy <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits