diff --git a/src/modules/submissions.js b/src/modules/submissions.js index 0e9d5b9a..73d152a0 100644 --- a/src/modules/submissions.js +++ b/src/modules/submissions.js @@ -1600,7 +1600,7 @@ const isClassStub = $( this ).val() === 'Stub'; $afch.find( '#stubSorterWrapper' ).toggleClass( 'hidden', !isClassStub ); if ( isClassStub ) { - if ( mw.config.get( 'wgDBname' ) !== 'enwiki' ) { + if ( mw.config.get( 'wgDBname' ) !== 'enwiki' && mw.config.get( 'wgDBname' ) !== 'testwiki' ) { console.warn( 'no stub sorting script available for this language wiki' ); return; }