Thanks Markus! I'll try to come up with some code - it will increase readability dramatically.
Yury Katkov, WikiVote

On Tue, May 14, 2013 at 4:49 PM, Markus Krötzsch <> wrote:
The URLs currently go through an encoding that eliminates all non-ascii characters (URL encoding) and then replaces % by -. This ensures that all generated URLs also can be used in MediaWiki links (e.g., in article names pointing to the Special URI resolver page), and that we can always produce valid RDF/XML exports (this syntax requires some URI parts to occur in XML element names, which leads to additional constraints). I still think that one would not need to escape Cyrillic letters for these reasons. If you have code that does the job better (encoding and decoding, capturing all symbols that cause trouble in XML or MW but nothing else), then we could make this an option (all of this encoding is in one file, so it can be changed).


Yury Katkov, WikiVote

Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today!
Semediawiki-devel mailing list