User talk:Majr/Archive 11

Suggestion for Overwatch AI
Two things, both related to LoadPage:
 * Adding the tag to any loaded pages which lack it.
 * Adjusting the file paths to follow moved master or sub-pages, including changes of path.

The first is more significant -- the category is non-obvious to random editors, and easy to forget when making a subpage. The second is a convenience, especially since a bunch of master pages have recently been renamed, and more will be moved soon. Could this please be added to OWAI's standard "to do" list?--Mental Mouse 21:02, 26 April 2013 (UTC)


 * How would I (automatically) get a list of pages which are loaded with loadPage? –ultradude25 ᐸ Talk Contribs 15:40, 27 April 2013 (UTC)
 * By looking for loadPage calls, which is why this would need the AI. I'm pretty sure the category is meant to produce that "automatic list of pages" -- the problem is, that depends on the writers, and consider that I only found out about the category by watching Munin295. --Mental Mouse 15:54, 27 April 2013 (UTC)


 * Looks like I can use the HTML scraper to get the links, still need to go through each page that transcludes the template manually though. –ultradude25 ᐸ Talk Contribs 00:28, 28 April 2013 (UTC)
 * Oh, right, you can use Special:WhatLinksHere/Template:LoadPage to find the pages that use LoadPage... hmm, that's a rather small list, actually. But anyway, it sounds like you're saying the AI can add the category, but can't handle snapping the links past redirected pages.  Is that right?   --Mental Mouse 01:33, 28 April 2013 (UTC)


 * The closest you could really do is use Special:ListRedirects, and somehow get that list into the find and replace, then just go through Special:AllPages and try to find links that need replacing. –ultradude25 ᐸ Talk Contribs 05:26, 28 April 2013 (UTC)
 * So it can't just scan the pages from LoadPage's WhatLinksHere, pick out the LoadPage paths, and check whether those pages are redirections? Oh well....  As I said, the category thing is what needs the AI more, as that will get worse the more new editors start in with schematics.  For the links, I guess I'll just wait until the next round of moves, then fix the paths. --Mental Mouse 14:08, 28 April 2013 (UTC)


 * For the images, don't bother with moving anything until Curse updates the wiki and we (supposedly) will have our own database separate from the Dutch and German wikis. The amount of coordination needed, as well as working around this by manually uploading a duplicate at a new name, is not worth the end result at this time.  21:47, 1 May 2013 (UTC)
 * I think you're already in on it, but just for the record, LoadBox targets will presumably need the category too. --Mental Mouse 22:59, 11 May 2013 (UTC)

Patrolling pages that have been moved without a redirect
Since I've started lurking the newpages list, it has annoyed me to no end that I couldn't mark a moved page as patrolled and it just sits there highlighted in the list. Earlier this week, I randomly decided to try putting the rcid in the url of the "deleted" page into the url of the moved page and I got the patrol link in the new page, which when clicked, marked the original page as patrolled. I was actually surprised and then went through the whole first page and cleared the highlights. MediaWiki is weird. Anyways, would it be possible to have a script that appends the link to the new page in the deleted message with the rcid of the deleted page? Better yet, would it be possible to force the patrol link onto the deleted page? 21:01, 1 May 2013 (UTC)


 * Well I'll need an unpatrolled moved page to test with, so don't patrol the next one you see.
 * Assuming there is no way to know the page has been deleted beforehand, it'll require an API request to get the token so a patrol link can be made. The other way would be to redirect it to the new page name with the id in the url so you can use that link. –ultradude25 ᐸ Talk Contribs 07:16, 2 May 2013 (UTC)


 * Alright I've added a script to the sysop js. You should see that the link to the new page in the log has an rcid on it now. –ultradude25 ᐸ Talk Contribs 01:15, 4 May 2013 (UTC)


 * Works great. Thank you!  20:08, 4 May 2013 (UTC)

