r83602 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r83601
|
r83602
|
r83603
>
Date:
19:11, 9 March 2011
Author:
tparscal
Status:
ok
Tags:
Comment:
Added more explicit logic, javascript was evaluating '0' to true, causing people in bucket 0 to get tracked, a waste of resources.
Modified paths:
/trunk/extensions/Vector/modules/ext.vector.sectionEditLinks.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Vector/modules/ext.vector.sectionEditLinks.js
—
—
@@ -20,7 +20,7 @@
21
21
}
22
22
}
23
23
}
24
-if ( bucket ) {
24
+if ( bucket > 0 ) {
25
25
// Transform the targets of section edit links to route through the click tracking API
26
26
$( 'span.editsection a' ).each( function() {
27
27
var session = $.cookie( 'clicktracking-session' );
Follow-up revisions
Revision
Commit summary
Author
Date
r83604
1.17wmf1: MFT
r83602
catrope
19:15, 9 March 2011
Status & tagging log
19:14, 9 March 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r83602
[
removed:
new
added:
ok]