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)

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)