Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: poll ideas quest 2014

by Tux (Canon)
on Sep 15, 2014 at 13:20 UTC ( [id://1100599]=note: print w/replies, xml ) Need Help??


in reply to Re^2: poll ideas quest 2014
in thread poll ideas quest 2014

That link doesn't work anyway in all countries where the way to write a date is "19 September" instead of "September 19". The wiki-link will use the local version of wikipedia, so my result is empty.

Lets try to force all countries worldwide to use ISO.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^4: poll ideas quest 2014
by choroba (Cardinal) on Sep 15, 2014 at 13:27 UTC
    Oh, my excuses. It isn't documented in What shortcuts can I use for linking to other information? and I never noticed it doesn't work. Do you mean, if I set my locales to cs_CZ, I'd need to write [wp://19. září]? Where does this cleverness happen, at PerlMonks or at Wikipedia?
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      In your Display Settings, you can choose a Language preference for WikiMedia links, which decides the prefix you get instead of en.wikipedia.org.

        Thank you. From now on, I will never use the [wp://...] shortcut.
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Re^4: poll ideas quest 2014
by chacham (Prior) on Sep 16, 2014 at 02:36 UTC

    Wow, didn't realize that. Does this only apply to dates? I'll put the full link in there for now.

      I guess it simply uses "http://$language.wikipedia.org/wiki/$whateverthetextis".

      The most correct, but convoluted way would be to use node author's language to look up the entry, get the "read this in another language", and select the link according to the reader's language. If the reader's language doesn't have an entry there, hmmm.... select according to a preference list (reader's browser or so)?

      Easiest would be to stick to english - we non-native speakers are already used to that, and can press the "read in another language" ourselves ;-)

        I'm beginning to think it's wikipedia that is doing this all wrong. But, i'm not even sure there would be a right way, unless they used shortcuts instead of titles.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1100599]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-23 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found