User:DR/common.js: Difference between revisions

From Test Wiki
Content deleted Content added
DR (talk | contribs)
ce
Tag: Reverted
DR (talk | contribs)
No edit summary
Tag: Reverted
Line 191: Line 191:
default:
default:
statusText += friendlyGroups.slice(0, -1).join(", ") +
statusText += friendlyGroups.slice(0, -1).join(", ") +
", and " + friendlyGroups[friendlyGroups.length - 1];
" and " + friendlyGroups[friendlyGroups.length - 1];
break;
break;
}
}
Line 211: Line 211:
et + "'>" + UserinfoJsFormatDateRel(registration) + "</a>";
et + "'>" + UserinfoJsFormatDateRel(registration) + "</a>";
} else {
} else {
statusText += ", registered" + userf + " ago <a href='" + mw.config.get("wgScriptPath") +
statusText += ", account" + userf + " created <a href='" + mw.config.get("wgScriptPath") +
"/index.php?title=Special:ListUsers&amp;limit=1&amp;username=" +
"/index.php?title=Special:ListUsers&amp;limit=1&amp;username=" +
et + "'>" + UserinfoJsFormatDateRel(registration) + "</a>";
et + "'>" + UserinfoJsFormatDateRel(registration) + "</a>";
Line 219: Line 219:
// Compteur du nombre d'éditions.
// Compteur du nombre d'éditions.
if(editcount !== null) {
if(editcount !== null) {
statusText += ", with " +
statusText += " with " +
"<a href=\"https://fr.vikidia.org/wiki/Spécial:Contributions/" +
"<a href=\"https://fr.vikidia.org/wiki/Spécial:Contributions/" +
encodeURIComponent(user.name) + "\">" +
encodeURIComponent(user.name) + "\">" +