Last modified: 2006-06-02 18:57:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8173, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6173 - Merge all UTF-8 support code into Language base class
Merge all UTF-8 support code into Language base class
Status: RESOLVED DUPLICATE of bug 2069
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2006-06-02 17:08 UTC by Rotem Liss
Modified: 2006-06-02 18:57 UTC (History)
0 users

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

Patch (trunk) (63.75 KB, patch)
2006-06-02 17:09 UTC, Rotem Liss

Description Rotem Liss 2006-06-02 17:08:06 UTC
Because every language is now UTF-8, we should merge the LanguageUtf8 class
(languages/LanguageUtf8.php) into the base Language class
(languages/Language.php). It's marked as FIXME in Language.php, however it is
not fixed yet, so I've fixed it.
Comment 1 Rotem Liss 2006-06-02 17:09:05 UTC
Created attachment 1879 [details]
Patch (trunk)

In this patch, I've copied all the functions in LanguageUtf8 into Language,
replaced the general functions of Language with the functions of LanguageUtf8,
replaced "extends LanguageUtf8" with "extends Language", and removed the
"require_once" of LanguageUtf8.php (no need to include Language.php, it is
already included in includes/Setup.php).
Comment 2 Brion Vibber 2006-06-02 18:57:12 UTC

*** This bug has been marked as a duplicate of 2069 ***

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