Page MenuHomePhabricator

Banner causes "ReferenceError: url is not defined"
Closed, ResolvedPublic

Description

When I accessed
https://pt.wikipedia.org/w/index.php?diff=44207970&oldid=43487013
I got the error

ReferenceError: url is not defined

from this code:

var full_banner = function() {
    $("div#WP15GetInvolvedPush a.cn-full-banner-click").attr("href",url);
}

Event Timeline

He7d3r raised the priority of this task from to Needs Triage.
He7d3r updated the task description. (Show Details)
He7d3r added subscribers: He7d3r, Jalexander.

I think I see the issue, let me loop in with Joe about it

Sorry about all of this. I've removed that rogue script snippet. Should work as intended now.

jrbs claimed this task.
jrbs set Security to None.

JS was referring to url, an unknown variable. Thanks all for the heads up.