55
επεξεργασίες
(Νέα σελίδα: // STARTFILE: main.js // ********************************************************************** // ** ** // *...) |
(Maintenance: mw:RL/MGU - wgEnableAPI is deprecated) |
||
function autoEdit() {
if (!setupPopups.completed) { setupPopups(); }
if (
if (mw.util.getParamValue('autowatchlist') && mw.util.getParamValue('actoken')===autoClickToken()) {
modifyWatchlist(mw.util.getParamValue('title'), mw.util.getParamValue('action'));
}
pendingNavpopTask(navpop);
if(
/* The API is not available */
htmlGenerator=function(a,d){
// API call to retrieve image info.
if ( !getValueOf('popupImages') ||
if ( !isValidImageName(image) ) return false;
var tz = Cookie.read('popTz');
if (
pendingNavpopTask(navpop);
getPageWithCaching(pg.wiki.apiwikibase + '?format=json&action=query&meta=userinfo&uiprop=options',
case 'raw&ctype=text/css': hint=popupString('rawHint'); break;
case 'revert':
if (
alert( 'This function of navigation popups now requires a MediaWiki ' +
'installation with the API enabled.');
function getHistory(wikipage, onComplete) {
log('getHistory');
if(
alert( 'This function of navigation popups now requires a MediaWiki ' +
'installation with the API enabled.');
|
επεξεργασίες