From 52cbe4ffc1e42d6f4433a176f07e7252c4b56bbe Mon Sep 17 00:00:00 2001 From: NovemLinguae Date: Mon, 26 Aug 2024 04:41:02 -0700 Subject: [PATCH] allow StubSorter to load on testwiki --- src/modules/submissions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }