Skip to content

Commit 868a700

Browse files
author
S Page
committed
Fix comment for mw.user.sessionId()
Change-Id: I19ab8b6de9f7bfe4418a6cab863ee97b77905795
1 parent e7651f8 commit 868a700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/mediawiki/mediawiki.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@
124124
};
125125

126126
/**
127-
* Gets a random session ID automatically generated and kept in a cookie.
127+
* Gets a random ID automatically generated and stored in a session cookie.
128128
*
129129
* This ID is ephemeral for everyone, staying in their browser only until they close
130130
* their browser.
131131
*
132-
* @return String: User name or random session ID
132+
* @return String: random session ID
133133
*/
134134
this.sessionId = function () {
135135
var sessionId = $.cookie( 'mediaWiki.user.sessionId' );

0 commit comments

Comments
 (0)