Minecraft Wiki talk:Admin noticeboard

Halfway towards actually making admin pages. Nice.  A CLECTASIS   05:55, 7 February 2011 (UTC)

Delete Revision
All administrators now have the ability to delete individual revision in a page's history. You will see the changes on the page history view. This function should be used only in cases where a revision poses some threat to the community at large, such as the malicious link that was recently placed on the Programs and Editors page. If you have any questions regarding the use of this function, please ask. Thanks! -- Wynthyst  talk  20:06, 7 February 2011 (UTC)

Template useless due to restrictions

 * discussion moved from noticeboard
 * Look at the following examples (which i made quickly from existing small ASCII diagrams)
 * Tutorials/Nomadic Experience
 * Tutorials/Safe Home
 * Tutorials/Airlock
 * Tutorials/List of things to do to your shelter
 * Two that don’t work:
 * Talk:Tutorials/Branch Mining
 * Talk:Tutorials/Tree farming
 * Anti-example
 * Farming
 * You can see how much easier to use it is by the fact that nobody did what you suggested. This is because using is both tiresome and confusing. Also it would produce padding around the tiles. I can’t see any reason not to use a simple template instead of having to do a huge amount of work to get the same done in another way or producing ugly ASCII art which takes only ~10 keystrokes less than my template (For the name and the curly braces). – Flying sheep 13:10, 12 April 2011 (UTC)
 * PS: you say on your user page that you like working with templates. Why the harsh critique, then? Don’t you see the clear advantages, if you were the one to create most of the cool templates we use for similar tasks? I try to help the wiki with it, i’m not some sort of “competitor” in templatemaking who does it to “outshine” your work or something.


 * That looks neat and all, but the reason I'm opposed to it is the fact it needs limits upped, which makes it seem like it'd be inefficient. Thus making it better to just use the already existing ones.
 * However, I'd love to see you prove me wrong on that, I don't have any knowledge of how taxing the loops would be, but I'd assume Curse has that set to 100 for a good reason.
 * Also, you should be using the standard doc template. – ultradude25 ( T at 13:35, 12 April 2011 (UTC)


 * OK, i’ll gladly explain it to you: It needs to loop over every character which has to be transcoded to an image once. Then it retrieves the named parameter with the character name and inserts the BlockSprite for it. This is is one Hashmap lookup more than manually inserting templates. Hashmap lookups have approximately O(1) for small maps. That is the fastest possible execution duration.
 * The limit of 100 is default, so most likely Curse just hasn’t done anything with it.
 * Another solution needs to be more efficient than mine or more easy to use while giving comparably pretty output. Everything else I can think of has worse performance, is ugly, hard to write, or any combination of that. That includes the following solutions:
 * you suggested manually inserting Sprites. That’s a little bit more efficient, but uglier (padding around images), much harder to write, and near impossible to read (Giant blocks of template transclusions)
 * Already used is ASCII-Art, which is more efficient, but much uglier and equally easy to write. You can manually convert this into my template very quickly (rewrite the legend to use proper sprite names, and add a pipe character in front of every line).
 * My alternative template (one parameter per sprite) is again a litte bit more efficient and equally pretty, but harder to write and read (rows · cols more pipe characters to type. That matters.)
 * I’ll use the doc template. I won’t on small templates like Template:FakeImage or Template:Inline, though :) (edit: i see that you have already done this, thanks!)
 * Thanks for not becoming set on your initial opinion, Flying sheep 14:37, 12 April 2011 (UTC)
 * Thanks for not becoming set on your initial opinion, Flying sheep 14:37, 12 April 2011 (UTC)


 * Slight aside: from looking at the loop extension documentation and your code, where is the limit being hit? Like, is there a limit of 100 iterations per page that has #loop? Is there a limit of 100 for each call of #loop or what? 'Cause based on a glance at the documentation and your code, it seems like the limit for your template is 100 blocks wide. --JonTheMon 15:16, 12 April 2011 (UTC)


 * No, the limit is per-Page, not per Loop-invocation. See below. Every time a for- or while-loop is gone through, a counter is increased. When it hits the limit, the all further loops just yield an error text and stop. (You can loop over the arguments for free, which could be exploited to circumvent the limit. It would be difficult and less performant, though.) – Flying sheep 15:35, 12 April 2011 (UTC)
 * Test (2 90-Loops. If the limit is hit in the second run, it is per page, if it isn’t hit at all, the Limit is per transclusion):


 * I'm pretty sure something similar to this could be done using only ParserFunctions and StringFunctions, though the limits built in to StringFunctions may come into play much like the limit in the loop extension currently is. 「 ダイノ ガイ 千？！ 」? · ☎ Dinoguy1000 03:37, 13 April 2011 (UTC)


 * How? I still have to somehow loop over the single characters, and StringFunctions doesn’t have any loops builtin. I could all occurrences of single characters with the appropriate , but again, this would be way less efficient and also the replacement limit is 30.
 * User:ultradude25, could you please answer to my lengthy post above? (Before the “Slight aside”) – Flying sheep 10:34, 13 April 2011 (UTC)

