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)

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)