Content deleted Content added
PleaseStand (talk | contribs) remove deprecated "es5-shim" dependency |
PleaseStand (talk | contribs) Undid revision 1225074654 by PleaseStand (talk) - "named" group was removed in git:mediawiki/core/+/93e8350d295203ac |
||
(6 intermediate revisions by the same user not shown) | |||
Line 19:
'ps-userinfo-gendersymbol-female': '♀',
'ps-userinfo-gendersymbol-unknown': '',
'ps-userinfo-itemseparator': '
'ps-userinfo-groupseparator': '$1,
'ps-userinfo-seconds': '$1 {{PLURAL:$1|second|seconds}}',
Line 68:
groups: user.groups || [],
editCount: 'editcount' in user ? user.editcount : null,
registration: user.registration ? new Date( user.registration ) : null,
isBlocked: 'blockexpiry' in user,
gender: user.gender || 'unknown',
Line 82:
function displayInfo( info ) {
var userPrefix = mw.config.get( 'wgFormattedNamespaces' )[2] + ':',
hostParts = ___location.hostname.split( '.' ),▼
items = [],
groups = [],
Line 111 ⟶ 110:
} );
if ( groups.length ) {
items.push( groups.join( mw.message( 'ps-userinfo-groupseparator', '', '' ).
} else {
items.push( mw.message( 'ps-userinfo-user', info.gender ).escaped() );
Line 126 ⟶ 125:
if ( info.editCount !== null ) {
items.push( h.element( 'a', { href:
'https://
}, mw.message( 'ps-userinfo-editcount', info.editCount ).text() ) );
}
Line 155 ⟶ 153:
// Replace the subtitle with the rest of the info
$( '#siteSub' ).html( items.join( mw.message( 'ps-userinfo-itemseparator', '', '' ).
}
|