-----Original Message----- From: Bjorn Kassoe Andersen [mailto:kassoe@direction.dk] Sent: 5. februar 2010 17:38 To: 'MediaWiki announcements and site admin list' Subject: Order of 1st-2nd names of persons in page titles and category list
Hi,
I'm working on a wiki that include book titles and book authors, all in the same name space.
I want to be able to display a list of authors by second name. All authors are in a the category "Author" and I use the [[Category:NAME|SORT]] to sort by second name.
The category list I get this way does sort as specified, but each author is still displayed with the first name first - which makes list hard to overview.
Appears that I do have an option to change the page titles for author pages to "[2nd name],_[1st name]" - but I'd prefer not to do this.
Any hints?
Regards Bjorn
Hey Bjorn,
You can write your own custom category page extension, but names are a real pain. We've found that you can't ever be certain that you will always get names of the form <first><space><last>. There will always be apostrophe and dash names as well as people with more than two names. Since there is no meta-data about your page titles you are pretty much at the mercy of your authors. You may have a little more luck with Semantic MediaWiki since you could tell the wiki specifically which part of the name you cared about. Good luck.
-Courtney