Page MenuHomePhabricator

Set project namespace of Portuguese Wikibooks to "Wikilivros"
Closed, ResolvedPublic

Description

The Project namespace of pt.wikibooks.org should be changed to "Wikilivros", the name of the project in Portuguese (this is similar to [[bugzilla:4811]], about es.wikibooks). If I remember correctly, this can be done changing the following:

  1. $wgMetaNamespace: "Wikibooks" --> "Wikilivros"
  2. $wgMetaNamespaceTalk: "Wikibooks_Discussão" --> "Wikilivros_Discussão"

After this, it would be interesting to have the old name "Wikibooks" as an alias for the project namespace, so we don't need to change every link at the project.

The change was approved by the community:
http://pt.wikibooks.org/wiki/Wikibooks:Staff_lounge/Arquivo_22#Finalizar_tradu.C3.A7.C3.A3o:_Wikibooks_--.3E_Wikilivros

By the way, how can we set the tag <title></title> of the main page of pt.wikibooks? Currently when we go to a page like "Física" at the main namespace of pt.wikibooks, the tag is "Física - Wikibooks". However, at es.wikibooks, it is translated to "Física - Wikilibros" and at pt.wikipedia it is "Física - Wikipédia, a enciclopédia livre".

Have a nice week!
Helder


Version: unspecified
Severity: major
URL: http://pt.wikibooks.org/wiki/Wikibooks:Staff_lounge/Arquivo_22#Finalizar_tradu.C3.A7.C3.A3o:_Wikibooks_--.3E_Wikilivros

Details

Reference
bz19364

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:40 PM
bzimport set Reference to bz19364.

I have added the two updated to MetaNamespace and MetaNamespaceTalk. I also added the alisas as requested.

The second question is a good one, I have no idea =P I am going to leave this open in my tickets and try to get an answer for you though.

ayg wrote:

(In reply to comment #0)

By the way, how can we set the tag <title></title> of the main page of
pt.wikibooks? Currently when we go to a page like "Física" at the main
namespace of pt.wikibooks, the tag is "Física - Wikibooks". However, at
es.wikibooks, it is translated to "Física - Wikilibros" and at pt.wikipedia it
is "Física - Wikipédia, a enciclopédia livre".

Change this message:

http://pt.wikibooks.org/wiki/MediaWiki:Pagetitle

No shell access is needed.

Aryeh beat me to it. Thanks for the help in IRC =] Closing ticket.

Thank you a lot!!! =)
Is it possible to change the default value displayed by the {{SITENAME}} ? Currently it is "Wikibooks" and it is better to have the portuguese translation "Wikilivros".

I think this is the [[mw:Manual:$wgSitename]]. Am I right?

Should I open a new request about this?

Thanks again!
Helder

That is fine, I went ahead and updated the sitename from the default to 'Wikilivros'. The change is now live on the project.

Thank you Rob! =)

I have just one more question: At en.wikipedia, the page title is "Wikipedia, the free encyclopedia" at [[Main page]] and just "$1 - Wikipedia" at other pages (for example, [[Ancient Egypt]]). How can we get this behavior at pt.wikibooks?

Thank you a lot!
Helder

Sorry for bothering you, but we have a small problem:
Although "Wikibooks" is now an alias for "Wikilivros", the same is not true for "Wikibooks Discussão". It should be an alias for the new "Wikilivros Discussão".

(There are various red links, and this can confuse some users)

Helder

ayg wrote:

(In reply to comment #6)

I have just one more question: At en.wikipedia, the page title is "Wikipedia,
the free encyclopedia" at [[Main page]] and just "$1 - Wikipedia" at other
pages (for example, [[Ancient Egypt]]). How can we get this behavior at
pt.wikibooks?

You can ask these in #wikimedia-tech or #wikipedia or #wikipedia-en or MediaWiki-General or someplace, on FreeNode. Or at [[WP:VPT]], etc. Rob isn't a developer of MediaWiki, he's a sysadmin, so he isn't the best person to ask this kind of stuff.

The answer, though, is apparently [[MediaWiki:Pagetitle-view-mainpage]].

Thank you Aryeh! This system message will help us!

By the way, in this post
(In reply to comment #0)

After this, it would be interesting to have the old name "Wikibooks" as an
alias for the project namespace, so we don't need to change every link at the
project.

and this one
(In reply to comment #7)

Sorry for bothering you, but we have a small problem:
Although "Wikibooks" is now an alias for "Wikilivros", the same is not true for
"Wikibooks Discussão". It should be an alias for the new "Wikilivros
Discussão".

(There are various red links, and this can confuse some users)

Helder

I forgot to say that we need to make "Wikibooks Discussão" an alias for "Wikilivros Discussão" (this way the red links became blue =)). Sorry for that...

Helder

Thanks to a bit of a poke from Heldergeovane, this is now done, the alias has been added.