Last modified: 2006-02-19 05:57:14 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 4685 - Slovenian LanguageSl.php hardcodes project namespace as Wikipedija
Slovenian LanguageSl.php hardcodes project namespace as Wikipedija
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://cvs.sourceforge.net/viewcvs.py...
:
Depends on:
Blocks: 4130
  Show dependency treegraph
 
Reported: 2006-01-20 08:50 UTC by lɛʁi לערי ריינהארט
Modified: 2006-02-19 05:57 UTC (History)
2 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-01-20 08:50:53 UTC
Hallo Klemen!

The CVS LanguageSl.php file shows:
/** TODO: fixme, remove wikipedia
/* private */ $wgNamespaceNamesSl = array(
        ...
	NS_PROJECT        => "Wikipedija",
	NS_PROJECT_TALK   => "Pogovor_k_Wikipediji",

From bug 4282 comment #14:
> http://sl.wikibooks.org/wiki/template:Wikivar (Wikipedija)
> http://sl.wikiquote.org/wiki/template:Wikivar (Wikipedija)
> http://sl.wiktionary.org/wiki/template:Wikivar (Wikipedija)
still have {{ns:project}} == (Wikipedija)
like http://sl.wikipedia.org/wiki/template:Wikivar (Wikipedija)

Last bug report about LanguageSl.php was
Bug 4061: Update of Slovene Wikipedia (:sl) language file (LanguageSl.php)

All have SITENAME's with English names. Will these fit Mediawiki messages?

best regards reinhardt [[user:gangleri]]
Comment 1 Klemen Kocjancic 2006-01-20 12:17:59 UTC
So far we're using this on our Main page:
-http://sl.wikibooks.org/wiki/template:Wikivar (Wikipedija) -> Wikiknjige
-http://sl.wikiquote.org/wiki/template:Wikivar (Wikipedija) -> Wikinavedek
-http://sl.wiktionary.org/wiki/template:Wikivar (Wikipedija) -> Wikislovar

Regards,
Klemen
Comment 2 lɛʁi לערי ריינהארט 2006-01-20 16:44:25 UTC
(In reply to comment #1)
> So far we're using this on our Main page:
> ...

Thanks Klemen for the feedback!

I can see that in the Slovenian language the declension will not preserve the
project names 100%. Can you please fill missing informations below?

sl.wikibooks
NS_PROJECT => "Wikiknjige",
NS_PROJECT_TALK => "Pogovor_k_Wiki...",
SITENAME => "Wiki..." ; Nominativ

sl.wikiquote
NS_PROJECT => "Wikinavedek",
NS_PROJECT_TALK => "Pogovor_k_Wiki...",
SITENAME => "Wiki..." ; Nominativ

sl.wiktionary
NS_PROJECT => "Wikislovar",
NS_PROJECT_TALK => "Pogovor_k_Wiki...",
SITENAME => "Wiki..." ; Nominativ

sl.wikipedia
SITENAME => "Wikipedija" ; Nominativ please confirm

Please see also
Bug 4693: Provide more grammatical case variants for {{SITENAME}}, if necessary
also with appended articles

best regards reinhardt [[user:gangleri]]
Comment 3 lɛʁi לערי ריינהארט 2006-01-23 21:29:43 UTC
Klemen provided the required information:

1) The names of the namespaces are available at
[[q:sl:template_talk:wikivar#names_of_the_namespaces]]

2) function convertGrammar is available at
[[q:sl:template:wikivar/GRAMMAR#alternative_code]]

3) function LanguageSl()is available at
[[q:sl:template_talk:wikivar#function_LanguageSl]]

Please verify and add these peaces of code and whatever else is required to fix
bug 4685.

test cases are available at
[[w:sl:MediaWiki_talk:Aboutpage]]
[[w:sl:MediaWiki_talk:Aboutsite]]
[[w:sl:MediaWiki_talk:Anonymous]]

[[w:sl:template:wikivar#ns_5]]
[[b:sl:template:wikivar#ns_5]]
[[q:sl:template:wikivar#ns_5]]
[[wikt:template:wikivar#ns_5]]
[[w:sl:template:wikivar#SITENAME]]
[[b:sl:template:wikivar#SITENAME]]
[[q:sl:template:wikivar#SITENAME]]
[[wikt:sl:template:wikivar#SITENAME]]

Thanks Klemen and best regards! reinhardt [[user:gangleri]]
Comment 4 Rob Church 2006-01-24 02:12:38 UTC
Someone with shell access will need to check the configuration on affected
sites, to ensure that the namespaces are set, prior to us removing this from the
code. We don't want to break the live site.
Comment 5 lɛʁi לערי ריינהארט 2006-02-18 18:58:25 UTC
Niklas suggested to change the sitenames *first*:

According to
[[q:sl:template:Wikivar/GRAMMAR#alternative_code]]
the sitenames should be as follows:

Slovenian Wikipedia  :: 'Wikipedija'
Slovenian Wikibooks  :: 'Wikiknjige'
Slovenian Wikiquote  :: 'Wikinavedek'
Slovenian Wiktionary :: 'Wikislovar'

Please change the sitenames asap. Thanks in advance.

*note* There are neither a Slovenian Wikinews nor a Slovenian Wikisource.

The *next* step will be to commit
http://idler.paivola.fi/betawiki/LanguageSl
to CVS.

Thanks to Niklas and to all for the support.
Comment 6 Brion Vibber 2006-02-18 20:16:01 UTC
I've set the sitenames. File needs to be updated.
Comment 7 Brion Vibber 2006-02-19 00:11:34 UTC
Various conflicting pages:

slwiki

...  *** using suffixed form [[Predloga:Odvetniki/broken]] ***
...  *** using suffixed form [[Predloga:User es-1/broken]] ***
...  *** using suffixed form [[Kategorija:Admiralski čini/broken]] ***
...  *** using suffixed form [[Kategorija:Albumi iz 1998/broken]] ***
...  *** using suffixed form [[Kategorija:Angleške verske osebnosti/broken]] ***
...  *** using suffixed form [[Kategorija:Belgijski atleti/broken]] ***
...  *** using suffixed form [[Kategorija:Brigade Vojske Jugoslavije/broken]] 
***
...  *** using suffixed form [[Kategorija:Brigade druge svetovne vojne/broken]] 
***
...  *** using suffixed form [[Kategorija:Generali Wehrmachta/broken]] ***
...  *** using suffixed form [[Kategorija:Geometri/broken]] ***
...  *** using suffixed form [[Kategorija:Indijski matematiki/broken]] ***
...  *** using suffixed form [[Kategorija:Jože Plečnik/broken]] ***
...  *** using suffixed form [[Kategorija:Judo/broken]] ***
...  *** using suffixed form [[Kategorija:Kanadčani/broken]] ***
...  *** using suffixed form [[Kategorija:Kiribati/broken]] ***
...  *** using suffixed form [[Kategorija:Književni junaki/broken]] ***
...  *** using suffixed form [[Kategorija:Leto 1530/broken]] ***
...  *** using suffixed form [[Kategorija:Leto 1533/broken]] ***
...  *** using suffixed form [[Kategorija:Leto 1599/broken]] ***
...  *** using suffixed form [[Kategorija:Leto 1716/broken]] ***
...  *** using suffixed form [[Kategorija:Nosilci spominskega znaka za zavzetje 
skladišča Borovnica/broken]] ***
...  *** using suffixed form [[Kategorija:Oborožene sile Združenega kraljestva/
broken]] ***
...  *** using suffixed form [[Kategorija:Oklepna izvidniška vozila/broken]] ***
...  *** using suffixed form [[Kategorija:Pihala/broken]] ***
...  *** using suffixed form [[Kategorija:Plemstvo/broken]] ***
...  *** using suffixed form [[Kategorija:Podporne skupine Korpusa mornariške 
pehote ZDA/broken]] ***
...  *** using suffixed form [[Kategorija:Prazgodovina/broken]] ***
...  *** using suffixed form [[Kategorija:Predsedniki vlade po državah/broken]] 
***
...  *** using suffixed form [[Kategorija:Protestanti/broken]] ***
...  *** using suffixed form [[Kategorija:Puškomitraljezi/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1238/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1244/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1286/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1369/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1403/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1455/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1462/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1509/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1528/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1563/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1643/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1645/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1727/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1758/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1772/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1804/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1807/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1862/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1922/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1929/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 1946/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 704/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 715/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 728/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 813/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 833/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 902/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 904/broken]] ***
...  *** using suffixed form [[Kategorija:Rojeni leta 926/broken]] ***
...  *** using suffixed form [[Kategorija:Slovenski popotniki/broken]] ***
...  *** using suffixed form [[Kategorija:Sovjetske slike pred letom 1973/
broken]] ***
...  *** using suffixed form [[Kategorija:Srednje šole v Sloveniji/broken]] ***
...  *** using suffixed form [[Kategorija:Tihi ocean/broken]] ***
...  *** using suffixed form [[Kategorija:Umorjeni ljudje/broken]] ***
...  *** using suffixed form [[Kategorija:Umorjeni pripadniki ruske kraljeve 
družine/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 1021/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 1239/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 1560/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 19/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 196/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 385/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 398/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 414/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 559/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 657/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 791/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 859/broken]] ***
...  *** using suffixed form [[Kategorija:Umrli leta 911/broken]] ***
...  *** using suffixed form [[Kategorija:Uporabnik cs-1/broken]] ***
...  *** using suffixed form [[Kategorija:Urarstvo/broken]] ***
...  *** using suffixed form [[Kategorija:Varnost/broken]] ***
...  *** using suffixed form [[Kategorija:Vojaške enote vietnamske vojne/
broken]] ***
...  *** using suffixed form [[Kategorija:Zaslonske slike/broken]] ***
...  *** using suffixed form [[Kategorija:Zgodovina Južne Amerike/broken]] ***
...  *** using suffixed form [[Kategorija:Zračne postaje Korpusa mornariške 
pehote ZDA/broken]] ***
...  *** using suffixed form [[Kategorija:Češkoslovaška/broken]] ***
...  *** using suffixed form [[Kategorija:Švicarski književniki/broken]] ***

slwikibooks

...  *** using suffixed form [[Wikiknjige:Administratorji/broken]] ***
...  *** using suffixed form [[Wikiknjige:Dobrodošli, novinci/broken]] ***
...  *** using suffixed form [[Wikiknjige:Dogovori o poimenovanjih/broken]] ***
...  *** using suffixed form [[Wikiknjige:Najpogostejša vprašanja/broken]] ***
...  *** using suffixed form [[Wikiknjige:Najpogostejše stranpoti Wikipedije/
broken]] ***
...  *** using suffixed form [[Wikiknjige:Nepristransko stališče videnja/
broken]] ***
...  *** using suffixed form [[Wikiknjige:Prošnje za administratorstvo/broken]] 
***
...  *** using suffixed form [[Wikiknjige:Prošnje za administratorstvo/Klemen 
Kocjancic/broken]] ***

slwikiquote

...  *** using suffixed form [[Wikinavedek:Administratorji/broken]] ***
...  *** using suffixed form [[Wikinavedek:Dobrodošli, novinci/broken]] ***
...  *** using suffixed form [[Wikinavedek:Dogovori o poimenovanjih/broken]] ***
...  *** using suffixed form [[Wikinavedek:Najpogostejša vprašanja/broken]] ***
...  *** using suffixed form [[Wikinavedek:Najpogostejše stranpoti Wikipedije/
broken]] ***
...  *** using suffixed form [[Wikinavedek:Nepristransko stališče videnja/
broken]] ***
...  *** using suffixed form [[Wikinavedek:Primernosti in smernice/broken]] ***
...  *** using suffixed form [[Wikinavedek:Prošnje za administratorstvo/broken]] 
***
...  *** using suffixed form [[Wikinavedek:Prošnje za administratorstvo/Klemen 
Kocjancic/broken]] ***

slwiktionary
...  *** using suffixed form [[Wikislovar:Portal občestva/broken]] ***

Comment 8 lɛʁi לערי ריינהארט 2006-02-19 02:23:05 UTC
Thanks Brion for putting the patch life!

This was a great step for Slovanian projects.

There are two problems:
1) *major* the {{ns:project_talk}} namespaces have double "_o" i.e. "_o_o"
folowed by a *space*; only one "_o_" should be there and *no* space
2) *trivial*
- case 'tožilnik': # akuzatív
should be changed in 
+ case 'tožilnik': # akuzatív
using a simple latin "i"

see problem 1) at
http://sl.wikipedia.org/w/index.php?title=Predloga:Wikivar&action=purge#ns_5
http://sl.wikibooks.org/w/index.php?title=Predloga:Wikivar&action=purge#ns_5
http://sl.wikiquote.org/w/index.php?title=Predloga:Wikivar&action=purge#ns_5
http://sl.wiktionary.org/w/index.php?title=Predloga:Wikivar&action=purge#ns_5

GRAMMAR works fine for me at [[sl:help:GRAMMAR]] [[b:sl:help:GRAMMAR]]
[[q:sl:help:GRAMMAR]] and [[wikt:sl:help:GRAMMAR]]

correcting bad links from comment 3
[[sl:MediaWiki_talk:Aboutpage]]
[[sl:MediaWiki_talk:Aboutsite]]
[[sl:MediaWiki_talk:Anonymous]]

[[sl:template:wikivar#ns_5]]
[[sl:template:wikivar#SITENAME]]

best regards reinhardt [[user:gangleri]]
Comment 9 lɛʁi לערי ריינהארט 2006-02-19 04:05:33 UTC
sugested canges for
http://cvs.sourceforge.net/viewcvs.py/wikipedia/phase3/languages/LanguageSl.php?rev=1.65&view=markup
a) line
-$wgNamespaceNamesSl[NS_PROJECT_TALK] = 'Pogovor_o_' . $this->convertGrammar(
$wgMetaNamespace, 'orodnik' );
+$wgNamespaceNamesSl[NS_PROJECT_TALK] = 'Pogovor_' . $this->convertGrammar(
$wgMetaNamespace, 'orodnik' );

b) line
- case 'tožilnik': # akuzatív
+ case 'tožilnik': # akuzatív
using a simple latin "i"

c) plaese replace spaces in
'case 'mestnik': # locative'
'z foo'; should be 'z_foo';
and
'case 'orodnik': # instrumental'
'o foo'; should be 'o_foo';

best regards reinhardt [[user:gangleri]]
Comment 10 Brion Vibber 2006-02-19 05:57:14 UTC
The spaces in convertGrammar are correct. I've changed the use of it, however, for the namespace generation.

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


Navigation
Links