User:10nm/beta.js

/*! * -- * * Ultraviolet * The user-friendly Wikipedia counter-vandalism tool. * * (c) The Ultraviolet Development Team and contributors (tools.ultraviolet@toolforge.org / WT:UV) * Licensed under the Apache License 2.0 - read more at https://www.apache.org/licenses/LICENSE-2.0.txt * * -- * * Copyright 2021 The Ultraviolet Development Team and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *    http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * -- * * Ultraviolet is an open source project, and we invite others to develop extensions, * styles, translation, and other expansions for Ultraviolet! If you'd like to learn * more, reach out at https://en.wikipedia.org/wiki/Wikipedia:Ultraviolet/Contact. * * -- * *              ! ATTENTION TO ALL WITH SCRIPT EDITING PERMISSIONS ! * *            Changing this file will affect a large amount of users. *            It is not suggested that you directly change this file *             as there may be unknown implications of doing so. If *            there is an immediate threat posed by the script which *              needs to be settled immediately, please inform the *                  Ultraviolet team after making your changes. * *            This file is automatically generated by webpack when a *             new update is released. If you wish to modify the code, *             it is better to do so by making a pull request to the *           Ultraviolet repository on GitLab, which can be found here: * *              https://gitlab.wikimedia.org/repos/10nm/ultraviolet/ * * -- * Past this point, everything needs to be wrapped in a nowiki tag, or else we * risk "transcluding" templates. * * */ // THIS FILE MUST BE ES5-COMPATIBLE! (function {

/*    * This function automatically loads the appropriate version of Ultraviolet * on Toolforge. For security purposes, it must never be automatically updated * without the authorization of a member of the Ultraviolet team or a verified * deployer. *    * commit hash: c318d5d1ff069766fde10a66e3605677eeabcff6 */

// Enables verbose log output. window.rw_debug = true; var commit = "c318d5d1ff069766fde10a66e3605677eeabcff6"; var entrypoints = {"ultraviolet":{"js":["deps/ultraviolet.dep.material.js","deps/ultraviolet.dep.tsmodules.js","lang/ultraviolet.lang.en-US.js","deps/ultraviolet.dep.i18next.js","deps/ultraviolet.dep.otherdeps.js","ultraviolet.js"]}}; var publicPath = "https://tools-static.wmflabs.org/ultraviolet/builds/" + commit + "/";

if (!!entrypoints && !!entrypoints["ultraviolet"] && !!entrypoints["ultraviolet"]["js"]) { entrypoints["ultraviolet"]["js"].forEach(function (value) {           var scriptUrl = new URL(value, publicPath);            mw.loader.load(scriptUrl.toString);        }); }

});