user talk:KnightMiner/Archive 3

From Minecraft Wiki
Jump to: navigation, search

This page is an archive of past discussions. Do not edit the contents of this page.
If you wish to start a new discussion or revive an old one, please do so on the current talk page.


I hearby award this
to the user

Thanks for your edits to Minecraft Wiki!

–Preceding unsigned comment was added by LauraFi (talkcontribs) at 13:54, 05 January 2015 (UTC). Please sign your posts with ~~~~

I would award you, KnightMiner, the same badge, but I'm worried of code overcrowding. Thanks for your contributions anyway! --Naista2002, now NickTheRed37 (talk) 14:10, 5 January 2015 (UTC)

Thanks! KnightMiner 14:26, 5 January 2015 (UTC)

Template:Regex replace

Lua doesn't have regex. It has patterns, which are similar to regex, but rather limited. At the very least, that template shouldn't claim to allow regex replacing when it doesn't. But also, it isn't necessary to try to use lua's patterns as a subsitute to regex as we have {{#dplreplace}}, which does use regex. MajrTalk
10:22, 11 January 2015 (UTC)

I would have loved to know about that parser earlier... Well, I replaced usages of the template with dplreplace, so rather than correct the title it could simply be deleted. KnightMiner 20:02, 11 January 2015 (UTC)
Is that accurate? ('[(foo)(bar)]') 22:27, 1 June 2015 (UTC)
What do you mean? dplreplace exists, and lua's patterns are the same as full regex (see mw:Extension:Scribunto/Lua reference manual#Patterns) KnightMiner 00:55, 2 June 2015 (UTC)

Use "Show preview"

You should really use "Show preview" when making major changes to articles. KnightMiner 20:11, 17 January 2015 (UTC)

Console version renewable resources

I was working on that, and then you came along and did a better job of it! One thing I wonder though, did they add chests in Nether Fortresses along with all the other 1.6 stuff they added? If so, then diamonds are renewable... Anomie x (talk) 20:23, 17 January 2015 (UTC)

Sorry if I took your edit, but thanks about the better job part.
As for the chests, I do not know either, the version history was claiming most features from 1.6, but neither page makes mention of addition of loot chests, so I left a message here, hoping someone who plays the console edition would know. KnightMiner 20:27, 17 January 2015 (UTC)
I just saw that, and decided to call a friend of mine who has the console version. He says the fortresses do have chests now. Anomie x (talk) 20:31, 17 January 2015 (UTC)

Snow and Ice are not renewable in pocket edition.

Snow and ice can be found in cold taiga and ice plans biomes in pocket edition, but they do not reform. However, I thought they only form when snow falls on a block. 00:07, 3 February 2015 (UTC)

Yep, I saw the reply on your talk page, and corrected the renewable resource page appropriately. KnightMiner 00:09, 3 February 2015 (UTC)

How to make that Pywikibot script return pages in all namespaces? I’ve tried to get a list of pages, but they all are in article space. -ns:namespaces doesn’t work. — Yours, Agent Nick the Red37 (t · c) f.k.a. Naista2002 15:44, 6 February 2015 (UTC)

I really have never used the script, but from my quick tests, the namespaces work for me. The default format is "<number> <title>", causing the namespaces not to display. If you want them to display, try the parameter -format:"{num:4d} {page.loc_title}" KnightMiner 16:11, 6 February 2015 (UTC)
Even then, the namespaces don’t work. Given that my bot’s default wiki is Russian Minecraft Wiki, using python listpages -titleregex:"Эндермен" -format:"[[{page.loc_title}]]" should output, among probable others, Участница:Mashabely100500/Эндермен, but I get no output. P. S. Sorry for late post, I was on a forum and forgot about this problem. :) — Yours, Agent Nick the Red37 (t · c) f.k.a. Naista2002 18:30, 6 February 2015 (UTC)
That actually seems to be caused by the -titleregex parameter, it only seems to pull pages from the main namespace. KnightMiner 18:57, 6 February 2015 (UTC)
How to fix that? — Yours, Agent Nick the Red37 (t · c) f.k.a. Naista2002 19:01, 6 February 2015 (UTC)
In this case, it seems to be a limitation of the program/MediaWiki, see here. A work around was added in a patch recently (see here) - simply add the namespace parameter first. (you may need to update) KnightMiner 19:26, 6 February 2015 (UTC)

