User talk:KnightMiner/Archive 3

--
 &spades; I hearby award this

GNU32 NEON BADGE OF

EXCELLENCE

to the user

&spades; Thanks for your edits to Minecraft Wiki!

–Preceding unsigned comment was added by LauraFi (talk • contribs) 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! – Knight Miner  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, which does use regex. –Majr ᐸ Talk Contribs 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. – Knight Miner  20:02, 11 January 2015 (UTC)

Use "Show preview"
You should really use "Show preview" when making major changes to articles. – Knight Miner  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. – Knight Miner  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. 67.160.25.176 00:07, 3 February 2015 (UTC)


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

listpages.py
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. doesn’t work. — Yours, Agent Nick the Red37 (t &middot; 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 "  ", causing the namespaces not to display. If you want them to display, try the parameter  – Knight Miner  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  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 &middot; c) f.k.a. Naista2002 18:30, 6 February 2015 (UTC)


 * That actually seems to be caused by the  parameter, it only seems to pull pages from the main namespace. – Knight Miner  18:57, 6 February 2015 (UTC)


 * How to fix that? — Yours, Agent Nick the Red37 (t &middot; 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) – Knight Miner  19:26, 6 February 2015 (UTC)

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


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

Re: User talk:KnightMiner/Sandbox
User:NickTheRed37/Templates/NickTalkSandbox — Yours, Agent Nick the Red37 (t &middot; 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 86.190.157.120 (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)
 * LauraFi, you can use instead of . —  Agent Nick the Red37 (talk &middot; contribs) f.k.a. Naista2002 13:24, 18 February 2015 (UTC)


 * You are welcome. – Knight Miner  14:57, 18 February 2015 (UTC)

Re: Blank line
That is due to T14974. You can work around it by putting a space before the table, as seen in any module which uses tables. –Majr ᐸ Talk Contribs 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. – Knight Miner  23:03, 20 February 2015 (UTC)

Bot
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 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 . 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.
 * – Knight Miner  19:18, 21 February 2015 (UTC)

User:KnightMiner/hydra.js
Using  to get a signature button is more reliable and language-neutral than. Thanks for attention. —  Agent Nick the Red37 (talk &middot; 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! – Knight Miner  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 – Knight Miner  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). – Knight Miner  14:11, 3 March 2015 (UTC)

User:Darngeek
User talk:Darngeek. Can you notify 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. – Knight Miner  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  clause in an   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    table.remove(args[1]) end
 * 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.
 * – Knight Miner  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  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. – Knight Miner  20:30, 9 March 2015 (UTC)