On Friday 14 January 2005 22:53, Brion Vibber wrote:
Dates and times occur in three types:
- date only (year/month/day given in some particular format)
- time only (hour and seconds)
- date and time together
(I don't think we actually use the day of the week for anything.)
Each is formatted by a method of the Language object (time(), date(), timeanddate()), which can be overridden in the child class for a particular language.
Usually they occur as headers (dates on Special:Recentchanges) or as part of a table (times on Special:Recentchanges, date+time on history list, etc). They may appear in a sentence only in a couple of places I think, such as "Show new changes starting from 19:43, Jan 14, 2005", though you could modify those messages to some more appropriate form if necessary.
Is it possible to set the date format in preferences? For different formats in different contexts, can I define a new method of the Language object?
*Initial capitalization does not exist. Capitalization indicates stress. If you'd like to help me with this, please let me know.
I added the $wgCapitalLinks option some time ago to disable forced title capitalization for languages such as lojban (though it's also gotten used on several of the Wiktionaries simply to enforce lowercase page titles for definitions). If there's anything else necessary to support this, we'll need more detail. :)
That should work, but I don't see wgCapitalLinks in the files I have, which are: Language.php LanguageDe.php LanguageJbo.php Language1.3.php LanguageFr.php LanguageJbo1.3.php So I tried to do it by modifying ucfirst and lcfirst.
Can you install the language file so that I can see what it's doing?
phma