Page MenuHomePhabricator

Sitename and ns:project in Arabic projects
Closed, ResolvedPublic

Description

Author: sshph

Description:
Hallo

Please I need to make tranlation of {{Sitename}} and
{{ns:Project}} in ar projects as folowed :

in ar.wikipedia :

just {{sitename}} should be tranlated and replacing
Wikipedia with : ويكيبيديا .

in ar.wikisource, ar.wikibooks , ar.wikiqoute ,
ar.wiktionary , ar.wikinews

we need to translate the : {{ns:Project}} and {{SITENAME}}
to :

Wikisource ويكي مصدر
Wiktionary ويكاموس
Wikibooks ويكي الكتب
Wikiquote ويكي الاقتباس
Wikinews ويكي الأخبار

Thanks alot


Version: unspecified
Severity: normal
URL: http://ar.wikisource.org/wiki/template:wikivar#SITENAME

Details

Reference
bz4672

Related Objects

Event Timeline

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

LanguageAr.php still has the project namespace hardcoded to "ويكيبيديا".
The file needs cleanup before we can configure this stuff...

gangleri wrote:

This is depending on
Bug 4490: LanguageAr.php hardcodes Wikipedia project namespace

gangleri wrote:

Hi chaos!

The namespaces should not contain spaces.
Please take a look at [[ar:template_talk:wikivar#notes]] and answer there if you
need [[declension]] for the project names / SITENAME's or not.

best regards reinhardt [[user:gangleri]]

sshph wrote:

Hi Reinhardt

the sitenames as u specify in
[[ar:template_talk:wikivar#notes]] :

Wikipedia => ويكيبيديا
Wikibooks => ويكي_الكتب
Wikinews => ويكي_الأخبار
Wikiquote => ويكي_الاقتباس
Wikisource => ويكي_مصدر
Wiktionary => ويكاموس

looks ok , as the space is substituted by down slash
(_) .

about NS_Project that u have specified in last link is
puuted in many codes to select just one but i need
explanation for :

$wgMetaNamespace

'Arabic_XX' . $wgMetaNamespace,

NS_PROJECT_TALK => 'Arabic_XX' .

$wgMetaNamespace . 'YY_Arabic',

What is XX and YY in last two codes

Sorry for questions and thanks for ur kindness

Chaos

gangleri wrote:

from [[meta:User_talk:Gangleri#about_bugzilla:04672]] /
[[ar:template_talk:wikivar#notes]]

please use
NS_PROJECT => $wgMetaNamespace,
NS_PROJECT_TALK => 'نقاش' . '_' . $wgMetaNamespace,

best regards reinhardt [[user:gangleri]]

gangleri wrote:

This request is pending quite for a long time.

Are there any open questions?

sshph wrote:

that doesn't solved the problem , it creats problem in
ar.wikipedia also ... we need to change the ns:Project
for every sister project to the suitable arabic name as
it is specified above .

Plz fix it rapidly or at least restore the last
settings for ar.wikipedia

Chaos

we lost our spacename : ويكيبيديا on ar.wikipedia
It was reset to : wikipedia
Now all links to the arabic spacename ويكيبيديا are red. for example check:
http://ar.wikipedia.org
lots of red links :-)
Need my links BACK :_(

gangleri wrote:

I contacted Ashar via IRC. I understand that he will fix the sitenames tonight.

The $wgMetaNamespace was incorrect on live site. I think I fixed it's fixed now.

sshph wrote:

Problem has been solved

sshph wrote:

There is still a problem in ar.wiktionary ,
ar.wikiquote , ar.wikibooks, ar.wikisource ,
ar.wikinews :

old pages starting with arabic prroject name is
recognized as articles with no information and no
history .

I think some script is still needed to run .

arwiktionary : fixed.

arwikiquote: 1 conflict:

Checking namespace 4: "ويكي_الاقتباس"
... 1 conflicts detected:
... 1831 (0,"ويكي_الاقتباس:ساحة_اللعب") -> (4,"ساحة_اللعب") [[ويكي الاقتباس:ساحة
اللعب]]
... * cannot resolve automatically; page exists with ID 966 *
... * using suffixed form [[ويكي الاقتباس:ساحة اللعب/broken]] *
... resolving on page... ok.

arwikibooks: 5 conflicts:

Checking namespace 4: "ويكي_الكتب"
... 5 conflicts detected:
... 2008 (0,"ويكي_الكتب:إداريون") -> (4,"إداريون") [[ويكي الكتب:إداريون]]
... * cannot resolve automatically; page exists with ID 1575 *
... * using suffixed form [[ويكي الكتب:إداريون/broken]] *
... resolving on page... ok.
... 1542 (0,"ويكي_الكتب:بوابة_المجتمع") -> (4,"بوابة_المجتمع") [[ويكي
الكتب:بوابة المجتمع]]
... * cannot resolve automatically; page exists with ID 1824 *
... * using suffixed form [[ويكي الكتب:بوابة المجتمع/broken]] *
... resolving on page... ok.
... 1826 (0,"ويكي_الكتب:تصفح") -> (4,"تصفح") [[ويكي الكتب:تصفح]]
... * cannot resolve automatically; page exists with ID 1825 *
... * using suffixed form [[ويكي الكتب:تصفح/broken]] *
... resolving on page... ok.
... 1827 (0,"ويكي_الكتب:فهرس_سريع") -> (4,"فهرس_سريع") [[ويكي الكتب:فهرس سريع]]
... * cannot resolve automatically; page exists with ID 1828 *
... * using suffixed form [[ويكي الكتب:فهرس سريع/broken]] *
... resolving on page... ok.
... 1834 (0,"ويكي_الكتب:مساعدة_التحرير") -> (4,"مساعدة_التحرير") [[ويكي
الكتب:مساعدة التحرير]]
... * cannot resolve automatically; page exists with ID 1835 *
... * using suffixed form [[ويكي الكتب:مساعدة التحرير/broken]] *
... resolving on page... ok.

arwikisource: 3 conflicts.

Checking namespace 4: "ويكي_مصدر"
... 3 conflicts detected:
... 1959 (0,"ويكي_مصدر:إداريين") -> (4,"إداريين") [[ويكي مصدر:إداريين]]
... * cannot resolve automatically; page exists with ID 1544 *
... * using suffixed form [[ويكي مصدر:إداريين/broken]] *
... resolving on page... ok.
... 2272 (0,"ويكي_مصدر:ساحة_اللعب") -> (4,"ساحة_اللعب") [[ويكي مصدر:ساحة اللعب]]
... * cannot resolve automatically; page exists with ID 2670 *
... * using suffixed form [[ويكي مصدر:ساحة اللعب/broken]] *
... resolving on page... ok.
... 1768 (0,"ويكي_مصدر:مساعدة") -> (4,"مساعدة") [[ويكي مصدر:مساعدة]]
... * cannot resolve automatically; page exists with ID 2296 *
... * using suffixed form [[ويكي مصدر:مساعدة/broken]] *
... resolving on page... ok.

arwikinews: 1 conflict:

Checking namespace 4: "ويكي_الأخبار"
... 1 conflicts detected:
... 37 (0,"ويكي_الأخبار:ورشة_العمل") -> (4,"ورشة_العمل") [[ويكي الأخبار:ورشة العمل]]
... * cannot resolve automatically; page exists with ID 1640 *
... * using suffixed form [[ويكي الأخبار:ورشة العمل/broken]] *
... resolving on page... ok.

So you now have some duplicate articles that need to be fixed :)

sshph wrote:

Problem has been solved completely .. many Thanks for
Gangleri and Hashar .