Page MenuHomePhabricator

Add Wikibooks namespace to Azerbaijani Wikibooks
Closed, ResolvedPublic

Description

Author: vugar199

Description:
Hi. Please create Wikibooks namespaces for Azerbaijani Wikbooks.
http://az.wikibooks.org/

Wikibooks: -> Vikikitab:

Wikibooks talk: -> Vikikitab müzakirəsi:

Thanks


Version: unspecified
Severity: major

Details

Reference
bz31068
TitleReferenceAuthorSource BranchDest Branch
Make previous_weekly be the last successful DAG run of image_suggestionsrepos/data-engineering/airflow-dags!287xcollazoredo-robust-deltasmain
Hotfix: Make previous_weekly a varprop on image_suggestions DAG.repos/data-engineering/airflow-dags!262xcollazohotfix-image-suggestionsmain
Calculate previous snapshots for deltas automatically.repos/structured-data/image-suggestions!11xcollazoT330688-robust-deltasmain
Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:57 PM
bzimport set Reference to bz31068.

Hi Vugar,
Can you add a link to show community consensus for this request?

Hi Vugar,
Thanks! Would it be possible to add an English translation as well?

(In reply to comment #3)

Hi Vugar,
Thanks! Would it be possible to add an English translation as well?

(In reply to comment #0)

Hi. Please create Wikibooks namespaces for Azerbaijani Wikbooks.
http://az.wikibooks.org/

Wikibooks: -> Vikikitab:

Wikibooks talk: -> Vikikitab müzakirəsi:

Thanks

vugar199 wrote:

I dont understand.

I meant an English translation of the community consensus.

(In reply to comment #6)

I meant an English translation of the community consensus.

Generally we don't ask for that unless it's a disputed issue

Adding a namespace is a fairly minor action

Done

reedy@fenari:/home/wikipedia/common$ mwscript namespaceDupes.php azwikibooks --fix
... 2697 (0,"Vikikitab:Vikitətil") -> (104,"Vikitətil") [[Vikikitab:Vikitətil]]
... resolving on page... ok.

Looks good!

I'm reopening this bug per bug 31067 comment 7 by Vugar 1981:

We have some problems after
https://bugzilla.wikimedia.org/show_bug.cgi?id=31068 this request.

[ Analysis ]

The problem is what they wanted were to translate Wikibooks: into Vikikitab:

That should have been resolved by a namespace alias, not by a new namespace.

Now, we've a very buggy situation where the navigation offer a link to Wikibooks:Kənd meydanı which is a redirection to Vikikitab:Kənd meydanı.

See the links from https://az.wikibooks.org/


[ Solution ]

  • Check with the local community if they way to fix their buggy namespaces this way
  • Remove 104, 105 namespaces from the configuration, name project namespace Vikikitab:
  • Add NS_PROJECT => 'Vikikitab' and NS_PROJECT_TALK => 'Vikikitab müzakirəsi' as aliases
  • Prepare a script to update the relevant tables to fix namespaces (104 -> 4 and 105 -> 5) for any page not also existing in NS_PROJECT namespace
  • The wiki contributors will then have the possibility to manually fix other pages

I could prepare the config change and the fix script if this is needed but before, I would like someone from ops (Reedy?) agree with this course of action.

(In reply to comment #10)

I could prepare the config change and the fix script if this is needed but
before, I would like someone from ops (Reedy?) agree with this course of
action.

ping. Reedy (or so)?

https://az.wikibooks.org/w/index.php?title=X%C3%BCsusi%3AB%C3%BCt%C3%BCnS%C9%99hif%C9%99l%C9%99r&from=&to=&namespace=104

https://az.wikibooks.org/w/index.php?title=X%C3%BCsusi%3AB%C3%BCt%C3%BCnS%C9%99hif%C9%99l%C9%99r&from=&to=&namespace=105

For the amount of pages (43 + 2 talk?), it'd be easier to just get someone on the wiki to move them all, and then drop the namespace and update the aliases. Not worth scripting

https://az.wikibooks.org/w/index.php?title=X%C3%BCsusi%3AB%C3%BCt%C3%BCnS%C9%99hif%C9%99l%C9%99r&from=&to=&namespace=4

5 potential dupes:

Wikibooks:Güncəl hadisələr
Wikibooks:Kənd meydanı
Wikibooks:İdarəçilər
Wikibooks:İzah
Wikibooks:Kitabxanalar

Actual dupes:
Wikibooks:Güncəl hadisələr
Wikibooks:Kənd meydanı
Wikibooks:İdarəçilər
Wikibooks:Kitabxanalar

OK, let's get to it.

I moved all pages from namespace 104 to NS_PROJECT, and related talk pages from 105 to NS_PROJECT_TALK and will submit a config patch in a moment.

Change 91523 had a related patch set uploaded by Odder:
(bug 31068) Configure namespaces for Azerbaijani Wikibooks

https://gerrit.wikimedia.org/r/91523

Change 91523 merged by jenkins-bot:
(bug 31068) Configure namespaces for Azerbaijani Wikibooks

https://gerrit.wikimedia.org/r/91523

Change 91665 had a related patch set uploaded by Odder:
(bug 31068) Set up NS_PROJECT for azwikibooks

https://gerrit.wikimedia.org/r/91665

Change 91665 merged by jenkins-bot:
(bug 31068) Set up NS_PROJECT for azwikibooks

https://gerrit.wikimedia.org/r/91665

I'm not sure what the hell happened, but apparently on October 29, someone decided to revert me, and had moved all pages from NS 4 to NS 0, which means that there are now a few dozens of pages beginning with "Vikikitab:" technically located in NS 0 instead of NS 4.

I'm guessing this is related to the fact that Gerrit #91665 was only merged on November 7, and that NS_PROJECT was therefore named 'Wikibooks' instead of 'Vikikitab' for two weeks, but I'm not exactly jumping with joy at the thought of having to revert this again, having spent about an hour working on this already.