Anonymous
Not logged in
Create account
Log in
Search
MediaWiki:Common.js: Difference between revisions
From Melvor Idle
Namespaces
Message
Discussion
More
More
Page actions
Read
View source
History
← Older edit
Newer edit →
MediaWiki:Common.js
(view source)
Revision as of 09:56, 6 November 2023
64 bytes removed
,
6 November 2023
no edit summary
Revision as of 09:55, 6 November 2023
(
view source
)
Malcs
(
talk
|
contribs
)
No edit summary
← Older edit
Revision as of 09:56, 6 November 2023
(
view source
)
Malcs
(
talk
|
contribs
)
No edit summary
Newer edit →
Line 837:
Line 837:
function isUserLoggedIn() {
function isUserLoggedIn() {
mw.loader.using('mediawiki.util').then(function () {
if (mw.config.get('wgUserName') === null) {
if (mw.config.get('wgUserName') === null) {
return false;
return false;
} else {
} else {
return true;
return true;
}
}
});
}
}
Malcs
Bureaucrats
,
Interface administrators
,
Administrators
5,798
edits
Navigation
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Contributing
Contribute to this wiki
Maintenance
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
Printable version