Last modified: 2011-07-30 20:29:17 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 T27181, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25181 - Enable transwiki import from zhwiki to other zh projects
Enable transwiki import from zhwiki to other zh projects
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-15 14:34 UTC by shi zhao
Modified: 2011-07-30 20:29 UTC (History)
5 users (show)

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


Attachments

Description shi zhao 2010-09-15 14:34:26 UTC
please activate the transwiki for Special:Import from the Chinese Wikipedia to Chinese Wiktionary, chinese wikiquote, chinese wikibooks, and chinese wikisource.

thx

[[zh:user:shizhao]]
Comment 1 JeLuF 2010-09-23 20:17:37 UTC
Please provide a link to the discussion pages on Wiktionary, Wikiquote, Wikibooks and Wikisource where the communities approved this request.
Comment 3 Roan Kattouw 2010-09-27 08:45:33 UTC
(In reply to comment #2)
> And plese add "Transwiki" namespace to Destination namespace of
> [[Special:Import]] on all zhwikimedia.
>
None of the wikis you linked to has a Transwiki: namespace. There may be pages starting with "Transwiki:", but as far as MediaWiki is concerned these are in the main namespace.

Given community consensus, such a namespace can be created. Repurposing this bug for that.
Comment 4 shi zhao 2010-09-27 09:10:43 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > And plese add "Transwiki" namespace to Destination namespace of
> > [[Special:Import]] on all zhwikimedia.
> >
> None of the wikis you linked to has a Transwiki: namespace. There may be pages
> starting with "Transwiki:", but as far as MediaWiki is concerned these are in
> the main namespace.
> 
> Given community consensus, such a namespace can be created. Repurposing this
> bug for that.

see http://zh.wikisource.org/wiki/Wikisource:%E5%86%99%E5%AD%97%E9%97%B4#.E5.85.B3.E4.BA.8ESpecial:Import.E5.90.AF.E7.94.A8transwiki.E7.9A.84.E5.BB.BA.E8.AE.AE
Comment 5 shi zhao 2011-03-25 16:26:41 UTC
plese set.
Comment 6 Sam Reed (reedy) 2011-07-08 23:57:54 UTC
A transwiki namespace on all of those wikis?
Comment 7 Jason Wong 2011-07-09 14:12:33 UTC
I don't know whether it is a namespace or not. We would like to activate the transwiki function between different Chinese Wikis. As special:import of zh.wikisource, there is a table that allows us to import a page by filling in the name of the page and selecting the source area. At the moment, importer of Chinese wikisource could, by this way, import page from Common and Meta. Could you please modify those import pages of zh.wiki like what I described. Thank you very much.
Comment 8 Sam Reed (reedy) 2011-07-17 19:22:45 UTC
<logmsgbot> !log reedy synchronized php-1.17/wmf-config/InitialiseSettings.php  'bug 25181 allow import from zhwiki to other zh projects'
<morebots> Logged the message, Master

reedy@fenari:/home/wikipedia/common/php-1.17/wmf-config$ svn diff
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php      (revision 2036)
+++ InitialiseSettings.php      (working copy)
@@ -7398,6 +7398,11 @@
     'wikiversity' => array( 'meta', 'b', 'incubator' ),
     'wuuwiki' => array( 'en', 'th', 'fr', 'zh', ),

+    'zhwikiquote' => array( 'zh' ),
+    'zhwiktionary' => array( 'zh' ),
+    'zhwikibooks' => array( 'zh' ),
+    'zhwikisource' => array( 'zh' ),
+
     'test2wiki' => array( 'en', 'cs' ),
 ),
 # @} end of wgImportSources
Comment 9 shi zhao 2011-07-18 06:43:01 UTC
Plese also set transwiki namespace in other zh projects.
Comment 10 shi zhao 2011-07-22 08:32:16 UTC
Crosswiki import can't work:

"Import failed: Bad interwiki link"

plese fix!
Comment 11 Roan Kattouw 2011-07-25 18:04:28 UTC
(In reply to comment #10)
> Crosswiki import can't work:
> 
> "Import failed: Bad interwiki link"
> 
> plese fix!
Could you provide more details? What exactly did you try to do? Which page did you try to import?
Comment 12 Sam Reed (reedy) 2011-07-25 19:41:35 UTC
(In reply to comment #9)
> Plese also set transwiki namespace in other zh projects.

I didn't add a namespace. Are you wanting all zh projects to be able to import from each other?
Comment 13 Casey Brown 2011-07-25 19:55:27 UTC
I think he wants you to create a namespace called "Transwiki" in all the zh projects. They would put all transwiki'd pages there by default.
Comment 14 shi zhao 2011-07-26 03:47:47 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > Crosswiki import can't work:
> > 
> > "Import failed: Bad interwiki link"
> > 
> > plese fix!
> Could you provide more details? What exactly did you try to do? Which page did
> you try to import?


Example: Crosswiki import [[User:Shizhao/test]] from zh.wp on zh.wiktionary, can't work
Comment 15 Jason Wong 2011-07-26 03:51:49 UTC
Moreover, it couldn't imports [[巴东羊角芹]] from zh.wp to zh.wikibooks also. Could you please fix it asap. Thank you.
Comment 16 Sam Reed (reedy) 2011-07-29 16:23:36 UTC
(In reply to comment #15)
> Moreover, it couldn't imports [[巴东羊角芹]] from zh.wp to zh.wikibooks also. Could
> you please fix it asap. Thank you.

What is the error message?
Comment 17 Jason Wong 2011-07-30 04:27:17 UTC
(In reply to comment #16)
> (In reply to comment #15)
> > Moreover, it couldn't imports [[巴东羊角芹]] from zh.wp to zh.wikibooks also. Could
> > you please fix it asap. Thank you.
> 
> What is the error message?

Similar: "Import failed: Bad interwiki link"
Comment 18 JeLuF 2011-07-30 20:29:17 UTC
Your change has been completed.
Please reopen this ticket if anything went wrong.
The following configuration settings have been changed:
===================================================================
Index: InitialiseSettings.php
===================================================================
--- InitialiseSettings.php	(revision 2111)
+++ InitialiseSettings.php	(working copy)
@@ -7443,10 +7443,10 @@
     'wikiversity' => array( 'meta', 'b', 'incubator' ),
     'wuuwiki' => array( 'en', 'th', 'fr', 'zh', ),
 
-    'zhwikiquote' => array( 'zh' ),
-    'zhwiktionary' => array( 'zh' ),
-    'zhwikibooks' => array( 'zh' ),
-    'zhwikisource' => array( 'zh' ),
+    'zhwikiquote' => array( 'w','b', 'wikt', 's', 'meta', 'commons' ),
+    'zhwiktionary' => array( 'w', 'b', 'q', 's', 'meta', 'commons' ),
+    'zhwikibooks' => array( 'w', 'wikt', 'q', 's', 'meta', 'commons' ),
+    'zhwikisource' => array( 'w', 'b', 'q', 'wikt', 'meta', 'commons' ),
 
     'test2wiki' => array( 'en', 'cs' ),
 ),
===================================================================
You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php

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


Navigation
Links