Last modified: 2010-05-15 14:36:20 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 2467 - LanguageTr.php
LanguageTr.php
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Language setup (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://meta.wikimedia.org/wiki/Langua...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-20 20:31 UTC by Dbl2010
Modified: 2010-05-15 14:36 UTC (History)
1 user (show)

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


Attachments
first LanguageTr.php (1.36 KB, text/plain)
2005-06-20 20:33 UTC, Dbl2010
Details
corrected version of LanguageTR.php with utf8 encoding (1.39 KB, text/plain)
2005-06-21 01:49 UTC, Dbl2010
Details
Missing function 'commafy' added. (1.43 KB, text/plain)
2005-06-22 13:26 UTC, Dbl2010
Details

Description Dbl2010 2005-06-20 20:31:38 UTC
Basic necessary namespace update for Turkish language. Since there is no
LanguageTr.php yet in cvs repository, this will be the first version. It is
prepaired by using latest available Language.php file.
Comment 1 Dbl2010 2005-06-20 20:33:49 UTC
Created attachment 622 [details]
first LanguageTr.php
Comment 2 Ævar Arnfjörð Bjarmason 2005-06-20 20:41:11 UTC
Applied to REL1_4 and HEAD.
Comment 3 Dbl2010 2005-06-21 01:46:26 UTC
Comment on attachment 622 [details]
first LanguageTr.php

><?php
>require_once( "LanguageUtf8.php" );
>
>if ( $wgMetaNamespace == "Wikipedia" ) {
>        $wgMetaNamespace = "Vikipedi";
>}
>/* private */ $wgNamespaceNamesTr = array(
>        NS_MEDIA            => 'Media',
>        NS_SPECIAL          => 'Özel',
>        NS_MAIN             => '',
>        NS_TALK             => 'Tartışma',
>        NS_USER             => 'Kullanıcı',
>        NS_USER_TALK        => 'Kullanıcı_mesaj',
>        NS_PROJECT          => $wgMetaNamespace,
>        NS_PROJECT_TALK     => $wgMetaNamespace . '_tartışma',
>        NS_IMAGE            => 'Resim',
>        NS_IMAGE_TALK       => 'Resim_tartışma',
>        NS_MEDIAWIKI        => 'MedyaViki',
>        NS_MEDIAWIKI_TALK   => 'MedyaViki_tartışma',
>        NS_TEMPLATE         => 'Şablon',
>        NS_TEMPLATE_TALK    => 'Şablon_tartışma',
>        NS_HELP             => 'Yardım',
>        NS_HELP_TALK        => 'Yardım_tartışma',
>        NS_CATEGORY         => 'Kategori',
>        NS_CATEGORY_TALK    => 'Kategori_tartışma',
>) + $wgNamespaceNamesEn;
>
>class LanguageTr extends LanguageUtf8 {
>        function getNamespaces() {
>                global $wgNamespaceNamesTr;
>                return $wgNamespaceNamesTr;
>        }
>
>        function formatNum( $number, $year = false ) {
>                return $year ? $number : strtr($this->commafy($number), '.,', ',.' );
>        }
>
>
>
>}
>
>
>?>
Comment 4 Dbl2010 2005-06-21 01:49:55 UTC
Created attachment 623 [details]
corrected version of LanguageTR.php with utf8 encoding

corrected version of first upload
Comment 5 Ævar Arnfjörð Bjarmason 2005-06-21 02:06:08 UTC
(In reply to comment #4)
> Created an attachment (id=623) [edit]
> corrected version with utf8 encoding
> 
> corrected version of first upload

Applied after changing \r\n to \n
Comment 6 Dbl2010 2005-06-22 13:26:04 UTC
Created attachment 630 [details]
Missing function 'commafy' added.

This is a HIGH PRIORITY update, because tr.wikipedia.org is not working at the
moment. Missing function commafy() is added.
Comment 7 Dbl2010 2005-06-22 13:28:50 UTC
Comment on attachment 630 [details]
Missing function 'commafy' added.

tr.wikipedia.org is giving "Fatal error: Call to undefined function: commafy()
in /usr/local/apache/common-local/php-1.4/languages/LanguageTr.php on line 3".
Comment 8 Zigger 2005-06-22 13:37:48 UTC
Comment on attachment 630 [details]
Missing function 'commafy' added.

Removing "patch" flag from complete file attachments.
Comment 9 Brion Vibber 2005-06-23 17:04:45 UTC
I've removed the buggy file from REL1_4.

Updates should go on HEAD for this weekend's 1.5 upgrade.
Comment 10 Brion Vibber 2005-06-23 18:04:16 UTC
Resolving this as fixed-in-cvs. The file as given would need additional work to function properly 
on 1.4, and we're upgrading to 1.5 in a couple days.
Comment 11 Dbl2010 2005-06-26 20:10:50 UTC
(In reply to comment #10)
> Resolving this as fixed-in-cvs. The file as given would need additional work
to function properly 
> on 1.4, and we're upgrading to 1.5 in a couple days.
> 

Fixed LanguageTR.php is still not uploaded on CVS.
Comment 12 Ævar Arnfjörð Bjarmason 2005-06-27 06:13:17 UTC
Lowering priority.
Comment 13 Dbl2010 2005-07-08 18:40:53 UTC
current version works well. no need further fix. 

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


Navigation
Links