[pmwiki-users] Lithuanian - Names of Pages

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 5 09:45:42 CST 2005


On Mon, Dec 05, 2005 at 05:36:03PM +0200, Andrius Kulikauskas wrote:
> Lithuanian is similar to English in that it is based on the Latin 
> alphabet.  What's happening now is that when a phrase is used as a wiki 
> word, then all of its letters are run together without any spaces, and 
> also there is no capitalization of either the first word or the 
> subsequent words.  Is capitalization possible with UTF-8?  It would be 
> good to have a uniform resolution of the wiki words because otherwise 
> we're getting lower case and upper case variation of the same words and 
> phrases.
> 
> For our wiki I think the best behavior would be as in English that when 
> a phrase is used as a wiki word, then the name for the associated page 
> is given as capitalized words without any spaces in between, for 
> example: NameOfPage  Currently, I'm getting  nameofpage  Nameofpage etc.

Hmmm, I'm not entirely understanding the question.  If you're using 
NameOfPage as a wikiword, then the resulting page name should be 
NameOfPage -- PmWiki doesn't change the capitalization of wikiwords.

However, if you're using [[name of page]] as a page link (not a
wikiword), then PmWiki converts that to NameOfPage as the page name.
Same thinkg for [[Name of page]] and [[Name Of Page]] -- all of them
are supposed to be converted into NameOfPage for the pagename.

The utf-8 handler is supposed to understand and properly convert capitals 
for [[page links]], but PHP doesn't provide any convenient mechanism for
non-ASCII uppercase and lowercase letters in WikiWords.  So, the best
bet is to always use double brackets to denote page links, and that
should work everywhere.  (English/US-ASCII wikiwords should still work
if wikiwords are enabled, however.)

Hope this helps,

Pm




More information about the pmwiki-users mailing list