geoclient: Update localStorage comment
Follows-up 4cd1def.
localStorage is available by all supported browsers as of MediaWiki 1.25.
As of MediaWiki 1.27, this is also enforced by an explicit feature test
in startup.js.
Change-Id: I12b577919579f498e294376f748715b868f21869
This commit is contained in:
@@ -29,10 +29,9 @@
|
||||
return;
|
||||
}
|
||||
|
||||
// Using cache for speed and to be nice for the service. Using cookies over
|
||||
// localstorage because cookies support automatic expiring and are supported
|
||||
// everywhere where as localstorage might not. This cookie is not currently
|
||||
// read server side.
|
||||
// Using cache for speed and to reduce load on the third-party service.
|
||||
// Using cookies over localStorage because cookies support automatic expiring.
|
||||
// This cookie is not currently read server-side.
|
||||
geo = mw.cookie.get( 'ULSGeo' );
|
||||
if ( geo ) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user