Page MenuHomePhabricator

Changing namespaces in Friulian Wiki
Closed, ResolvedPublic

Description

Author: adecorte

Description:
Hi, I would like to translate namespace in Friulian wiki, and also change
{{SITENAME}} variable. Who can do this?
Thanks
Andre


Version: unspecified
Severity: normal
URL: http://fur.wikipedia.org/wiki/template:wikivar

Details

Reference
bz2277

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:32 PM
bzimport set Reference to bz2277.
bzimport added a subscriber: Unknown Object (MLST).

adecorte wrote:

Hi, Wikipedia: should become Vichipedie, and also the site name should be
Vichipedie; the others namespace are in the lang file which i'll post later

jeluf wrote:

To change namespace etc, we have to create a language file. Will wait until you
submit your language file.

adecorte wrote:

friulian (fur) language file with translated namespaces; please test it if it works correctly

friulian language file

attachment LanguageFur.php ignored as obsolete

avarab wrote:

(In reply to comment #3)

Created an attachment (id=613) [edit]
friulian (fur) language file with translated namespaces; please test it if it
works correctly

  1. Please don't define the bookstore list array or export it if you're going to

put nothing in it.

  1. Don't use the $wgTranslateNumerals global unless Friulian is a language where

people frequently use two styles numbers.

  1. use parent:: not Language::, and for that matter don't use $wgAllMessagesEn,

just use the parent function.

  1. When translating only a part of an array/associative array, use + to inherit

the rest.

  1. Don't use the raw output from Special:Allmessages, we don't need all those

comments.

  1. don't use <charinsert> or other wikipediaisms.

adecorte wrote:

(In reply to comment #4)

(In reply to comment #3)

Created an attachment (id=613) [edit] [edit]
friulian (fur) language file with translated namespaces; please test

  1. fixed
  2. fixed
  3. use parent:: not Language::, and for that matter don't use

$wgAllMessagesEn, just use the parent function.
I replaced the only istance of Language with parent, but what about the second
part? I didn't understand what you mean

  1. When translating only a part of an array/associative array, use + to

inherit the rest.
So should I leave there only the translated messages and delete every comment?

  1. Don't use the raw output from Special:Allmessages, we don't need all those

comments.

  1. fixed

Thanks for your help

adecorte wrote:

Hi, I have an updated friulian translation with many more strings
translated. However I would remind you that on Friulian wiki, the
SiteName haven't been changed to Vichipedie yet, neither the main
Namespace. I also didn't see fur.wiki in the list of dumps: do we
risk to lose the articul in case of some accident?
Thanks
Andre

adecorte wrote:

Friulian (fur) language file, please test

attachment LanguageFur.php ignored as obsolete

adecorte wrote:

latest friulian (fur) translation

Attached:

gangleri wrote:

*** Bug 2276 has been marked as a duplicate of this bug. ***

The current file looks about the same, plus or minus some changed lines
for format tweaks etc. Marking this FIXED, assuming someone applied the
file and forgot to close the bug.

gangleri wrote:

added url

Please see [[fur:template_talk:wikivar#msgnw_MediaWiki_Copyrightwarning]]:
MessagesFur.php still contains some wikipediaisms.