Page MenuHomePhabricator

Change namespaces in ja.wikipedia
Closed, ResolvedPublic

Description

Author: hisagi.5z4q9s

Description:
Although Japanese namespaces of the MediaWiki were changed last week, many users in ja.wikipedia oppose the changes. The users of the Japanese Wikipedia settled not to accept them temporally by [[w:ja:Wikipedia:井戸端/subj/名前空間名の変更への対応/投票|ballot]]. 20 users (17%) support the changes (変更を支持), but 96 users (83%)
oppose them (変更に反対).

Could you change namespaces of ja.wikipedia? What I request of you are as follow. Please add the previous namespaces ('トーク', '利用者・トーク', etc.) to "namespace-aliases". Thank you in advance.

{{ns:1}} {{ns:Talk}} - トーク -> ノート
{{ns:3}} {{ns:User_talk}} - 利用者・トーク -> 利用者‐会話
{{ns:5}} {{ns:Project_talk}} - Wikipedia・トーク -> Wikipedia‐ノート
{{ns:7}} {{ns:File_talk}} - ファイル・トーク -> ファイル‐ノート
{{ns:9}} {{ns:MediaWiki_talk}} - MediaWiki・トーク -> MediaWiki‐ノート
{{ns:10}} {{ns:Template}} - テンプレート -> Template
{{ns:11}} {{ns:Template_talk}} - テンプレート・トーク -> Template‐ノート
{{ns:12}} {{ns:Help}} - ヘルプ -> Help
{{ns:13}} {{ns:Help_talk}} - ヘルプ・トーク -> Help‐ノート
{{ns:14}} {{ns:Category}} - カテゴリ -> Category
{{ns:15}} {{ns:Category_talk}} - カテゴリ・トーク -> Category‐ノート
{{ns:101}} - Portal・トーク -> Portal‐ノート


Version: unspecified
Severity: enhancement

Details

Reference
bz23705

Event Timeline

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

aokomoriuta wrote:

As Hisagi said, the poll asked "whether you support the changes" and many people opposed.
In other words, ja-wikipedians don't want use the changed namespace names in whole.

It means some people accept the changes partly and they (will) start discussing what names are nice for jawiki from now on.
So, in the future (not so far), they might ask sysadmins to change namespace names in jawiki again.

jeluf wrote:

Done.

'jawiki' => array(
	'トーク' => NS_TALK,
	'利用者・トーク' => NS_USER_TALK,
	'Wikipedia・トーク' => NS_PROJECT_TALK,
	'ファイル・トーク' => NS_IMAGE_TALK,
	'MediaWiki・トーク' => NS_MEDIAWIKI_TALK,
	'テンプレート' => NS_TEMPLATE,
	'テンプレート・トーク' => NS_TEMPLATE_TALK,
	'ヘルプ' => NS_HELP,
	'ヘルプ・トーク' => NS_HELP_TALK,
	'カテゴリ' => NS_CATEGORY,
	'カテゴリ・トーク' => NS_CATEGORY_TALK,
	"ポータル‐ノート" => 101,
	'Portal‐ノート' => 101,
	'Portal・トーク' => 101,
),

hisagi.5z4q9s wrote:

http://ja.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces|namespacealiases
According to above API Result, your changes seem to be different from what I requested.
Is the reflection to ja.wikipedia late...?

jeluf wrote:

You wrote:

Please add the previous namespaces ('トーク', '利用者・トーク', etc.)
to "namespace-aliases".

That's what I did. But apparently, 'トーク' is the current name of the namespace:

<ns id="1" case="first-letter" subpages="" canonical="Talk" 
   xml:space="preserve">トーク</ns>

So something went wrong here. Which column in your table is the current name of the namespace, and wich is the alias that you want to have for the namespace?

aokomoriuta wrote:

The column 2 is the current one and the column 3 is the old one in Hisagi's comment #0.