Ore editing

You are right that my edit is kind of tutorial. You could create a loaded page. 22:52, 7 February 2015 (UTC)

In this case, similar information is already on Tutorials/Mining techniques#Choosing level to mine. The ore page should only state the levels the ores are found, not which level is the best to mine. KnightMiner 23:12, 7 February 2015 (UTC)

Re: User talk:KnightMiner/Sandbox

User:NickTheRed37/Templates/NickTalkSandbox — Yours, Agent Nick the Red37 (t · c) f.k.a. Naista2002 18:30, 10 February 2015 (UTC)

Thank you from AttackOfTheDirt

I just wanted to say thank you for confirming the first image of RubyDung! –Preceding unsigned comment was added by (talk) at 12:41, 18 February 2015 (UTC). Please sign your posts with ~~~~

  1. Please use "Add topic" to add a new section.
  2. Sign your posts with ~~~~. –LauraFi - talk 12:45, 18 February 2015 (UTC)
  1. LauraFi, you can use ~~<nowiki/>~~ instead of <nowiki>~~~~</nowiki>. — Agent Nick the Red37 (talk · contribs) f.k.a. Naista2002 13:24, 18 February 2015 (UTC)
You are welcome. KnightMiner 14:57, 18 February 2015 (UTC)

Re: Blank line

That is due to phab:T14974. You can work around it by putting a space before the table, as seen in any module which uses tables. MajrTalk
22:37, 20 February 2015 (UTC)

Well, most any. You forgot one in Module:Smelting, which lead to a lack of one in Module:Brewing. That would make sense as to the reason though, leave me to wonder a good solution to add a space before the table without dropping the text trim. KnightMiner 23:03, 20 February 2015 (UTC)


How do you get a bot? Just wondering. Crazytobuildmc (talk) 19:06, 21 February 2015 (UTC)

Based on what you are asking, one of these should be your answer:
  • If you are asking how the bot works, it is done using wp:AutoWikiBrowser and mw:Pywikibot, which in either case I simply downloaded then tested on a personal userpage.
  • As for the account, I simply created an account using a second email, and gave it a name similar to my own, yet implying the account is a bot.
  • If are asking about the bot right, I got that by request from Dinoguy1000. The main requirement for getting the right is being a trustworthy user, which is normally is noticed from making good contributions and showing good conduct on talk pages, among other things.
KnightMiner 19:18, 21 February 2015 (UTC)
Why does it require a different email address? 03:05, 11 May 2015 (UTC)
Curse logins are controlled based on email. It allows your email and password to login on any curse site, including Gamepedia and the Minecraft Forums. You could simply use no email, but I prefer to allow the email features for the bot (as I rarely log on directly with it). KnightMiner 03:25, 11 May 2015 (UTC)
Is it possible to manually edit pages while logged in to your bot account? 22:45, 11 May 2015 (UTC)
Yes, example: Special:Diff/807811. –LauraFi - talk 22:52, 11 May 2015 (UTC)
How do you know that this was a manual edit (as opposed to an automated edit)? 23:01, 11 May 2015 (UTC)
It was a manual edit, yes. Bots can edit just like any other user, as they are simply another user. Its just that most of the time they edit by using an external program. KnightMiner 23:12, 11 May 2015 (UTC)
What do you mean by an external program? 00:50, 12 May 2015 (UTC)
To quote myself from above: "it is done using wp:AutoWikiBrowser and mw:Pywikibot". KnightMiner 00:51, 12 May 2015 (UTC)
I found something about an in-browser bot system. Why don't users just use that? 03:03, 12 May 2015 (UTC)
Its mainly a personal preference, just because something exists does not mean it has to be used. I personally don't find a standalone to be that much of an inconvience, rather I find it easier as it prevents the need to be logged in onmy browser with my bot account (as most of my editing tends to come from my main account). The stand alone is easier to use and has more available features (the main reason I still use Pywikibot is for a few of its features that are not included in AWB). Also, that script is written specifically for Wikipedia, and even checks if you are on Wikipedia's list of approved bot users, meaning I doubt it would work well here. KnightMiner 14:49, 12 May 2015 (UTC)
Can this information be included in your bot's user page or user profile? 22:45, 11 May 2015 (UTC)
None of that information is relevant to my bot, other than the software which is already noted on the page. The information on getting the user right would belong on a page in the Minecraft Wiki namespace, and the information about creating a second account would belong on a wiki about wikis, such as the Gamepedia Help wiki or MediaWiki. KnightMiner 23:12, 11 May 2015 (UTC)


