Skip to content

Commit

Permalink
unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed May 7, 2024
1 parent 0f874ee commit 7b935ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Gadget-script-installer.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@
).then( function ( data ) {
if ( data && data.query && data.query.pages ) {
const result = {};
prefixLength = mw.config.get( 'wgUserName' ).length + 6;
Object.values( data.query.pages ).forEach( function ( moreData ) {
const nameWithoutExtension = new mw.Title( moreData.title ).getNameText();
const targetName = nameWithoutExtension.substring( nameWithoutExtension.indexOf( '/' ) + 1 );
Expand Down

0 comments on commit 7b935ea

Please sign in to comment.