My Little Pony Friendship is Magic Wiki
Register
Advertisement
Forums: Index > Wiki discussion > Solution to "Sortability" problem


Earlier today, I worked out a possible solution to the situation presented in the "Sortability" tag at the top of the "Episodes, films, and shorts" page. Please see here for details, and feel free to implement it if it meets approval.

Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 23:39, March 4, 2015 (UTC)

I don't really think this is necessary, it just makes the tables more crowded and confusing. If it's that big of an issue, why not just state in the shorts section that some of them were released while season four was airing? ~Bobogoobo (talk) 40?cb=20120702121758 18:51, March 5, 2015 (UTC)
Because the top of the page specifically requests "copy editing for sortability (some of the animated shorts were released before some season four episodes aired; it should be made possible to sort by date)". Combining the two sections, since they overlap date-wise, is the only solution I could think of.

Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 19:00, March 5, 2015 (UTC)

What I meant to say was I think your solution is a good fit for the given requirements, but I disagree with the notice at the top of the page. ~Bobogoobo (talk) 40?cb=20120702121758 03:21, March 6, 2015 (UTC)
Ah.

Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 04:12, March 6, 2015 (UTC)

I agree with Bobo, I see little value in arranging it into a single table for sortability purposes – this might meke look the shorts as if they were integral part of season 4 (which is not true). Maybe we should be actually discussing whether to actually do as the person who put the notice would like to have it done or to ignore it and remove the notice? Vengir (talk) 20:52, March 10, 2015 (UTC)
Well, going back through the history, this is the guy who added it last April: User:(7)6(four) , per this link: http://mlp.wikia.com/wiki/Episodes,_films,_and_shorts?diff=1144792&oldid=1143628 .
Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 00:00, March 11, 2015 (UTC)
More consistent as long as this wiki uses episodes' original-premiere-date order rather than episodes' official-production-number order (though I myself wish the wiki would use the other order). Anyway, to avoid merging only certain sections, how about merging all the sections into a single list and having more-detailed subpages? (7)6(four) (talk) 01:10, March 11, 2015 (UTC)
I like that idea. However, I think the current page layout is more useful and informative, and each season already has a dedicated section in My Little Pony Friendship is Magic#Episodes. I would propose a subpage containing the merged list. ~Bobogoobo (talk) 40?cb=20120702121758 02:26, March 11, 2015 (UTC)
Would this work? (The only problem I see is that the dates with citations included wind up at the top when I sort it by date.)
Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 02:46, March 11, 2015 (UTC)
I've got an idea on how to fix that. This is a similar method that Polish wiki uses to have list sortable by date and still have the dates in other format than YYYY-MM-DD. Just give me a moment. Vengir (talk) 07:29, March 11, 2015 (UTC)
Done. The "data-sort-value" allows a cell to be sorted as if something else was written inside it. This does not only fixes cells with refs, but also allows us to make sure that same-day two parters are sorted correctly (notably when sorting by date descending) – just add a single day to the value of the parameter. Oh, and if you ever decide to change the date format, there are better method available than data-sort-value; Polish wiki had no other choice in their case, but there are better methods available for English wikis. Vengir (talk) 08:06, March 11, 2015 (UTC)
If it works, it works, and I greatly appreciate the fix.
Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 14:08, March 11, 2015 (UTC)
Looks good, I'd recommend using sortkeys for episode titles starting with "A" and "The" as well. ~Bobogoobo (talk) 40?cb=20120702121758 17:12, March 11, 2015 (UTC)
If someone knows how to do so, they're more than welcome to. In the meantime, I'm still adding new episodes and shorts as they're revealed to the listing on the second sandbox to keep it up to date; explanations for episode designations (since I recently modified the ones for the shorts) are on its talk page.
Until next time... Anon e Mouse Jr. Anon e Mouse Jr. (talk) 01:08, April 2, 2015 (UTC)
Advertisement