From DoomWiki.org
< User talk:Xymph
Revision as of 14:34, 16 February 2018 by Xymph (talk | contribs) (→Re: "bot script at your service")
Re: "bot script at your service"
LOL! That's extremely impressive — thank you.
If you're actually interested in this (and LOL again because as my page says, you take it seriously at your own peril), then I suggest the following based on past approaches:
- Make the table sortable.
- Include Category: and Template: space (to catch WAD titles).
- Omit redirects unless the page contains additional non-whitespace text (e.g. categorization, HTML comment).
- Detect sort keys in category links, e.g. [[Category:Community stewards|Haley, James]]. I confess I tend to leave these alone, even though I think 99% are errors, because they're better than nothing and I have no idea what consensus is.
- Include map pages, which are also supposed to be sorted by name ignoring the map slot and leading article.
- Detect sort keys applied by templates. This, according to Wikipedia's bot operators, is very difficult; I assume you would implement parameter-related logic case by case, e.g. name within Template:Map, rather than "simulating" transclusions in a general way.
Again, don't do this unless it's fascinating :> but it's true that this has been a lingering issue over the years. We want to help readers navigate any way we can. Ryan W (living fossil) 21:25, 15 February 2018 (CST)
- Thank you too for a "fascinating" idea for a new script. :-) Items 1 & 2 done.
3: showing non-redirect, possibly rendered content is relevant indeed and I wanted to see that first (as an intermediate step, at least). So I dropped the font size to reduce emphasis and added nowiki tags to show such content (looks like there's none).
4: Not sure I follow this. Are you proposing to recursively check all people pages under Category:People for Category tags? That would be somewhat tough to do.
5: navboxBot.php already checks / adds the map|name= field if necessary. This script has been run across all mapsets covered via XymphBot (which, I suppose, I could provide a list of). Re-checking all map pages falls outside the scope of articleSort.php but may be feasible in another script that recursively processes all of Category:Levels by slot. But that would still not cover single-level WADs that are intentionally not categorized there.
6: Your specific example seems (somewhat) covered already by item 5, but otherwise I don't fully understand this suggestion yet. Can you elaborate?
--Xymph (talk) 13:34, 16 February 2018 (CST)