Using a[rel="signature"] to get a signature button is more reliable and language-neutral than a[title="Signature and timestamp"]. Thanks for attention. — Agent Nick the Red37 (talk · contribs) f.k.a. Naista2002 16:20, 1 March 2015 (UTC)

I actually did not write that bit of code (note the header), but I changed it anyways, thanks! KnightMiner 20:03, 1 March 2015 (UTC)

Quick, while it is allowed

Conciser this edit as abusing multiple accounts during the five minutes it's allowed (see here). --–KnightBot4 (Bot of KnightMiner) 04:33, 3 March 2015 (UTC)

Alright, it has been considered as such KnightMiner 04:40, 3 March 2015 (UTC)
What? XD — NickTheRed37 (former Naista2002) (talk) 07:02, 3 March 2015 (UTC)
For about 30 minutes yesterday you were allowed to abuse multiple accounts, provided you were in the user space (due to a typo). So I did as such by talking to myself (not technically abuse though, as both were clearly marked). KnightMiner 14:11, 3 March 2015 (UTC)


User talk:Darngeek#Person and name pronunciation. Can you notify @darngeek of that message, please? — NickTheRed37 t c (f.k.a. Naista2002) 16:41, 5 March 2015 (UTC)

I can ask, although the user has not made an edits yet, so it could really be anyone. KnightMiner 21:07, 5 March 2015 (UTC)

Help with Lua

Hi. I’m currently working on a module for Russian wiki to Luaify the Grid template (it is different from this wiki’s one, probably because that wiki originated as a separate one). For some reason, the cell isn’t showing. Can you fix that? Thanks! — NickTheRed37 t c (f.k.a. Naista2002) 18:09, 6 March 2015 (UTC)

False alert; I forgot an else clause in an if conditional. Now I shall continue to work on the module. — NickTheRed37 t c (f.k.a. Naista2002) 18:28, 6 March 2015 (UTC)
Oh, what I’m a pumpkin head... :D The bug cause was incorrect. --NickTheRed37 t c (f.k.a. Naista2002) 18:32, 6 March 2015 (UTC)
A one thing I noticed is the loop
while #args[1] > 15 do
Should use the table "frames", since args[1] is not a table.
The args definitions at the beginning are also rather strange (defining args with an if statement, then overriding that definition), although I assume those are for testing.
KnightMiner 19:08, 6 March 2015 (UTC)

ru:Модуль:Участник:NickTheRed37/Babel is a module realization of Extension:Babel-like userbox system (w/o categories); the module is called via ru:Участник:NickTheRed37/Userboxes/User lang. The colors, however, are incorrectly picked: no matter what level I use, it picks ones used for a “native” level. (Example of usage here.) — NickTheRed37 t/c (f.k.a. Naista2002) 18:37, 9 March 2015 (UTC)

I would assume its caused by the way you are controlling the args. Since the template is being called directly by your template, you really do not need to get the parent args, so simply define local args = f.args or f in all cases, then pass on the parameters.
Although, it would make more sense and be more efficient to call the "userbox2" template using f:expandTemplate, then process all the parameters from within the module, in which case the parent args would be more efficient. KnightMiner 20:30, 9 March 2015 (UTC)
It is still not working. Also, you can be bold in fixing that module. — NickTheRed37 t/c (f.k.a. Naista2002) 14:18, 11 March 2015 (UTC)
Its fixed now, you forgot the "#" before the colors. I added the "#" to the table in case you ever want to use color names rather than IDs. KnightMiner 16:07, 11 March 2015 (UTC)
Thanks, I forgot about “#”. I can be derpy at some times — NickTheRed37 t/c (f.k.a. Naista2002) 16:12, 11 March 2015 (UTC)

