Hi Asaf.

> 1. I have the form:author, which sends the entries to the category:authors,
> but they list by their first names, and I need it to list by their last
> names. I tried using DEFAULTSORT, but I don't know how to add it to the
> syntax of the form or template.

You have to put it in the template definition. It should look something
like this: {{DEFAULTSORT:{{{LastName}}}, {{{FirstName}}}}}

You could instead also specify the page category like this:
[[Category:Author|{{{LastName}}}, {{{FirstName}}}]].

See http://www.mediawiki.org/wiki/Category#Sort_key


> 2. When you look at a person's page you see their occupation, for instance,
> author, which comes from the property occupation::author. I want this to
> link to the category:authors. I couldn't find any way to piped-link from a
> template at all.

I would probably separate the two problems, e.g. write
[[occupation::Author|]][[:Category:Author]]
This first will silently set the property, the second is the link to the
category.


> 3. I have the authors birth date separated from their birth year. Is there a
> way to pick and display a date without the year?

Nothing ready-made. I could think of several ways to come close:
- Let the user choose the birthday including the year and separate it in
the template using the #time function
- Use one field of input type text
- Use two fields of input type text (or dropdown)
- Try if input type menuselect works

Stephan

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to