Harry Potter Wiki
Advertisement
Harry Potter Wiki

What is this?[]

What is this? --Bongo2009 Gryffindor Talk 17:16, 11 August 2009 (UTC)

Minor modifications[]

↓↓↓ Yes check Done by User:Rappy 4187--Sammm✦✧(talk) 21:08, February 21, 2019 (UTC)

Figured I probably should have posted this in this talk page for any Admins/B-crats to see, instead of populating a specific Admin's talk page lol. (Sorry Ironyak1! xD)

Since there's now at least two imported scripts, (that I was able to quickly see, in any case) this part:

// AjaxRC
window.ajaxPages = ["Special:WikiActivity","Special:Log","Special:RecentChanges"];
window.ajaxIndicator = 'https://images.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif';
window.AjaxRCRefreshText = 'Auto Refresh';
window.AjaxRCRefreshHoverText = 'Silently refreshes the contents of this page every 60 seconds without requiring a full reload';
 
importScriptPage("MediaWiki:AjaxRC/code.js", "dev");
 
/**** UploadInFile ****/
window.needsLicense = true;
ImportArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:UploadInPage/code.js',
    ]
});

is, to my knowledge, advised to be formed as below:

// AjaxRC
window.ajaxPages = ["Special:WikiActivity","Special:Log","Special:RecentChanges"];
window.ajaxIndicator = 'https://images.wikia.nocookie.net/__cb20100609110347/software/images/a/a9/Indicator.gif';
window.AjaxRCRefreshText = 'Auto Refresh';
window.AjaxRCRefreshHoverText = 'Silently refreshes the contents of this page every 60 seconds without requiring a full reload';

// UploadInFile
window.needsLicense = true;

ImportArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:AjaxRC/code.js',
        'u:dev:MediaWiki:UploadInPage/code.js',
    ]
});

Reason as explained in w:c:dev:Installation#JavaScript imports on Fandom. --Sammm✦✧(talk) 18:30, February 20, 2019 (UTC)

Advertisement