Back to the Grid: ru:Участник:NickTheRed37/Песочница/Гамма#Модуль для сетки – still needs to be fixed. — NickTheRed37 t/c (f.k.a. Naista2002) 16:40, 28 March 2015 (UTC)

Firstly, it seems mods are invalid unless they are a table in the alias table, you will have to either check if a mod exists in the table before checking its value, or change the method used for the aliases.
Secondly, it seems you are not passing the mod table into p.expandAlias, so it contains no mods. KnightMiner 17:30, 28 March 2015 (UTC)

Thx for correcting my mistake at the Endermite page

Hello KnightMiner,

Thx for correcting my mistake on the Endermite page, I wasn't paying enough attention to the testing, sorry for the loss of your time.

Ferrybig (talk) 16:01, 18 March 2015 (UTC)

You are welcome, and the loss of time is fine. KnightMiner 16:03, 18 March 2015 (UTC)

Tomas Alaeus

His surname is spelled [ɘlˈeɘs], isn’t it? — NickTheRed37 t/c (f.k.a. Naista2002) 17:14, 20 March 2015 (UTC)

I am unsure of how it is pronounced, I just copied the name from his twitter. I assume that is correct, though, as that is the way I would think to pronounce it. KnightMiner 17:59, 20 March 2015 (UTC)
I asked that to verify the spelling used when transliterating it in Russian (Алеус). Prior to that, I asked KhmelAW to verify is “Алеус” the right transliteration. — NickTheRed37 t/c (f.k.a. Naista2002) 18:37, 20 March 2015 (UTC)
I would assume it is the proper spelling. KnightMiner 18:57, 20 March 2015 (UTC)

Archive boxes

Using an ordered list in archive boxes is better than using an unordered one. Compare:


  1. October 2010 – April 2011
  2. April 2011 – May 2011
  3. May 2011 – July 2011
  4. July 2011 – January 2012
  5. January 2012 – April 2013
  6. May 2013 – June 2013
  7. July 2013 – 2014

— NickTheRed37 t/c (f.k.a. Naista2002) 16:14, 28 March 2015 (UTC)

Assuming the numbers line up. I'll try to remember to do that. KnightMiner 16:17, 28 March 2015 (UTC)


Very clever. – Sealbudsman (Aaron) SealbudsmanFace.png t/c 23:15, 1 April 2015 (UTC)

Thanks, though I did get the idea from User:LauraFi/Upside Down. KnightMiner 23:32, 1 April 2015 (UTC)
 :) –LauraFi - talk 00:15, 2 April 2015 (UTC)
KD --TNT JE2 BE2.png MCPEplayer2 BUDDAH 21:27, 21 June 2015 (UTC)

:D — NickTheRed37 t/c (f.k.a. Naista2002) 17:58, 25 April 2015 (UTC)

Notifications test

user talk:NickTheRed37/sandbox#Testing area — NickTheRed37 t/c (f.k.a. Naista2002) 16:52, 4 April 2015 (UTC)

Well, the colors work, though for some reason notifications are only triggering when you click the button. KnightMiner 16:55, 4 April 2015 (UTC)
Can you ping me? — NickTheRed37 t/c (f.k.a. Naista2002) 16:57, 4 April 2015 (UTC)
Like this? -> NickTheRed37. KnightMiner 17:07, 4 April 2015 (UTC)
Yes. Looks like the notification box doesn’t update at all (including the number). Game widow? — NickTheRed37 t/c (f.k.a. Naista2002) 17:09, 4 April 2015 (UTC)

Thank you

I was undoing the diamond edit and I found out you were faster and edited it before me. I saw my edit was an exact copy of what you did (deleting it). I think that makes you better than me.-- 05:23, 11 April 2015 (UTC)Randomwikiguy

Yeah, I was online going through the recent changes at the time. You are welcome. KnightMiner 17:40, 11 April 2015 (UTC)


Your proposed workbench page on how wet sponge and sponge would merge has been successfully merged by Goandgoo. Unforutnately, I've decided to nominate said workbench page for deletion. BDJP (t|c) 02:41, 18 April 2015 (UTC)

