MediaWiki:Gadget-markadmins.js: Difference between revisions

From Test Wiki
no edit summary
(import)
 
No edit summary
Line 32: Line 32:


var $links = $content.find('a[title^="Участни"], a[title^="Обсуждение участни"]');
var $links = $content.find('a[title^="User"], a[title^="Talk"]');




Line 67: Line 67:
var matches, user, flags = [], tips = [], flag;
var matches, user, flags = [], tips = [], flag;
matches = /^Участни(?:к|ца):(.+)|Обсуждение участни(?:ка|цы):(.+)/.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] && users_talkLinkOnly.indexOf(matches[2]) !== -1) {
113

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.