Last modified: 2013-07-25 07:07:06 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 T34411, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32411 - Transwiki import to multilingual (old) wikisource broken: fix $wgImportSources
Transwiki import to multilingual (old) wikisource broken: fix $wgImportSources
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal major with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: shell
Depends on:
Blocks: Wikisource
  Show dependency treegraph
 
Reported: 2011-11-14 20:30 UTC by Doug
Modified: 2013-07-25 07:07 UTC (History)
8 users (show)

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


Attachments

Description Doug 2011-11-14 20:30:06 UTC
As discussed here: http://wikisource.org/wiki/Wikisource:Scriptorium#Import_upload_privileges_and_bugs_with_transwiki, transwiki import to multilingual (aka "old") wikisource has been broken for some time.  There are a number of issues. Until recently only importing from the english wikisource functioned.  Other import attempts resulted in: ''Import failed: Expected <mediawiki> tag, got''  For some reason sa.wikisource had been set up differently and ''was'' wrong, but because of the fix to https://bugzilla.wikimedia.org/show_bug.cgi?id=29591 sa.wikisource is now the only import source that works.  Why the other import sources didn't work previously is not clear so they should be checked for functionality, not merely changed.  Sister subdomains should now be declared by only their two digit language code.
Comment 2 Nemo 2012-08-23 23:17:49 UTC
I don't understand, does this happen whatever the size of the import?
Ah, now I see it, wgImportSources currently is:

'sourceswiki' => array(
		'sa', 's:ang', 's:ar', 's:az', 's:bg', 's:bn', 's:bs', 's:ca', 's:cs', 's:cy',
		's:da', 's:de', 's:el', 's:en', 's:es', 's:et', 's:fa', 's:fi', 's:fo',
		's:fr', 's:gl', 's:he', 's:hr', 's:ht', 's:hu', 's:hy', 's:id', 's:is',
		's:it', 's:ja', 's:kn', 's:ko', 's:la', 's:lt', 's:mk', 's:ml', 's:nl',
		's:no', 's:pl', 's:pt', 's:ro', 's:ru', 's:sk', 's:sl', 's:sr', 's:sv',
		's:ta', 's:te', 's:th', 's:tr', 's:uk', 's:vi', 's:yi', 's:zh', 'meta', 'commons',
	),

so all the s: prefixes must be removed.
Reedy, could you take care of this soonish? It's a simple config change and this si an actual (quite important) bug.
Comment 3 Andre Klapper 2012-11-02 12:18:31 UTC
Reedy: Could you take a look at comment 2, please?
Comment 4 Nemo 2012-11-02 21:48:43 UTC
Gerrit change #31562.
Comment 5 Antoine "hashar" Musso (WMF) 2012-11-05 08:53:50 UTC
I have deployed the change on the live cluster. Can you test it on your wiki please?

Maybe any wikisource should be allowed as an import source?
Comment 7 Antoine "hashar" Musso (WMF) 2012-11-05 09:56:11 UTC
Nice! You guys are fast :-]

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


Navigation
Links