But now I have one problem to inform you.
At [[:w:ja:Wikipedia:井戸端/subj/名前空間名の変更への対応#投票終了後の処理]] [1]
, there is one question about this changing but not answered.

It says the result of the poll [2] can be interpreted in two ways.

The first is, as Hisagi said in comment #0, "jawiki community wants the namespace names to be reverted to old one immediately".
But the another is "jawiki community don't wants to use the current namespace names, therefore it must be modified based the discussion in jawiki".

So the question asks "Is it not so serious?" or "Don't we have to discuss it?"

In my opinion, it seems not so clear enough to request to change them at the present time, but only confuses sysadmins.

[1] http://ja.wikipedia.org/wiki/Wikipedia:%E4%BA%95%E6%88%B8%E7%AB%AF/subj/%E5%90%8D%E5%89%8D%E7%A9%BA%E9%96%93%E5%90%8D%E3%81%AE%E5%A4%89%E6%9B%B4%E3%81%B8%E3%81%AE%E5%AF%BE%E5%BF%9C#.E6.8A.95.E7.A5.A8.E7.B5.82.E4.BA.86.E5.BE.8C.E3.81.AE.E5.87.A6.E7.90.86
[2] [[w:ja:Wikipedia:井戸端/subj/名前空間名の変更への対応/投票]] http://ja.wikipedia.org/wiki/Wikipedia:%E4%BA%95%E6%88%B8%E7%AB%AF/subj/%E5%90%8D%E5%89%8D%E7%A9%BA%E9%96%93%E5%90%8D%E3%81%AE%E5%A4%89%E6%9B%B4%E3%81%B8%E3%81%AE%E5%AF%BE%E5%BF%9C/%E6%8A%95%E7%A5%A8

hisagi.5z4q9s wrote:

(In reply to comment #5)
I'm sorry that my requests were difficult for understand.
My requests are:

to change A to B in namespaces,
to remove B from namespace-aliases,
to add A to namespace-aliases.

[Namespace] [A]-Current [B]-Request
NS_TALK - トーク -> ノート
NS_USER_TALK - 利用者・トーク -> 利用者‐会話
NS_PROJECT_TALK - Wikipedia・トーク -> Wikipedia‐ノート
NS_FILE_TALK - ファイル・トーク -> ファイル‐ノート
NS_MEDIAWIKI_TALK - MediaWiki・トーク -> MediaWiki‐ノート
NS_TEMPLATE - テンプレート -> Template
NS_TEMPLATE_TALK - テンプレート・トーク -> Template‐ノート
NS_HELP - ヘルプ -> Help
NS_HELP_TALK - ヘルプ・トーク -> Help‐ノート
NS_CATEGORY - カテゴリ -> Category
NS_CATEGORY_TALK - カテゴリ・トーク -> Category‐ノート
101 - Portal・トーク -> Portal‐ノート

osterrei wrote:

I'd like to remind admins that most of aokomoriuta's comment #6 is irrelevant to the authenticity of Hisagi's request.

It was decided on the voting process that changes (actually reverts) of namespaces be made just as comment #7. I assure you that Hisagi's request (= comment #7) is valid and authentic.

(It is possible that futher minor changes be requested, probabably 10-12 months from now, but that is a different question and has nothing to do with this request.)

jeluf wrote:

If the main namespace names have to be changed, this needs to be done on translatewiki.net, so that the core files will be updated. Please update this ticket when the config on translatewiki.net has been updated so that we can apply the change to the site.

aokomoriuta wrote:

(In reply to comment #9)

If the main namespace names have to be changed, this needs to be done on
translatewiki.net, so that the core files will be updated. Please update this
ticket when the config on translatewiki.net has been updated so that we can
apply the change to the site.

They want to change namespace names only in jawiki, not MediaWiki default (translatewiki.net).

This means they want settings working same as following setting in LocalSettings:

$wgExtraNamespaces[NS_TALK] = 'ノート';
$wgExtraNamespaces[NS_USER_TALK] = '利用者‐会話';
$wgExtraNamespaces[NS_PROJECT_TALK] = 'Wikipedia‐ノート';
$wgExtraNamespaces[NS_FILE_TALK] = 'ファイル‐ノート';
$wgExtraNamespaces[NS_MEDIAWIKI_TALK] = 'MediaWiki‐ノート';
$wgExtraNamespaces[NS_TEMPLATE] = 'Template';
$wgExtraNamespaces[NS_TEMPLATE_TALK] = 'Template‐ノート';
$wgExtraNamespaces[NS_HELP] = 'Help';
$wgExtraNamespaces[NS_HELP_TALK] = 'Help‐ノート';
$wgExtraNamespaces[NS_CATEGORY] = 'Category';
$wgExtraNamespaces[NS_CATEGORY_TALK] = 'Category‐ノート';

hisagi.5z4q9s wrote:

(In reply to comment #9)
Most of voters must know translatewiki.net, and this request is by users in ja.wikipedia, for only ja.wikipedia. Can't we decide on original namespace-names against MediaWiki standard by translatewiki.net?

  • : Removal

+ : Addition
Setting example of InitialiseSettings.php:

'wgExtraNamespaces' => array(
...

  • 'jawiki' => array( 100 => 'Portal', 101 => 'Portal・トーク' ),

+ 'jawiki' => array(
+ NS_TALK => "ノート",
+ NS_USER_TALK => "利用者‐会話",
+ NS_PROJECT_TALK => "Wikipedia‐ノート",
+ NS_FILE_TALK => "ファイル‐ノート",
+ NS_MEDIAWIKI_TALK => "MediaWiki‐ノート",
+ NS_TEMPLATE => "Template",
+ NS_TEMPLATE_TALK => "Template‐ノート",
+ NS_HELP => "Help",
+ NS_HELP_TALK => "Help‐ノート",
+ NS_CATEGORY => "Category",
+ NS_CATEGORY_TALK => "Category‐ノート",
+ 100 => 'Portal',
+ 101 => 'Portal‐ノート'
+ ),
...
),

jeluf wrote:

In the code in comment 12, the talk namespaces are using a different set of characters for the latin part than the non-talk-namespaces which use latin characters from the ASCII subset of Unicode. Is this intentional?

jeluf wrote:

Forget comment 13, it was just my text editor Eclipse making fun of me.

jeluf wrote:

Done.

Index: InitialiseSettings.php

  • InitialiseSettings.php (revision 815)

+++ InitialiseSettings.php (working copy)
@@ -3531,7 +3531,21 @@

102 => 'Progetto',
103 => 'Discussioni_progetto',
),
  • 'jawiki' => array( 100 => 'Portal', 101 => 'Portal・トーク' ),

+ 'jawiki' => array(
+ NS_TALK => "ノート",
+ NS_USER_TALK => "利用者‐会話",
+ NS_PROJECT_TALK => "Wikipedia‐ノート",
+ NS_FILE_TALK => "ファイル‐ノート",
+ NS_MEDIAWIKI_TALK => "MediaWiki‐ノート",
+ NS_TEMPLATE => "Template",
+ NS_TEMPLATE_TALK => "Template‐ノート",
+ NS_HELP => "Help",
+ NS_HELP_TALK => "Help‐ノート",
+ NS_CATEGORY => "Category",
+ NS_CATEGORY_TALK => "Category‐ノート",
+ 100 => 'Portal',
+ 101 => 'Portal‐ノート'
+ ),

'kawiki' => array(
    100 => 'პორტალი',
    101 => 'პორტალი_განხილვა',

hisagi.5z4q9s wrote:

(In reply to comment #15)
I confirmed that namespaces and namespace-aliases in ja.wikipedia have changed as requested. Thank you.