Last modified: 2006-06-02 18:57:12 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 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)
1.7.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links