「MediaWiki:Mobile.js」の版間の差分

編集の要約なし
編集の要約なし
タグ: モバイル編集 モバイルウェブ編集
編集の要約なし
タグ: モバイル編集 モバイルウェブ編集
1行目: 1行目:
(function () {
    mw.loader
        .using("mobile.startup")
        .then(function () {
            var startup = mw.mobileFrontend.require("mobile.startup");
            if (startup.mediaViewer) {
                console.info("'mediaViewer.overlay' polyfill is no longer needed.");
                return;
            }
            startup.mediaViewer = {
                overlay: function (options) {
                    return mw.loader
                        .using("mobile.mediaViewer")
                        .then(function () {
                            var overlay = mw.mobileFrontend.require("mobile.mediaViewer/ImageOverlay");
                            startup.mediaViewer.overlay = overlay;
                            return overlay(options);
                        });
                }
            };
        });
})();
(function () {
(function () {
     var disableMobileUI = false
     var disableMobileUI = false