Content deleted Content added
Polygnotus (talk | contribs) ←Created page with '// Wikipedia QuickSurveys Tracker for common.js // Fetches active surveys and posts them to your userpage (function() { 'use strict'; // Configuration const QUICKSURVEYS_URL = 'https://en.wikipedia.org/w/load.php?modules=ext.quicksurveys.lib&debug=true'; const MEDIAWICK_BASE_URL = 'https://en.wikipedia.org/wiki/MediaWiki:'; // Function to extract survey data from the loaded module function extractSurveyData(moduleText) {...' |
Polygnotus (talk | contribs) No edit summary |
||
Line 188:
if (username && currentPage === `User:${username}`) {
//
if ($('#update-quicksurveys').length === 0) {
const $link = $('<span style="font-size: 0.8em; margin-left: 1em;">').html(▼
▲ const $link = $('<span style="font-size: 0.8em; margin-left: 1em;">').html(
);▼
'[<a href="#" id="update-quicksurveys">Update QuickSurveys</a>]'
$('#
fetchAndProcessSurveys();
▲ });
}
});
|