Ranking articles?

Post all your Ultima Online and UOGuide related discussion topics here.
Merion
Neophyte
Posts: 9
Joined: Mon Mar 31, 2008 2:12 pm
Contact:

Ranking articles?

Postby Merion » Thu Dec 08, 2011 2:20 pm

Hi,

I was just looking at some monster page and thought how cool it would be to have a list ordered by the amount of fame a monster gives.

So the question is:
Would it be possible to generate lists of articles sorted by the value of a certain field?

Would also be nice to sort weapons by swing speed and so forth.

User avatar
JC the Builder
Site Admin
Posts: 428
Joined: Fri Mar 11, 2011 2:52 pm
Contact:

Re: Ranking articles?

Postby JC the Builder » Fri Dec 09, 2011 7:35 pm

I don't think this is possible without special extensions. It would probably be easier for someone to simply create a list manually. There are only a couple hundred monsters. Start up a spreadsheet, enter the name and creature, then sort by fame column.

Merion
Neophyte
Posts: 9
Joined: Mon Mar 31, 2008 2:12 pm
Contact:

Re: Ranking articles?

Postby Merion » Sat Dec 10, 2011 4:25 pm

Ok, that does sound like a lot of work. Especially to pay attention that it doesn outdate.

It should be possible to make something like that automatically - mediawiki stores everything in an sql database after all. I'll keep an eye open for a suitable extension ;) mediawiki thankfully doesn't make it very hard to include those.

User avatar
JC the Builder
Site Admin
Posts: 428
Joined: Fri Mar 11, 2011 2:52 pm
Contact:

Re: Ranking articles?

Postby JC the Builder » Sun Dec 11, 2011 11:20 pm

While everything is stored in a database, articles are stored as one large piece of text. Monster statistics are not sorted in their own columns, which would allow for easy sorting by an attribute such as fame.

DracoHandsome
Neophyte
Posts: 1
Joined: Wed Feb 01, 2012 2:27 am
Contact:

Re: Ranking articles?

Postby DracoHandsome » Wed Feb 01, 2012 3:35 am

Semantic MediaWiki allows this functionality (and in fact is expressly designed to do that), but the administrators have to install it.

It's as simple as dropping the extension into a folder and adding 2 or 3 lines to LocalSettings... but public access to the server has to be postponed while the administrators open Special:SMWAdmin and run the initialization to update the SQL tables and such.

It's definitely a big help in terms of sorting, though.

EDIT:

What Semantic MediaWiki does is allow you to specify variables (Properties) attached to an article and then query for those values and generate a page based on them.

So for instance, on the monster page you would put [[Fame::1400]] and it will set a variable "Fame" on the article at 1400.

You can later request a list of all articles that have their Fame set to anything, and tell it to sort by Fame.

In fact, it can automatically generate a table listing every monster's name, STR, INT, DEX, Fame, Karma, etc., and without changing the page you can sort by any of those.

User avatar
JC the Builder
Site Admin
Posts: 428
Joined: Fri Mar 11, 2011 2:52 pm
Contact:

Re: Ranking articles?

Postby JC the Builder » Thu Feb 02, 2012 9:08 am

Thank you for informing us about this extension Draco. If the rest of the UOGuide staff agrees that this would be a useful extension to install then it can be done.

mahi
Neophyte
Posts: 1
Joined: Mon Oct 07, 2013 2:43 am
Contact:

Re: Ranking articles?

Postby mahi » Mon Oct 07, 2013 2:47 am

I am sure someone out there has a Castle they would like to sell on the Great Lakes or Baja shards. ICQ 634286559


Return to “UOGuide Bulletin Board”

Who is online

Users browsing this forum: No registered users and 49 guests