web-wiki/resources/mediawiki/mediawiki.user.js
/**
		 * Generates a random user session ID (32 alpha-numeric characters).
		 *
		 * This information would potentially be stored in a cookie to identify a user during a
		 * session or series of sessions. It's uniqueness should not be depended on.
		 *
		 * @return String: Random set of 32 alpha-numeric characters
		 */
Generates a random user session ID (32 alpha-numeric characters).

This information would potentially be stored in a cookie to identify a user during a
session or series of sessions. It's uniqueness should not be depended on.

@return String: Random set of 32 alpha-numeric characters
Generates a random user session ID ( 32 alpha - numeric characters ) . This information would potentially be stored in a cookie to identify a user during a session or series of sessions . It ' s uniqueness should not be depended on . @return String : Random set of 32 alpha - numeric characters
function generateId() {
			var id = '';
			var seed = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
			for ( var i = 0, r; i < 32; i++ ) {
				r = Math.floor( Math.random() * seed.length );
				id += seed.substring( r, r + 1 );
			}
			return id;
		}
function generateId ( ) { var id = '' ; var seed = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' ; for ( var i = 0 , r ; i < 32 ; i ++ ) { r = Math . floor ( Math . random ( ) * seed . length ) ; id += seed . substring ( r , r + 1 ) ; } return id ; }
Generates a random user session ID (32 alpha-numeric characters).
Generates a random user session ID ( 32 alpha - numeric characters ) .