You've made your point and I agree with it. Except for the bit about not using the doc template for small templates, ALL templates should use it for consistency. (plus I like the colour :) – ultradude25 ( T at 12:38, 13 April 2011 (UTC)


 * Documentation is done. i am itching to convert the rest of the trap schematics :) –Flying sheep 13:32, 13 April 2011 (UTC)


 * replace and its replacement limit are basically what I was referring to. When you hit the limit on one #replace, it is possible to break up the replacement into multiple #replaces to get around said limit; I've done this on another wiki. 「 ダイノ ガイ 千？！ 」? · ☎ Dinoguy1000 17:28, 13 April 2011 (UTC)


 * Well, he said he was convinced. Before making it overly complicated, I’ll rather wait a day or two. If you can do it, however, without making the code read-only, please do so –Flying sheep 18:59, 13 April 2011 (UTC)


 * If I can find some time, I'll certainly try my hand at it; it's an interesting problem and would be the first time I've played with using parameter names provided by the transclusion rather than ones hardcoded into the template itself (though I've seen and, to a limited extent, worked with templates that do as such in the past). =) 「 ダイノ ガイ 千？！ 」? · ☎ Dinoguy1000 19:47, 13 April 2011 (UTC)


 * Did I mention that this was the first Template I ever made? –Flying sheep 22:14, 13 April 2011 (UTC)


 * This is being looked at by the Curse tech team to determine what the appropriate changes would be. I'll keep you posted. -- Wynthyst [[Image:User Wynthyst sig icon.png ]] talk  02:57, 14 April 2011 (UTC)

Potential Problem

 * discussion moved from Minecraft Wiki:Admin noticeboard
 * Could've been a rouge advert. Do you happen to be using IE? Or Firefox/Chrome without Adblock installed? – ultradude25 ( T at 02:56, 5 April 2011 (UTC)
 * You may have accidentally clicked on one of the ads at the top middle?  A NNOYING  11:42, 5 April 2011 (UTC)
 * Ultra, I am on IE. lol  Annoying, if I did, it took enough time to load for me to scroll to the bottom of the page.  Latrans105 12:33, 5 April 2011 (UTC)
 * Not a good idea, IE isn't secure at all. If the wiki does happen to have a rogue ad, you're going to be screwed over by it. Also, IE doesn't really work properly with the wiki (or most webpages as a matter of fact) as it doesn't really support basic CSS functions like every other browser does. You'll find all the navbox templates are broken in IE as it doesn't understand how nowrap works. – ultradude25 ( T at 23:48, 5 April 2011 (UTC)
 * Well, were this my machine, I'd have that remedied in a heartbeat. Sadly, not so. Latrans105 17:19, 6 April 2011 (UTC)


 * tl;dr: Get Chrome/Firefox. Better yet, try each out for a week and see which works better for you.--Quatroking -  MCWiki Administrator  10:59, 9 April 2011 (UTC)


 * Except that he just said that he has no control over what browser he uses on that computer. 「 ダイノ ガイ 千？！ 」? · ☎ Dinoguy1000 16:03, 9 April 2011 (UTC)
 * Woops, didn't catch that one. Latrans105, do you have an USB-stick? If you do, http://portableapps.com/ is your friend. This site provides a lot of applications in a portable form which only requires you to unpack it to a location, and from there you can run it without writing any data at all to the machine you're working on. I've been doing this for years over at school, so I could run Firefox and a few other programs.--Quatroking -  MCWiki Administrator  17:23, 9 April 2011 (UTC)
 * So.. Correct me if I'm wrong..  Basically, you use the USB instead of the profile the school has set up for you?  Or library or what-have-you?  Latrans105 04:52, 13 April 2011 (UTC)
 * All of these portable apps save their settings onto your USB stick so you can do anything you wish; they don't write to the computer's registry which is often blocked by the system administrator. For example, Firefox would write all its bookmarks and settings to its own folder on the USB stick without touching the harddrive of the desktop you're on.--Quatroking -  MCWiki Administrator  08:20, 13 April 2011 (UTC)
 * @All: I don’t wanna be rude, but the OP’s phrase “I closed down the Internet” suggests that (s)he might not have much experience~in operating a computer, so even if a portable Firefox/Chrome is a good idea, (s)he might need a litte assistance in case of problems. Amirite? –Flying sheep 10:41, 13 April 2011 (UTC)