}
// Set up the help system
- $( '.mw-help-field-data' )
+ $( '.config-help-field-data' )
.hide()
- .closest( '.mw-help-field-container' )
- .find( '.mw-help-field-hint' )
+ .closest( '.config-help-field-container' )
+ .find( '.config-help-field-hint' )
.show()
.click( function () {
$( this )
- .closest( '.mw-help-field-container' )
- .find( '.mw-help-field-data' )
+ .closest( '.config-help-field-container' )
+ .find( '.config-help-field-data' )
.slideToggle( 'fast' );
} );
$( '#config_wgSitename' ).on( 'keyup change', syncText ).each( syncText );
// Show/Hide memcached servers when needed
- $( 'input[name$="config_wgMainCacheType"]' ).change( function () {
+ $( 'input[name$="config__MainCacheType"]' ).change( function () {
var $memc = $( '#config-memcachewrapper' );
- if ( $( 'input[name$="config_wgMainCacheType"]:checked' ).val() === 'memcached' ) {
+ if ( $( 'input[name$="config__MainCacheType"]:checked' ).val() === 'memcached' ) {
$memc.show( 'slow' );
} else {
$memc.hide( 'slow' );