Файловый менеджер - Редактировать - /var/www/html/mediawiki.misc-authed-ooui.zip
Ðазад
PK ! e6O�� � special.revisionDelete.jsnu �Iw�� /*! * JavaScript for Special:RevisionDelete */ ( function () { if ( mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'Revisiondelete' ) { return; } const wpRevDeleteReasonList = OO.ui.infuse( $( '#wpRevDeleteReasonList' ) ), wpReason = OO.ui.infuse( $( '#wpReason' ) ); mw.widgets.visibleCodePointLimitWithDropdown( wpReason, wpRevDeleteReasonList, mw.config.get( 'wgCommentCodePointLimit' ) ); }() ); PK ! -}�5 5 special.changecredentials.jsnu �Iw�� /*! * JavaScript for change credentials form. */ ( function () { mw.hook( 'htmlform.enhance' ).add( ( $root ) => { const api = new mw.Api(); $root.find( '.mw-changecredentials-validate-password.oo-ui-fieldLayout' ).each( function () { const self = OO.ui.FieldLayout.static.infuse( $( this ) ); let currentApiPromise; self.getField().setValidation( ( passwordValue ) => { if ( currentApiPromise ) { currentApiPromise.abort(); currentApiPromise = undefined; } passwordValue = passwordValue.trim(); if ( passwordValue === '' ) { self.setErrors( [] ); return true; } const d = $.Deferred(); currentApiPromise = api.post( { action: 'validatepassword', password: passwordValue, formatversion: 2, errorformat: 'html', errorsuselocal: true, uselang: mw.config.get( 'wgUserLanguage' ) } ).done( ( resp ) => { const pwinfo = resp.validatepassword, good = pwinfo.validity === 'Good'; currentApiPromise = undefined; let errors; if ( !good ) { errors = pwinfo.validitymessages.map( ( m ) => new OO.ui.HtmlSnippet( m.html ) ); } self.setErrors( errors || [] ); d.resolve( good ); } ).fail( d.reject ); return d.promise( { abort: currentApiPromise.abort } ); } ); } ); } ); }() ); PK ! e��t t action.delete.jsnu �Iw�� /*! * JavaScript for action=delete */ ( function () { if ( mw.config.get( 'wgAction' ) !== 'delete' ) { return; } $( () => { const reasonList = OO.ui.infuse( $( '#wpDeleteReasonList' ) ), reason = OO.ui.infuse( $( '#wpReason' ) ); mw.widgets.visibleCodePointLimitWithDropdown( reason, reasonList, mw.config.get( 'wgCommentCodePointLimit' ) ); } ); }() ); PK ! >�`" " special.import.jsnu �Iw�� /*! * JavaScript for Special:Import */ $( () => { if ( mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'Import' ) { return; } let projectDropdownInput, subprojectDropdownInput; function updateImportSubprojectList() { const project = projectDropdownInput.getValue(); subprojectDropdownInput.dropdownWidget.getMenu().getItems().forEach( ( item ) => { item.toggle( item.getData().indexOf( project + '::' ) === 0 ); } ); const firstItem = subprojectDropdownInput.dropdownWidget.menu.findFirstSelectableItem(); subprojectDropdownInput.toggle( !!firstItem ); subprojectDropdownInput.dropdownWidget.menu.selectItem( firstItem ); } const $subprojectInput = $( '#mw-input-subproject' ); if ( $subprojectInput.length ) { projectDropdownInput = OO.ui.infuse( $( '#mw-input-interwiki' ) ); subprojectDropdownInput = OO.ui.infuse( $subprojectInput ); projectDropdownInput.on( 'change', updateImportSubprojectList ); updateImportSubprojectList(); } // HACK: Move namespace selector next to the corresponding input, between other radio inputs. const sources = [ 'upload', 'interwiki' ]; sources.forEach( ( name ) => { // IDs: mw-import-mapping-upload, mw-import-mapping-interwiki const $mappingInput = $( '#mw-import-mapping-' + name ); // IDs: mw-import-namespace-upload, mw-import-namespace-interwiki const $namespaceInput = $( '#mw-import-namespace-' + name ); if ( $mappingInput.length && $namespaceInput.length ) { const mappingWidget = OO.ui.infuse( $mappingInput ); const namespaceWidget = OO.ui.infuse( $namespaceInput ); const $namespaceRadio = mappingWidget.radioSelectWidget.findItemFromData( 'namespace' ).$element; const $namespaceField = namespaceWidget.$element.closest( '.oo-ui-fieldLayout' ); $namespaceRadio.after( $namespaceField ); } } ); } ); PK ! ]4�� � special.movePage.jsnu �Iw�� /*! * JavaScript for Special:MovePage */ ( function () { if ( mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'Movepage' ) { return; } $( () => { const wpReason = OO.ui.infuse( $( '#wpReason' ) ); // Infuse for pretty dropdown OO.ui.infuse( $( '#wpNewTitle' ) ); const wpReasonList = OO.ui.infuse( $( '#wpReasonList' ).closest( '.oo-ui-widget' ) ); mw.widgets.visibleCodePointLimitWithDropdown( wpReason, wpReasonList, mw.config.get( 'wgCommentCodePointLimit' ) ); } ); }() ); PK ! $�6� � special.mute.jsnu �Iw�� ( function () { 'use strict'; $( () => { const $inputs = $( '#mw-specialmute-form input[type="checkbox"]' ), $saveButton = $( '#save' ); function isFormChanged() { return $inputs.is( function () { return this.checked !== this.defaultChecked; } ); } if ( $saveButton.length ) { const saveButton = OO.ui.infuse( $saveButton ); saveButton.setDisabled( !isFormChanged() ); $inputs.on( 'change', () => { saveButton.setDisabled( !isFormChanged() ); } ); } } ); }() ); PK ! ��] ] % special.undelete.loadMoreRevisions.jsnu �Iw�� /*! * JavaScript for Special:Undelete when results exceed REVISION_HISTORY_LIMIT. */ ( function () { 'use strict'; const $linkSpan = $( '#mw-load-more-revisions' ); let $link = $( '<a>' ); $link = $linkSpan.wrapAll( $link ).on( 'click', () => { // Get the URL of the last link in the list const urlString = $( '.mw-undelete-revlist li:last-child a' ).prop( 'href' ); // Extract the timestamp const timestamp = mw.util.getParamValue( 'timestamp', urlString ); const $oldList = $( '.mw-undelete-revlist' ); const $spinner = $.createSpinner( { size: 'large', type: 'block' } ); const path = mw.util.wikiScript() + '?' + $.param( { title: mw.config.get( 'wgPageName' ), target: mw.config.get( 'wgRelevantPageName' ) } ); $oldList.after( $spinner ); $.ajax( { type: 'GET', url: path, dataType: 'html', data: { historyoffset: timestamp, action: 'render' }, success: function ( data, status, jqXHR ) { $spinner.remove(); const $newDoc = $.parseHTML( data ); if ( !$newDoc.length ) { return; } const $newList = $( $newDoc[ 0 ] ); $oldList.append( $newList.children() ); if ( jqXHR.status !== 206 ) { $link.hide(); } }, error: function ( data, textStatus, errorMessage ) { $spinner.remove(); $link.show(); mw.log.error( errorMessage ); } } ); } ); }() ); PK ! ƾ�q q special.pageLanguage.jsnu �Iw�� /*! * JavaScript module used on Special:PageLanguage */ ( function () { $( () => { // Select the 'Language select' option if user is trying to select language if ( $( '#mw-pl-languageselector' ).length ) { OO.ui.infuse( $( '#mw-pl-languageselector' ) ).on( 'change', () => { OO.ui.infuse( $( '#mw-pl-options' ) ).setValue( '2' ); } ); } } ); }() ); PK ! ��WTa a special.undelete.jsnu �Iw�� /*! * JavaScript for Special:Undelete */ ( function () { if ( mw.config.get( 'wgCanonicalSpecialPageName' ) !== 'Undelete' ) { return; } $( () => { const $widget = $( '#wpComment' ).closest( '.oo-ui-widget' ); if ( !$widget.length ) { // If the user has permission to see only the deleted // revisions but not restore or the page is not currently // deleted there'd be no comment field and no checkboxes. return; } const wpComment = OO.ui.infuse( $widget ); const wpCommentList = OO.ui.infuse( $( '#wpCommentList' ).closest( '.oo-ui-widget' ) ); $( '#mw-undelete-invert' ).on( 'click', () => { $( '.mw-undelete-revlist input[type="checkbox"]' ).prop( 'checked', ( i, val ) => !val ); } ); mw.widgets.visibleCodePointLimitWithDropdown( wpComment, wpCommentList, mw.config.get( 'wgCommentCodePointLimit' ) ); } ); }() ); PK ! e6O�� � special.revisionDelete.jsnu �Iw�� PK ! -}�5 5 � special.changecredentials.jsnu �Iw�� PK ! e��t t i action.delete.jsnu �Iw�� PK ! >�`" " special.import.jsnu �Iw�� PK ! ]4�� � � special.movePage.jsnu �Iw�� PK ! $�6� � � special.mute.jsnu �Iw�� PK ! ��] ] % � special.undelete.loadMoreRevisions.jsnu �Iw�� PK ! ƾ�q q � special.pageLanguage.jsnu �Iw�� PK ! ��WTa a ^ special.undelete.jsnu �Iw�� PK
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка