User:Path slopu/scripts/RBK-assist.js: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 901082149 by Path slopu (talk)
Line 6:
if (summary == null || summary == "") return false;
if (summary == "[[Help:Reverting|Reverted]] edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last version by $1") return true;
if (summary == "[[Help:Reverting|Reverted]] edits by [[Special:Contributions/$2|$2]] ([[User talk:$2|talk]]) to last version by $1") mw.util.getUrl( 'User talk:$2' );
this.href = this.href.replace("?", "?summary=" + encodeURIComponent(summary) + "&");
};