Encyc talk:Questions

From Encyc
Jump to navigation Jump to search

What would you like to know?

What does defaultsort do?[edit]

What does defaultsort do? I'm feeling too lazy to look it up. Auggie 03:09, 22 June 2010 (UTC)

When you look at a category page, pages with that category are by default displayed in alphabetical order. This may be overridden by typing say

[[Category:People|Smith, John]]

to sort it under S rather than J. It is more efficient to use DEFAULTSORT to override all category sorts.

I still don't understand. If you do nothing, shouldn't the behavior already be "default"? Auggie 16:31, 22 June 2010 (UTC)
Perhaps I can help. If you have several categories all with the same category sort key, this could be done in one of two ways. I can't get it to display properly so just look at it in edit mode.

[[Category:Cat1|Smith, John]] [[Category:Cat2|Smith, John]] [[Category:Cat3|Smith, John]] [[Category:Cat4|Smith, John]] [[Category:Cat1]] [[Category:Cat2]] [[Category:Cat3]] [[Category:Cat4]] {{DEFAULTSORT:Smith, John}}--Salisbury 20:08, 22 June 2010 (UTC)