Content deleted Content added
m Add comments (via CAE) |
remove titles with / [Factotum] |
||
(One intermediate revision by the same user not shown) | |||
Line 2:
function talkbackLink() {
if ($("#mw-content-text").length > 0) {
var $nodeList = $('a[title^="User talk:"]').filter("a:not([title*='\/'])"),
pdne = ' (page does not exist)';
if ($nodeList !== null) {
Line 17:
var newLinkId = "TBsubmit" + i;
newLinkString += '<a href=' + (($link[0].href).replace("User_talk:", "Special:Contributions/")) + ' style="font-size:x-small; display:inline-block;">C</a>|';
newLinkString += '<a style="font-size:x-small; display:inline-block;" title="Send a talkback!" noPopup=1 id="' + newLinkId + '" href= "'+($link[0].href
$($link).after(newLinkString);
$("#" + newLinkId).click({
|