User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 186: Line 186:
:::I leave the activity of both types to people who are more skilled at producing it. I just respond. ;)
:::I leave the activity of both types to people who are more skilled at producing it. I just respond. ;)
:::As for the code, without actually looking into it enough to tell if it's a viable idea, the way I'd do this would be to create a switch with 6977 cases, one for each current stub location, then use the PAGESINCATEGORY magic word to select the one that corresponds to how many pages are in the category. As that category is removed from the pages, the PAGESINCATEGORY magic word will decrease, effectively acting as a countdown for the list, rather than randomly cycling through the items. You could then bump any of the more important locations towards the bottom of the list, where they will get serviced more quickly, and leave the less important ones near the top, where they may never be reached. {{User:Aichon/Signature}} 04:33, 24 November 2012 (UTC)
:::As for the code, without actually looking into it enough to tell if it's a viable idea, the way I'd do this would be to create a switch with 6977 cases, one for each current stub location, then use the PAGESINCATEGORY magic word to select the one that corresponds to how many pages are in the category. As that category is removed from the pages, the PAGESINCATEGORY magic word will decrease, effectively acting as a countdown for the list, rather than randomly cycling through the items. You could then bump any of the more important locations towards the bottom of the list, where they will get serviced more quickly, and leave the less important ones near the top, where they may never be reached. {{User:Aichon/Signature}} 04:33, 24 November 2012 (UTC)
::::With the problem being that I'd have to create a list of about 7.000 items and the whole thing would lose the cycling effect. I already considered it, but the reason I want to cycle through them as frequent as possible to avoid seeing the same one over and over again. Then again, I'm pretty sure I could make it cycle I think, using a new switch function inside the first one (but still: 7.000 item list). {{User:Peralta/Signature}} 04:44, 24 November 2012 (UTC)

Revision as of 04:44, 24 November 2012

Aichon:Talk
Aichon
ˈīˌkän :Talk