Fandom Developers Wiki
Advertisement

Welcome[]

Hi SapadorCastelo, welcome to Fandom Developers Wiki! Thanks for your edit to the Talk:FandomizedTabs page.

Please leave a message on my talk page if I can help with anything! DarthKitty (talk) 20:38, April 7, 2019 (UTC)

Cleaner Recent Changes moved[]

Hey there, I've just updated your script, Cleaner Recent Changes, in a couple of ways to be better aligned with the style of other articles of the wiki.

These changes include:

  1. Moving the stylesheet in-page into its own MediaWiki page, to encourage imports over copy-pasting code
  2. Renaming the script to use PascalCase for the title and code pages
  3. Use the CSS Install template rather than custom text for installation

If you have any questions, let me know and I'll be happy to answer them. The original article is currently a redirect, but it will probably soon be deleted. -D 01:36, April 16, 2020 (UTC)

Thank you, Dorumin aka D. This is perfect. —Sapador Castelo 02:01, April 16, 2020 (UTC)

RE: CSS loading without instalation[]

Yes, that is the expected behavior. Script and stylesheet demonstrations are loaded through DemoScripts. -- Cube-shaped garbage can 21:34, September 9, 2020 (UTC)

RE: Move request[]

Done and fixed redlinks. -- Cube-shaped garbage can 21:58, September 10, 2020 (UTC)

RE: Deleted comments and messages[]

You could probably use something like:

var interval = setInterval(function() {
    if ($('#articleComments div[class^="CommentCounter_comment-counter"]').length) {
        clearInterval(interval);
        // run your code
    }
}, 100);

to wait for the comments to load before running your code that modifies them. -- Cube-shaped garbage can 20:56, October 12, 2020 (UTC)

GWnope[]

Makes disappearnce of user avatar on above at mobile.--*Lac*() 21:29, October 12, 2020 (UTC)

@media only screen and (max-width: 768px){
    .wds-global-navigation__dropdown-controls {
        display: flex;
    }
}

Here, I used this and displayed.--*Lac*() 04:13, October 13, 2020 (UTC)

On Topic of Classic Rich-text Editor[]

How hard is it to integrate a Classic Editor recreation, or at least a DevWiki script that makes the VisualEditor on UCP wikis look like Classic Editor? I use Classic Editor a lot and I'm really saddened to see it go. It really helped me.

MrYokaiAndWatch902 (talk) 04:41, October 13, 2020 (UTC)

RE: AjaxBatchDelete vs Special:Badtitle[]

Currently, the easiest way I know of for deleting pages like these is checking the API for page IDs and then running page deletion by ID in your JavaScript console:

function deletePage(id) {
    new mw.Api().post({
        action: 'delete',
        pageid: id,
        reason: 'Inaccessible page.',
        token: mw.user.tokens.get('editToken')
    });
}
// Use as: deletePage(1599) or deletePage(1600)

-- Cube-shaped garbage can 14:42, 26 June 2021 (UTC)

You don't change the function, you change its invocation. Paste the function as it is, and then in the next line run it as deletePage(1599) to delete the page with ID 1599. -- Cube-shaped garbage can 18:02, 26 June 2021 (UTC)

RE: Delete page via ID - 2022[]

Sorry for the late reply. I think editToken needs changing into csrfToken. -- Cube-shaped garbage can 15:14, 29 June 2022 (UTC)

Advertisement