Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -328,6 +328,10 @@ |
329 | 329 | * Gets the current user's name or a random session ID automatically generated and kept in |
330 | 330 | * a cookie. |
331 | 331 | * |
| 332 | + * Do not use this method before the first call to mediaWiki.loader.go(), it depends on |
| 333 | + * jquery.cookie, which is added to the first payload just after mediaWiki is defined, but |
| 334 | + * won't be loaded until the first call to go(). |
| 335 | + * |
332 | 336 | * @return string user name or random session ID |
333 | 337 | */ |
334 | 338 | this.sessionId = function () { |