We are currently performing an upgrade to our software. This upgrade will bring MediaWiki from version 1.31 to 1.33. While the upgrade is being performed on your wiki it will be in read-only mode. For more information check here.

User talk:DarkShadowTNT

From Minecraft Wiki
Jump to: navigation, search

Dead blog links[edit]

Hi, I noticed you were seeing a bunch of blog links not working anymore. For instance:

It just hit me, I've seen that before; when they redid their blog, they changed the paths of all the entries. You just remove the 'day' directory, for instance:

I dunno if that changes things, but I thought I'd let you know! Cheers, – Sealbudsman talk/contr 19:29, 26 April 2016 (UTC)

Removing the day works indeed... Never noticed it until now. And yes, it does changes things, like using less bytes per page ;). Thanks for letting me know! --DarkShadowTNT NL Admin (tc) 19:48, 26 April 2016 (UTC)

Interwiki[edit]

I see that you frequently update interwiki links. This operation can be much simplified by using bot. You can use Pywikibot, AWB, or any other bot software. You'll just have to run a command and links on all wikis will be updated. But you need to create another account for it (DarkShadowBot, DarkBot, ShadowBot, TNTBot?). --dand0 (talk) 17:19, 7 May 2016 (UTC)

I'm currently having a look into AWB, mainly because I can't code... Is, by the way, AWB able to add interikis to multiple Wikis at once? --DarkShadowTNT NL Admin (tc) 18:04, 7 May 2016 (UTC)
I'm not sure if AWB is able to update interwiki now. :/ And you don't need to have coding skills to use command line bots. :P --dand0 (talk) 18:13, 7 May 2016 (UTC)
Well... I've set up my (future) bot account (BrightShadowBOT) and I decided to go with Pywikibot. I think the only things that are left to do is doing a test and asking for a bot flag for BrightShadowBOT, or am I overseeing some things? --DarkShadowTNT NL Admin (tc) 12:03, 8 May 2016 (UTC)
Yea, simulate interwiki update on some article (-simulate) and if everything is OK ask for the flag. And why is it not a Bot but a BOT? --dand0 (talk) 13:35, 8 May 2016 (UTC)
Because 'TNT' in my username is in caps... That's why 'bot' is in caps (maybe a little bit farfetched). --DarkShadowTNT NL Admin (tc) 17:07, 8 May 2016 (UTC)
I’m sorry if I enter the discussion unasked, but Pywikibot’s interwiki script has a problem regarding disambiguations. That is, you have to change the line 1401 (or what is it) in scripts/interwiki.py from
(skip, alternativePage) = self.disambigMismatch(page, counter)
to
skip = False #(skip, alternativePage) = self.disambigMismatch(page, counter)
This will not let the bot attempt to use methods from Extension:Disambiguator (or whatever expected extension), which is not installed here. — NickTheRed37 (issues’ wall) 17:33, 8 May 2016 (UTC)
Thanks NickTheRed37, but I'm currently having issues with an 404. It's saying that it received a non-JSON response and that the server might be down.
WARNING: Http response status 404 
WARNING: Non-JSON response received from server minecraft:nl; the server may be down.
WARNING: Waiting 5 seconds before retrying.
Am I using the wrong family name here? Or is it something else that I screwed up? --DarkShadowTNT NL Admin (tc) 17:55, 8 May 2016 (UTC)
user-config.py and minecraft_family.py content, please. Be sure that mylang is set to nl and bot nick is correct. Also check that in both config and family files URL is set to minecraft-nl.gamepedia.com. --dand0 (talk) 16:40, 9 May 2016 (UTC)

┌──────────────────────────┘
As requested:

I hope you can do something with them... --DarkShadowTNT NL Admin (tc) 16:46, 9 May 2016 (UTC)

Not sure what causes the problem. My configs were generated back in 2014 and they're a little bit diffrent:

Try regenerating files. --dand0 (talk) 15:49, 10 May 2016 (UTC)

If I'm right, you've generated them using the interactive way (if you know what I mean). I've made them myself, without using that way. That might be the problem... (when I'm finished with dinner and homework, I'll try to regenerate those files) --DarkShadowTNT NL Admin (tc) 16:14, 10 May 2016 (UTC)
Well... Trying to regenerate the files was a failure. Currently having a nice WindowsError which states I'm using Windows 1 while I'm clearly using Windows 10. Posted about that issue on the talk page of Pywikibot, maybe they know a solution for this annoying issue... haha =( --DarkShadowTNT NL Admin (tc) 19:02, 10 May 2016 (UTC)
I had an error when trying to regenerate files too, so I used old files. Try using older versions or compat branch. Or downgrade to Windows 9. --dand0 (talk) 15:01, 11 May 2016 (UTC)
According to someone on the talk page of pywikibot I should report this as a bug. I did that, so hopefully a fix is on it's way, if the bug gets approved. --DarkShadowTNT NL Admin (tc) last edit: 17:58, 11 May 2016 (UTC) EDIT: Thanks to amazing help on Phabricator from valhallasw, the generate_user_files.py now works as intended. Hopefully this continues to work...
Well... The bot is currently logged in on the Dutch Minecraft Wiki. I hope I'm able to run tomorrow a test with the bot using interwiki.py. --DarkShadowTNT NL Admin (tc) 19:19, 11 May 2016 (UTC)
Good news: The bot runs. The bad news: It doesn't want to save a page when I run, for example, interwiki.py_Alpha 1.0.1 (or pwb.py interwiki.py Alpha_1.0.1 or pwb.py interwiki Alpha_1.0.1). I got exactly the same output every time, except the command I used is different (see commands between brackets from the previous sentence). Note: [PRIVATE] in this table stands for the user I saved pywikibot to, but contain private details (my name to be exactly).
Is this once again a bug? Or does my bot needs bot rights on all the Minecraft Wikis? --DarkShadowTNT NL Admin (tc) 18:13, 12 May 2016 (UTC)