[pmwiki-users] Lithuanian - Names of Pages

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 5 10:34:34 CST 2005


On Mon, Dec 05, 2005 at 06:08:14PM +0200, Andrius Kulikauskas wrote:
> [[Test Page]] yields:
> http://www.ms.lt/lt/index.php/Min%c4%8di%c5%b3Sodas/TestPage
> 
> but [[test page]] yields:
> http://www.ms.lt/lt/index.php/Min%c4%8di%c5%b3Sodas/testpage
> 
> See the pages... It would be good if they went to the same page, 
> preferably TestPage.

It's supposed to work that way.  Could you quickly verify that 
you have the most recent version of the scripts/xlpage-utf-8.php 
file?  

It seems to be working for me at 
http://www.pmichaud.com/sandbox/lt/pmwiki.php -- both [[test page]]
and [[Test Page]] are going to the same location.

Thanks,

Pm

> Patrick R. Michaud wrote:
> >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
> >
> >
> 
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 




More information about the pmwiki-users mailing list