X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=resources%2Flib%2Foojs-ui%2Foojs-ui-windows.js;h=268bd570dc143ba93bf3829f0713219b1e11cef1;hb=372a40b7edf9db0d53961d4f2078b53de01f67b3;hp=3d579d57c37fab0aefc2bb009d1762b5c4fe206a;hpb=3c0dac36eb60dfc6b34770d90af675bad5f18c0b;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index 3d579d57c3..268bd570dc 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.25.0 - * https://www.mediawiki.org/wiki/OOjs_UI + * OOUI v0.25.3 + * https://www.mediawiki.org/wiki/OOUI * - * Copyright 2011–2018 OOjs UI Team and other contributors. + * Copyright 2011–2018 OOUI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2018-01-10T00:26:02Z + * Date: 2018-03-07T06:52:35Z */ ( function ( OO ) { @@ -18,10 +18,10 @@ * of the actions. * * Both actions and action sets are primarily used with {@link OO.ui.Dialog Dialogs}. - * Please see the [OOjs UI documentation on MediaWiki] [1] for more information + * Please see the [OOUI documentation on MediaWiki] [1] for more information * and examples. * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs#Action_sets + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs#Action_sets * * @class * @extends OO.ui.ButtonWidget @@ -105,7 +105,7 @@ OO.ui.ActionWidget.prototype.getModes = function () { * - Special: Special actions are the first visible actions with special flags, such as 'safe' and 'primary', the default special flags. Additional special flags can be configured in subclasses with the static #specialFlags property. * - Other: Other actions include all non-special visible actions. * - * Please see the [OOjs UI documentation on MediaWiki][1] for more information. + * See the [OOUI documentation on MediaWiki][1] for more information. * * @example * // Example: An action set used in a process dialog @@ -166,7 +166,7 @@ OO.ui.ActionWidget.prototype.getModes = function () { * windowManager.addWindows( [ dialog ] ); * windowManager.openWindow( dialog ); * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs#Action_sets + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs#Action_sets * * @abstract * @class @@ -207,9 +207,9 @@ OO.mixinClass( OO.ui.ActionSet, OO.EventEmitter ); /** * Symbolic name of the flags used to identify special actions. Special actions are displayed in the * header of a {@link OO.ui.ProcessDialog process dialog}. - * See the [OOjs UI documentation on MediaWiki][2] for more information and examples. + * See the [OOUI documentation on MediaWiki][2] for more information and examples. * - * [2]:https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs + * [2]:https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs * * @abstract * @static @@ -605,9 +605,9 @@ OO.ui.ActionSet.prototype.organize = function () { * If the error is a warning, the error interface will include a 'Dismiss' and a 'Continue' button, which will try the * process again. * - * For an example of error interfaces, please see the [OOjs UI documentation on MediaWiki][1]. + * For an example of error interfaces, please see the [OOUI documentation on MediaWiki][1]. * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs#Processes_and_errors + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs#Processes_and_errors * * @class * @@ -858,9 +858,9 @@ OO.ui.Process.prototype.next = function ( step, context ) { * While OO.ui.WindowManager will reuse OO.ui.Window objects, each time a window is * opened, a new lifecycle starts. * - * For more information, please see the [OOjs UI documentation on MediaWiki] [1]. + * For more information, please see the [OOUI documentation on MediaWiki] [1]. * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows * * @class * @@ -989,9 +989,9 @@ OO.ui.WindowInstance.prototype.isClosed = function () { * - a `teardown` progress notification is emitted from the `closing` promise * - the `closing` promise is resolved. The window is now closed * - * See the [OOjs UI documentation on MediaWiki][1] for more information. + * See the [OOUI documentation on MediaWiki][1] for more information. * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Window_managers + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Window_managers * * @class * @extends OO.ui.Element @@ -1239,9 +1239,9 @@ OO.ui.WindowManager.prototype.getTeardownDelay = function () { * Get a window by its symbolic name. * * If the window is not yet instantiated and its symbolic name is recognized by a factory, it will be - * instantiated and added to the window manager automatically. Please see the [OOjs UI documentation on MediaWiki][3] + * instantiated and added to the window manager automatically. Please see the [OOUI documentation on MediaWiki][3] * for more information about using factories. - * [3]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Window_managers + * [3]: https://www.mediawiki.org/wiki/OOUI/Windows/Window_managers * * @param {string} name Symbolic name of the window * @return {jQuery.Promise} Promise resolved with matching window, or rejected with an OO.ui.Error @@ -1493,8 +1493,8 @@ OO.ui.WindowManager.prototype.closeWindow = function ( win, data ) { * Add windows to the window manager. * * Windows can be added by reference, symbolic name, or explicitly defined symbolic names. - * See the [OOjs ui documentation on MediaWiki] [2] for examples. - * [2]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Window_managers + * See the [OOUI documentation on MediaWiki] [2] for examples. + * [2]: https://www.mediawiki.org/wiki/OOUI/Windows/Window_managers * * This function can be called in two manners: * @@ -1772,9 +1772,9 @@ OO.ui.WindowManager.prototype.destroy = function () { * methods. Note that each {@link OO.ui.Process process} is executed in series, so asynchronous * processing can complete. Always assume window processes are executed asynchronously. * - * For more information, please see the [OOjs UI documentation on MediaWiki] [1]. + * For more information, please see the [OOUI documentation on MediaWiki] [1]. * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows * * @abstract * @class @@ -1803,7 +1803,7 @@ OO.ui.Window = function OoUiWindow( config ) { /** * Overlay element to use for the `$overlay` configuration option of widgets that support it. * Things put inside of it are overlaid on top of the window and are not bound to its dimensions. - * See . + * See . * * MyDialog.prototype.initialize = function () { * ... @@ -2431,7 +2431,7 @@ OO.ui.Window.prototype.teardown = function ( data ) { * Unless extended to include controls, the rendered dialog box is a simple window * that users can close by hitting the ‘Esc’ key. Dialog windows are used with OO.ui.WindowManager, * which opens, closes, and controls the presentation of the window. See the - * [OOjs UI documentation on MediaWiki] [1] for more information. + * [OOUI documentation on MediaWiki] [1] for more information. * * @example * // A simple dialog window. @@ -2459,7 +2459,7 @@ OO.ui.Window.prototype.teardown = function ( data ) { * // Open the window! * windowManager.openWindow( myDialog ); * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Dialogs + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Dialogs * * @abstract * @class @@ -2505,9 +2505,9 @@ OO.mixinClass( OO.ui.Dialog, OO.ui.mixin.PendingElement ); * Symbolic name of dialog. * * The dialog class must have a symbolic name in order to be registered with OO.Factory. - * Please see the [OOjs UI documentation on MediaWiki] [3] for more information. + * Please see the [OOUI documentation on MediaWiki] [3] for more information. * - * [3]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Window_managers + * [3]: https://www.mediawiki.org/wiki/OOUI/Windows/Window_managers * * @abstract * @static @@ -2536,7 +2536,7 @@ OO.ui.Dialog.static.title = ''; * Actions can also be specified with data passed to the constructor (see #getSetupProcess). In this case, the static * value will be overridden. * - * [2]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs#Action_sets + * [2]: https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs#Action_sets * * @static * @inheritable @@ -2760,7 +2760,7 @@ OO.ui.Dialog.prototype.executeAction = function ( action ) { * action (e.g., ‘ok’) and ‘reject,’ the safe action (e.g., ‘cancel’). Both will close the window, * passing along the selected action. * - * For more information and examples, please see the [OOjs UI documentation on MediaWiki][1]. + * For more information and examples, please see the [OOUI documentation on MediaWiki][1]. * * @example * // Example: Creating and opening a message dialog window. @@ -2776,7 +2776,7 @@ OO.ui.Dialog.prototype.executeAction = function ( action ) { * message: 'This is the message' * } ); * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Message_Dialogs + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Message_Dialogs * * @class * @extends OO.ui.Dialog @@ -3110,7 +3110,7 @@ OO.ui.MessageDialog.prototype.fitActions = function () { * a ‘primary’ action on the right (e.g., ‘Done’). * * Like other windows, the process dialog is managed by a {@link OO.ui.WindowManager window manager}. - * Please see the [OOjs UI documentation on MediaWiki][1] for more information and examples. + * Please see the [OOUI documentation on MediaWiki][1] for more information and examples. * * @example * // Example: Creating and opening a process dialog window. @@ -3149,7 +3149,7 @@ OO.ui.MessageDialog.prototype.fitActions = function () { * windowManager.addWindows( [ dialog ] ); * windowManager.openWindow( dialog ); * - * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Windows/Process_Dialogs + * [1]: https://www.mediawiki.org/wiki/OOUI/Windows/Process_Dialogs * * @abstract * @class