Cool. Since I usually propose deletion on articles in my workbench after merge, it being deleted is fine. KnightMiner 02:48, 18 April 2015 (UTC)

Old Snapshots


I was wondering if you knew of a way to play the pre-1.6-launcher snapshots. I usually create a directory with the same name as the snapshot .jar and .json, and the launcher plays it fine, but the older snapshots don't come with .json files, and they're all called minecraft.jar, so I'm a little stuck. Naturally this impedes my ambition of verifying the bugfixes.

Sealbudsman (Aaron) SealbudsmanFace.png t/c 22:10, 4 May 2015 (UTC)

Try this tutorial, it worked pretty well when I tested in on 13w01a. If you know a bit about json and you plan on keeping the snapshots for a while, I would also suggest changing "type": "release", to "type": "snapshot", for snapshots. KnightMiner 23:02, 4 May 2015 (UTC)
Excellent, that does work. Thanks very much!
Sealbudsman (Aaron) SealbudsmanFace.png t/c 13:12, 5 May 2015 (UTC)

Re:File in signature

There. Got it. --MCPEplayer2 Me! 17:35, 12 May 2015 (UTC)

Minecraft books

  1. The BLOCKOPEDIA is accually an official book
  2. It is important to have the companion book bundle as is tells people that it is avaible.
  3. The writing style may not go with the wiki rules, however I got the information about the books which actually told about the book instead of some features of the book which was currently on there. Wolffillms (talk) 02:26, 16 June 2015 (UTC)
  1. The Blockopedia book may be made by Scholastic, but it does not even to be official unlike the rest. Scholastic just like anyone else can write an unofficial book, so find me a source that it is official.
  2. We are a wiki, not a webstore. The bundle may be available, but I personally don't think it is worth noting as it is simply a shop's special. If it must be added, all that has to be stated is a bundle is available
  3. The wiki rules are more important then copying advertisements. Articles should be written in third person from a neutral point of view, not using fluffy advertisments because that is what is said on the product's description page. We also do not require "official" descriptions on any other articles, and I don't think this article should be different just because it has a store. KnightMiner 02:43, 16 June 2015 (UTC)
  1. The BLOCKOPEDIA is part of the same minecraft series as the other books and is official
  2. I think the companion bundle should be there, but I agree it should be stated as a bundle
  3. the descriptions are not advertisements, but the official description of the book. (I suppose it wouldn't be neutral as it is still probably trying to get you to buy the book.) Wolffillms (talk) 12:32, 16 June 2015 (UTC)
In general, content should not be copied from other sites to avoid copyright issues. If something absolutely has to be copied, it should be presented as a quotation with a reference linking to the original source. In this case, there’s no need to use their description, as it’s easy enough to write a new, neutral one. — Orthotopetalk 18:30, 16 June 2015 (UTC)

Double redirects

Could you fix them? –LauraFi - talk 17:56, 17 June 2015 (UTC)

 Done. There always seems to be something I forget after a merge or move... KnightMiner 18:04, 17 June 2015 (UTC)

Your talk page

It's a little bit laggy on my computer. --TNT JE2 BE2.png MCPEplayer2 BUDDAH 21:28, 21 June 2015 (UTC)

Not exactly sure why that would be, unless larger articles also lag your computer a bit. It should be much less laggy when I do my half-yearly archive at the end of this month anyways. KnightMiner 22:51, 21 June 2015 (UTC)
This page on the Club Penguin Fanon Wiki (not a part of Gamepedia) is laggy for me. --TNT JE2 BE2.png MCPEplayer2 BUDDAH 00:29, 30 June 2015 (UTC)

My user page

The style guide specifically says a different wiki. In this case, it leads to the same wiki, so why does it need to be a soft redirect? The BlobsPaper JE2 BE2.png 22:15, 27 June 2015 (UTC)

The reason is that after being redirect from the redirect, it drops you on the profile page with no "redirected from" link, preventing you from easily getting back to that page should any changes be required, or should a user unknowingly be redirected. Also, while it technically is not to another wiki, it still uses an interwiki redirect, and those are quite broken.
If you still want a normal redirect, I would suggest sending it to your talk page, as those redirects function properly. KnightMiner 22:31, 27 June 2015 (UTC)