Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech
IRI for {{canonicalurl:}}?
 

Index | Next | Previous | View Flat


raimond.spekking at gmail

Apr 21, 2012, 5:50 AM


Views: 71
Permalink
IRI for {{canonicalurl:}}?

Looking at
https://en.wikipedia.org/w/index.php?title=Special:Cite&page=%C4%B0stanbul_B%C3%BCy%C3%BCk%C5%9Fehir_Belediyespor_%28football_team%29&id=483557138
you see a lot of unpretty URLs (Bug 7329 [0]).

With https://gerrit.wikimedia.org/r/#change,3897 a new global function
wfExpandIRI() was introduced for printer friendly URLs in unicode.

First and easiest solution for pretty URLs would be to run the function
which outputs {{canonicalurl:}} through wfExpandIRI().

Is this safe? Are all browsers able to handle IRIs [1]?

Otherwise I am thinking about creating a new magic word
{{canonicaliri:}}. This can be used in [2] for example.

Raimond.

[0] https://bugzilla.wikimedia.org/show_bug.cgi?id=7329
[1] https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
[2] https://en.wikipedia.org/wiki/MediaWiki:Cite_text
Attachments: signature.asc (0.25 KB)

Subject User Time
IRI for {{canonicalurl:}}? raimond.spekking at gmail Apr 21, 2012, 5:50 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.