<?php
/*
QuickResponse Extension for MediaWiki.

@license MIT License
*/

$wgExtensionCredits[ 'other' ][] = array(
    'path' => __FILE__,
    'name' => 'QuickResponse',
    'version' => '0.3.0',
    'url' => '',
    'author' => 'Konarak Ratnakar',
    'descriptionmsg' => 'quickresponse-desc'
);

$wgMessagesDirs['QuickResponse'] = __DIR__ . '/i18n';

$wgResourceModules[ 'QuickResponse' ] = array(
    'scripts' => array('resources/qrcode.js',
                       'resources/jquery.qrcode.js',
                       'resources/quickresponse.js'
                       ),
    'dependencies' =>  'jquery.ui.dialog',
    'messages' => array('quickresponse-desc',
                        'quickresponse-text',
                        'quickresponse-title',
                        'quickresponse-tooltip'
                        ),
    'localBasePath' => __DIR__,
    'remoteExtPath' => 'QuickResponse',
);

$wgHooks[ 'BeforePageDisplay' ][] = function ( $out ) {
    $out->addModules( 'QuickResponse' );
    return true;
};

<?php
/*
QuickResponse Extension for MediaWiki.

@license MIT License
*/

$wgExtensionCredits[ 'other' ][] = array(
    'path' => __FILE__,
    'name' => 'QuickResponse',
    'version' => '0.3.0',
    'url' => '',
    'author' => 'Konarak Ratnakar',
    'descriptionmsg' => 'quickresponse-desc'
);

$wgMessagesDirs['QuickResponse'] = __DIR__ . '/i18n';

$wgResourceModules[ 'QuickResponse' ] = array(
    'scripts' => array('resources/qrcode.js',
                       'resources/jquery.qrcode.js',
                       'resources/quickresponse.js'
                       ),
    'dependencies' =>  'jquery.ui',
    'messages' => array('quickresponse-desc',
                        'quickresponse-text',
                        'quickresponse-title',
                        'quickresponse-tooltip'
                        ),
    'localBasePath' => __DIR__,
    'remoteExtPath' => 'QuickResponse',
);

$wgHooks[ 'BeforePageDisplay' ][] = function ( $out ) {
    $out->addModules( 'QuickResponse' );
    return true;
};

Move dependencies from removed 'jquery.ui.…' modules to 'jquery.ui'
Move dependencies from removed 'jquery.ui.…' modules to 'jquery.ui'

This increases the extension's MediaWiki dependency to version 1.34.

Bug: T219604
Change-Id: Ic0bbb86ec93fff32731d84a7919f4951a9111d5f
