diff options
author | Ori Livneh <ori@wikimedia.org> | 2015-11-30 12:41:43 -0800 |
---|---|---|
committer | Timo Tijhof <krinklemail@gmail.com> | 2016-11-30 20:51:11 -0800 |
commit | a44b9322f0a720edf32f461f546d08831c8cad37 (patch) | |
tree | 801e451505c108a052b4dd76ff33f05d03643392 /includes/api/ApiQuery.php | |
parent | ebc1345990182e6eba6a95a8d2c43dc32ab41ad0 (diff) | |
download | mediawikicore-a44b9322f0a720edf32f461f546d08831c8cad37.tar.gz mediawikicore-a44b9322f0a720edf32f461f546d08831c8cad37.zip |
mediawiki.storage: Provide a wrapper for sessionStorage too
T119146 provides a use-case for using sessionStorage. So far mw.storage
was localStorage-specific. With a small modification, we can allow the
Storage object to passed to the constructor, which allows us to create a
wrapper around sessionStorage (mw.storage.session) with minimal code duplication.
Bug: T121646
Change-Id: I73bc82d9fa2359148fe1e50b6535bfa0dbe8bd3e
Diffstat (limited to 'includes/api/ApiQuery.php')
0 files changed, 0 insertions, 0 deletions