Last modified: 2013-07-08 15:47:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T52561, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50561 - Add Translation: namespace to Ukrainian Wikisource
Add Translation: namespace to Ukrainian Wikisource
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal enhancement (vote)
: ---
Assigned To: Dmytro Dziuma
:
Depends on: Wikisource
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-02 08:40 UTC by Dmytro Dziuma
Modified: 2013-07-08 15:47 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dmytro Dziuma 2013-07-02 08:40:57 UTC
Ukrainian Wikisource adopted a policy on translations similar to the one in English Wikisource:
https://uk.wikisource.org/wiki/Вікіджерела:Переклади

It is also requires creation of new namespace:

Name:"Переклад"
Сanonical:"Translation"
Subpages: yes
Content namespace (wgContentNamespaces): yes
Included in default sort (wgNamespacesToBeSearchedDefault):  yes

And the corresponding talk namespace:
Name:"Обговорення перекладу"
Сanonical:"Translation talk"

If possible, it would be great to have the same id as Translation namespace in English Wikisource.
Comment 1 Tomasz W. Kozlowski 2013-07-02 21:57:40 UTC
[Taking the bug; it does not depend on 50007.]

I'm gonna go with no. 114 for the namespace and 115 for the corresponding talk page namespace; will submit it under its English name and add an alias in Ukrainian.
Comment 2 Dmytro Dziuma 2013-07-03 05:20:55 UTC
Why not adding it with the Ukrainian name and setting its English name as the canonical one as requested?
Comment 3 Tomasz W. Kozlowski 2013-07-03 09:42:47 UTC
How about you submit a patch if you know how to do that?
Comment 4 Dmytro Dziuma 2013-07-03 10:30:31 UTC
No, sorry, I can't (at least for the time being). But let me say it again that it is important to do it with the English canonical namespace instead of dealing with aliases. While it might seem the same for a regular user, it can cause problems for script maintainers while porting scripts across wikis. Thanks
Comment 5 Tomasz W. Kozlowski 2013-07-03 10:36:11 UTC
Well, then perhaps you can tell me how do I set up a canonical name for a non–system namespace so that I can update some documentation on MediaWiki.org and learn something new today!

PS That's totally serious—I don't think you can define a canonical name for a custom namespace.
Comment 6 Dmytro Dziuma 2013-07-03 10:42:28 UTC
Tomasz, when I come here, I expect to have serious collaboration, not playing fool or whatever. If setting canonical namespace is not possible for custom namespaces, just mention it in the very first comment to make it clear. It is not straightforward for me, as I can see canonical English names for custom Index, Page and Module namespaces for Ukrainian Wikisource:

https://uk.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases


But if you still insist that it is not possible, it is fine for me and I will probably submit a new request for changes in the Mediawiki core in order to make it possible.
Comment 7 Tomasz W. Kozlowski 2013-07-03 10:53:55 UTC
Assuming good faith as always, are you?

The "Index" and "Page" namespaces are added by an extension (ProofreadPage), and the Module namespace is added by the Scribunto extension, so that's why you can set a canonical name for them.

I have no idea what's the correct way to follow your request with, but I seriously doubt it's adding a new namespace to MediaWiki core.

[Un–assigning and un-CC'ing myself from this bug. Good luck.]
Comment 8 Dmytro Dziuma 2013-07-03 10:55:46 UTC
I didn't mean adding a new namespace to the Mediawiki core, but rather adding possibility of adding canonical names for custom namespaces.
Comment 9 Nemo 2013-07-03 11:01:30 UTC
(In reply to comment #8)
> I didn't mean adding a new namespace to the Mediawiki core, but rather adding
> possibility of adding canonical names for custom namespaces.

I suggest you to write what you want to achieve rather than the supposed ways to achieve it. The misunderstanding here probably is that you want a namespace alias but you're calling it canonical because canonical names redirect too.
Comment 10 Dmytro Dziuma 2013-07-03 11:06:15 UTC
I wrote what I want in the very first comment. And no, I don't confuse aliases with canonical names. I would like to be able to have the same value for wgCanonicalNamespace in Javascript regardless of the language of wiki.

http://www.mediawiki.org/wiki/Manual:Interface/JavaScript#Page-specific
Comment 11 Gerrit Notification Bot 2013-07-05 09:43:43 UTC
Change 72054 had a related patch set uploaded by Odder:
A partial fix for https://bugzilla.wikimedia.org/show_bug.cgi?id=50561

https://gerrit.wikimedia.org/r/72054
Comment 12 Tomasz W. Kozlowski 2013-07-05 09:46:36 UTC
[Assigning to Dmytro since it's his patch, removing dependency.]
Comment 13 Gerrit Notification Bot 2013-07-08 15:45:21 UTC
Change 72054 merged by jenkins-bot:
(bug 50561) Add 'Translation' namespace for ukwikisource

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links