Locked Chest 13w18a
Well, It got changed. We need a render of --007a83 (Talk&#124;Contribs) 07:35, 9 May 2013 (UTC)


 * Thank you.--007a83 (Talk&#124;Contribs) 14:21, 9 May 2013 (UTC)


 * We also need a render of Stained Hardened Clay. -- Numbermaniac  - T  - C 02:14, 11 May 2013 (UTC)

you.
I like how you didn't even give me time to talk. Also, my userpage, is MY userpage. Please don't go deleting all my stuff I did on MY userpage, or talk. You also deleted all my stuff which took hours to do. Everyone, please be warned, this admin is a bad admin, he don't give two shits what you do, ANY good edits you do will be deleted by him. –Preceding unsigned comment was added by Andrew Powers (Talk&#124;Contribs) 17:52, 11 May 2013 (UTC). Please sign your posts with


 * I have only deleted templates which you created outside of your userspace, as well as the images they were using.
 * I even gave you a warning to stop spamming the templates but you continued on, then I gave you a second warning that I would going to remove them and waited 10 minutes before doing anything.
 * The thing that amazes me the most about this is how you seem so surprised that spamming personal templates on a wiki you've only just recently joined would result in them being deleted. Having terrible templates on your userpage isn't required for you to make constructive edits on the wiki. –ultradude25 ᐸ Talk Contribs 18:09, 11 May 2013 (UTC)


 * That was a bit rude Andrew... -- Numbermaniac  - T  - C 01:05, 12 May 2013 (UTC)

javascript and wiki template
Is it possible for javascript to use a wiki template that contains a #switch function? —Powup333  ZH Admin  21:00, 11 May 2013 (UTC)


 * I don't really know what you mean... If you mean "use" as in: "can JavaScript parse a wiki template?" Then no, not at all. JavaScript has no knowledge of mediawiki markup. You could port mediawiki's parser from PHP to JavaScript, but that would probably take months considering the complexity and hacked-togetherness of it. –ultradude25 ᐸ Talk Contribs 21:36, 16 May 2013 (UTC)


 * Ah, okay. I was planning to have the JavaScript that does the Grid animations to use the template for the image link, guess that won't work. So I guess I will have to pass a new variable to the js and edit the js a bit...but I don't think the variables extension accept Chinese characters...any suggestions?—Powup333  ZH Admin  01:50, 20 May 2013 (UTC)


 * Wait for lua. Then there's no issues. –ultradude25 ᐸ Talk Contribs 03:04, 20 May 2013 (UTC)


 * Timeframe? &mdash;Munin295 &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 05:33, 20 May 2013 (UTC)


 * When every other curse wiki has hydra, then we get it. –ultradude25 ᐸ Talk Contribs 05:37, 20 May 2013 (UTC)

Tutorials
Please see talk page.--Minecraft5025 (MC5025) (Talk! Contributions!) 12:09, 13 May 2013 (UTC)


 * For the third time in two days, just click add topic to add a new section! -- Numbermaniac  - T  - C 05:36, 14 May 2013 (UTC)

Crazy nav template idea
I know we're on the cusp of converting everything to use LoadBox, but I just had an interesting idea that involves the use of the MediaWiki system messages. Thinking about the msgbox I tinkered with for talk pages, its usage isn't on actual pages. If I were to transclude a template onto a system message (which is possible, I reviewed talknotice in there, but thought it wasn't a good idea to have a publicly editable template in a system message) the template will display, but no massive cache updates occur if it were edited, since system messages don't load that way. If some css or js trickery were used to shift a div or something in a system message from the top to the bottom of a page, and some type of #switch (or upcoming lua function) were used to display a specific nav template based on the page, would it be possible to display the nav templates using the article space system message? This way, we can have the templates transcluded in the system message instead of the page and have them editable without the cache update problems. If we used the #switch function, we would probably have to have some kind of special support template like the position subpages of the sprite templates where the code would be formatted in a long list of blocks/items/etc and have the #switch compare it to the pagename magic word or something. The only downside I can think of is if #switch has limits or if using a massive list of block/item/etc names in a #switch has performance issues. Please excuse me if this is actually crazy. 06:13, 15 May 2013 (UTC)


 * I don't think that will work. As far as I know, even the simple parser functions and templates we already use in system messages is a terrible thing we shouldn't be doing. –ultradude25 ᐸ Talk Contribs 21:26, 16 May 2013 (UTC)

Apple
The fact notch drops an apple is not a primary way to get an apple and should be removed especially since that fact is already in trivia, and it says "four" ways to get an apple. Rcmaehl 00:43, 19 May 2013 (UTC)


 * That's fine, but it's not in any way vandalism like you claimed. –ultradude25 ᐸ Talk Contribs 00:45, 19 May 2013 (UTC)


 * True, however at the time I believed it was. After I found out, I thought it was not a primary way and really shouldn't be added back so I left it that way. Still, the apple page needs to lose the Notch way, or be edited to say 5 reasons to keep the info from conflicting. Rcmaehl 00:49, 19 May 2013 (UTC)


 * –ultradude25 ᐸ Talk Contribs 01:01, 19 May 2013 (UTC)

Question mark in a wikilink
Hello ultradude,

Is it possible to use a question mark in a wikilink (double-bracket) without it turning into %3F and making the wiki assume that the quesiton mark is part of the title even though I'm trying to use it as a query? Thanks! –- (T) Numbermaniac (C) 01:28, 26 May 2013 (UTC)


 * No. Use fullurl. –ultradude25 ᐸ Talk Contribs 01:30, 26 May 2013 (UTC)


 * Darn. Thanks! –- (T) Numbermaniac (C) 01:33, 26 May 2013 (UTC)

Templates and snapshots
With your latest edit of ItemSprite, the charcoal image has been changed to that used in the 1.6 snapshots. Let me quote a section of the style guide:


 * These guidelines also apply for new snapshot releases. Snapshot changes should not be included into the main sections until the full update is released. These new changes should be in a Future section to prevent current users of the full release from confusing new features with the current ones. After the full update is released, then the previous info can be deleted and previous differences moved into the History section. The snapshot features/changes can then be incorporated into the main sections.

I think we should handle snapshot changes in templates similarly: add them to the templates to allow documentation of the upcoming changes, but not let them get mixed up with the latest version of Minecraft. People are confused enough about snapshots and releases, we don't need to add to that confusion by having a mix of latest-release and latest-snapshot in the templates.

I'd like to hear your opinion about this. There has to be a better approach to this than what I did on ItemSprite. —Fenhl 01:29, 28 May 2013 (UTC)


 * The issue with the sprite templates is if we have that id and people start using it, when the update comes out we either have to find all usage of the id and change them, or keep the extra name in there; which means we're going to end up with a bunch of redundant ids. –ultradude25 ᐸ Talk Contribs 01:54, 28 May 2013 (UTC)


 * A possible solution would be to add an additional parameter to the template that is used for upcoming sprites. Using this parameter would add a category to the article in addition to using the new textures. —Fenhl 02:46, 28 May 2013 (UTC)


 * That could work, but it would need to be automatic based on the name. You can't rely on people adding the extra parameter. –ultradude25 ᐸ Talk Contribs 02:56, 28 May 2013 (UTC)

Moving Pages/Files
I thought that Autoconfirmed users had the perms to move pages and files. But this is what I receive. "Permissions errors You do not have permission to do that, for the following reason: You do not have permission to move files." or can Autoconfirmed users only move pages.?--007a83 (Talk&#124;Contribs) 15:45, 28 May 2013 (UTC)


 * Moving pages is different than moving files. Pages are fine and autoconfirmed users can move pages, but files can only be moved by an admin. Moving files at this time is not a good idea anyways due to our shared database with the Dutch and German wikis. We have enough issues as it is with them messing with files without us causing issues too. (addition) If you were talking about that spider jockey image, I verified that the other two wikis weren't using it and then renamed it.  18:10, 28 May 2013 (UTC)


 * It was AHmYu.png]] and [[File:Lockedchest.png.--007a83 (Talk&#124;Contribs) 20:52, 28 May 2013 (UTC)

Helping out with the Server Tutorial
Hey there, I wanted to add a helpful video to the Server Tutorial. It was blocked because it was the first time I tried to edit anything on the wiki. Could you take a look and let me know if it is something that would be worth adding?

I can't add a real link in here since I get the same block message, so the unlinked link is www (dot) youtube (dot) com/watch?v=RGkrLW_Jk50

TheJohnnyK TheJohnnyK 23:01, 29 May 2013 (UTC)


 * I can't watch videos, but I've added it in good faith. –ultradude25 ᐸ Talk Contribs 23:21, 29 May 2013 (UTC)


 * Much appreciated.--TheJohnnyK 23:52, 29 May 2013 (UTC)

Common.js edit
Having the page loader parse pages as templates is generally good. However, it broke LoadPage whenever it's used to load a page in the main namespace. For example, attempts to load Template:Crafting/Basic instead of Crafting/Basic. Is there a more elegant solution than adding colons to all of these situations to force the main namespace? -- Orthotope talk 18:58, 2 June 2013 (UTC)


 * Perhaps use an if statement to check whether such a template exists? And then go to the main namespace if no template is found? –- (T) Numbermaniac (C) 22:00, 2 June 2013 (UTC)


 * This change has also broken all the LoadBoxes in the circuit articles.
 * &mdash;Munin295 &middot; Grid_Book_and_Quill.png Grid_Stone_Pickaxe.png &middot; 22:22, 2 June 2013 (UTC)