Page MenuHomePhabricator

Set project namespace of Portuguese Wikipedia to "Wikipédia"
Closed, ResolvedPublic

Description

The Project namespace of pt.wikipedia.org should be changed to "Wikipédia", which is the name of the project in Portuguese (this is similar to T21364 about pt.wikibooks).

If I remember correctly, this can be done changing the
following:

'wgMetaNamespace' => array(
    #...
    'ptwiki'  => 'Wikipédia',
    #...
),

'wgMetaNamespaceTalk' => array(
    #...
    'ptwiki'  => 'Wikipédia_Discussão',
    #...
),

Besides this, it would be interesting to have the old name "Wikipedia" as an
alias for the project namespace (this way we don't need to change every link to pages in this namespace at pt.wikipedia).

'wgNamespaceAliases' => array(
    #...
      'Wikipedia' => NS_PROJECT,
      'Wikipedia_Discussão' => NS_PROJECT_TALK,
    #...
),

The change was approved by the community: pt:Wikipédia:Esplanada/propostas/Finalizar a tradução de "Wikipedia" para "Wikipédia" (30nov2010)

Have a nice week!

Details

Reference
bz26320

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz26320.
bzimport added a subscriber: Unknown Object (MLST).
He7d3r created this task.Dec 13 2010, 5:03 PM
  • Bug 26389 has been marked as a duplicate of this bug. ***

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1554)

+++ InitialiseSettings.php (working copy)
@@ -1672,6 +1672,7 @@

'plwikisource'  => 'Wikiźródła',
'plwiktionary'  => 'Wikisłownik',
'pntwiki'       => 'Βικιπαίδεια',

+ 'ptwiki' => 'Wikipédia',

'ptwikimedia'   => 'Wikimedia',
'pswiki'		=> 'ويکيپېډيا' ,
'pswikibooks'	=> 'ويکيتابونه' ,

@@ -1818,6 +1819,7 @@

'newwiki' => 'विकिपिडिया_खँलाबँला',
'noboard_chapterswikimedia' => 'Wikimedia-diskusjon',
'pntwiki'       => 'Βικιπαίδεια_καλάτσεμαν',

+ 'ptwiki' => 'Wikipédia_Discussão',

'ptwikibooks' => 'Wikilivros_Discussão',
'ptwikimedia' => 'Discussão_Wikimedia',
'ruewiki'		=> 'Діскузія_ку_Вікіпедії',

@@ -2313,6 +2315,8 @@

),
'ptwiki' => array(
  'Discussão_Portal' => 101,

+ 'Wikipedia' => NS_PROJECT,
+ 'Wikipedia_Discussão' => NS_PROJECT_TALK,

),
'ptwikibooks' => array(
  'Wikibooks' => NS_PROJECT,

Hi JeLuF! Thank you for updating this for us.

Could you also update $wgSitename to 'Wikipédia'? This was requested on bug 26389 (duplicate of the current bug), but I forgot about that configuration in this request.

jeluf wrote:

Your change has been completed.
Please reopen this ticket if anything went wrong.

The following configuration settings have been changed:

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 1555)

+++ InitialiseSettings.php (working copy)
@@ -1268,6 +1268,7 @@

'pswikibooks'	=> 'ويکيتابونه' ,
'pswikiquote'	=> 'ويکيوراشه' ,
'pswiktionary'	=> 'ويکيسيند' ,

+ 'ptwiki' => 'Wikipédia',

'ptwikibooks'   => 'Wikilivros',
'ptwikimedia'   => 'Wikimedia Portugal',
'ptwikinews'    => 'Wikinotícias',

You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

He7d3r updated the task description. (Show Details)Nov 4 2017, 2:03 PM