mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
89417163a9
Image information and repo information are now both stored somewhere else entirely, so we don't need to keep accessing weird API return values to sort things out. fetchImageInfo now uses those classes to an extent, and we now cache thumbnail URLs for different sizes. Change-Id: Ife8293c86683ea914b1a5a60000584b501d92e55
23 lines
867 B
JavaScript
23 lines
867 B
JavaScript
/*
|
|
* This file is part of the MediaWiki extension MultimediaViewer.
|
|
*
|
|
* MultimediaViewer is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* MultimediaViewer is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with MultimediaViewer. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
// This will just set up various objects for the main
|
|
// MultimediaViewer load.
|
|
( function ( mw ) {
|
|
mw.mmv = {};
|
|
}( mediaWiki ) );
|