Last modified: 2005-12-01 19:23:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4128 - MediaZilla does not render wiki links for many UTF-8 characters
MediaZilla does not render wiki links for many UTF-8 characters
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
unspecified
All All
: Low trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://bugzilla.wikimedia.org/show_bu...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-12-01 09:55 UTC by lɛʁi לערי ריינהארט
Modified: 2005-12-01 19:23 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description lɛʁi לערי ריינהארט 2005-12-01 09:55:52 UTC
Hallo!

As long as Bugzilla does not have a "preview mode" (compare with
https://bugzilla.mozilla.org/show_bug.cgi?id=40896 Bugzilla needs a "preview"
mode) it would be great to render wiki links with UTF-8 characters the same way
as in MediaWiki.

request: wiki links as

[[en:Timişoara]] should generate
http://en.wikipedia.org/wiki/Timi%C5%9Foara

[[yi:פּױלן]] should generate
http://yi.wikipedia.org/wiki/%D7%A4%D6%BC%D7%B1%D7%9C%D7%9F

etc.

I assume that a change will fix the existing wiki links in all bugs from the
database.

Thanks in advance for fixing this!

best regards reinhardt [[user:gangleri]]
Comment 1 lɛʁi לערי ריינהארט 2005-12-01 10:00:08 UTC
> [[yi:פּױלן]] should generate
> http://yi.wikipedia.org/wiki/%D7%A4%D6%BC%D7%B1%D7%9C%D7%9F

I mean

[[yi:פּױלן]] should generate
http://en.wikipedia.org/wiki/yi:%D7%A4%D6%BC%D7%B1%D7%9C%D7%9F

compare with
Bug 4122: Interwiki links in MediaZilla all point to English Wikipedia
Comment 2 Brion Vibber 2005-12-01 10:04:16 UTC
Adjusted the regex globals.pl hack:

    # **** Dirty hack! --brion
    $text =~ s~\[\[([a-zA-Z0-9_ ,./'()!#%:\x80-\xff-]+)\]\]
              ~($tmp = html_quote($1)) &&
               ($things[$count++] = "<a href=\"http://en.wikipedia.org/wiki/$tmp\">[[$tmp]]</a>") &&
               ("\0\0" . ($count-1) . "\0\0")
              ~egox;
    # **** end dirty hack

Now works.
Comment 3 lɛʁi לערי ריינהארט 2005-12-01 19:23:42 UTC
Thanks a lot Brion!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links