ElEditors, Interface administrators, Administrators
70,888
edits
No edit summary Tags: Mobile edit Mobile web edit |
No edit summary Tags: Mobile edit Mobile web edit |
||
Line 17: | Line 17: | ||
classes.push($(this).attr('title').replace('/', '')); | classes.push($(this).attr('title').replace('/', '')); | ||
}); | }); | ||
$('#sidebar-content').remove(); | |||
for (let classx of classes) { | |||
var apix = api.parse( | |||
'[[File: Face - ' + classx + '.png]]', { contentmodel: 'wikitext', wrapoutputclass: '', disablelimitreport: true }); | |||
apix.then(function (text) { | |||
maps[classx] = text.match(/\/wiki(.*?)\.png/g)[0]; | |||
}); | |||
} | |||
console.log(maps); | |||
}); | }); | ||
Line 29: | Line 38: | ||
}); | }); | ||
} | } | ||
var face_coords = function (path_no, job_no) { | var face_coords = function (path_no, job_no) { |