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)