User:NguoiDungKhongDinhDanh/Gadget-markadmins.js: Difference between revisions

From Test Wiki
m (-)
(For attribution: MediaWiki:Gadget-markadmins.js)
Line 1: Line 1:
// rewritten by [[m:User:Hoo man]]; 2012-08-26, adapted by [[User:Obersachse]], optimized by [[User:Jack who built the house]]
// For attribution: [[MediaWiki:Gadget-markadmins.js]]
(function () {
(function () {


Line 90: Line 90:
matches = /^User:(.+)|Talk:(.+)/.exec(link.title);
matches = /^User:(.+)|Talk:(.+)/.exec(link.title);
if (!matches) return;
if (!matches) return;
if (matches[2] && users_talkLinkOnly.indexOf(matches[2]) !== -1) {
if (matches[2]) {
if ($(link).parent().hasClass('mw-usertoollinks') || link.textContent.match(/обс/i)) return;
if ($(link).parent().hasClass('mw-usertoollinks') || link.textContent.match(/обс/i)) return;
matches[1] = matches[2];
matches[1] = matches[2];
Cookies help us deliver our services. By using our services, you agree to our use of cookies.