[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 mybugs.m...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #18 from mybugs.m...@gmail.com 2011-10-27 11:02:54 UTC --- (In reply to comment #17) Works fine locally, not transwiki Downloading to file and pushing back works fine Last 3 have been imported Good to know that at least we can request someone to download and upload a page from en.wp when necessary. Nonetheless, I'm reopening the bug because [[b:pt:Special:Import]] still returns an error when trying to import any random page from English Wikipedia. (or should I wait for some code revision to go live?) Some other tests which may help finding the problem: * In your local tests, have you tried something which involves a interwiki prefix having two parts, such as w and en in the case of w:en? See bug 20552 comment 3. * Would it make any difference if w:en were changed to en:w on Portuguese Wikibooks wgImportSources? * Have anyone tried some other Wikimedia wiki having a import source in other language/project? E.g.: 'elwikibooks', which also has 'w:en' on its sources list.[1] [1] http://noc.wikimedia.org/conf/InitialiseSettings.php.txt -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #19 from Bawolff bawolff...@gmail.com 2011-10-27 13:30:11 UTC --- * In your local tests, have you tried something which involves a interwiki prefix having two parts, such as w and en in the case of w:en? yes, I did try that and was not able to reproduce locally. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #20 from mybugs.m...@gmail.com 2011-10-27 14:41:22 UTC --- I was able to reproduce the problem on my copy of MW 1.18. First, I downloaded [[mw:Extension:Interwiki]] and put the following on my LocalSettings.php: require_once($IP/extensions/Interwiki/Interwiki.php); $wgGroupPermissions['*']['interwiki'] = false; $wgGroupPermissions['sysop']['interwiki'] = true; $wgImportSources = array( 'w2', 'en2', 'w2:en', 'en2:w' ); Then, I went to [[Special:Interwikis]] and: * added prefix en2 (http://en.wikibooks.org/wiki/$1) (trans: 0) (local: 1) to the interwiki table * added prefix w2 (http://pt.wikipedia.org/wiki/$1) (trans: 0) (local: 1) to the interwiki table After this, links such as *[[:w2:Main Page]] points to http://pt.wikipedia.org/wiki/Main Page *[[:en2:Main Page]] points to http://en.wikibooks.org/wiki/Main Page *[[:w2:en:Main Page]] points to http://pt.wikipedia.org/wiki/en:Main Page *[[:en2:w:Main Page]] points to http://en.wikibooks.org/wiki/w:Main Page (I did this just to check if I configured the extension correctly). Then, I opened [[Special:Import]] and typed Main Page in the field and unselected Copy all history revisions for this page. The result of trying to import from each of my sources was: * w2: ok * en2: ok * w2:en: Import failed: Expected mediawiki tag, got * en2:w: Import failed: Expected mediawiki tag, got In these two cases, there was also some warnings on top of page. The source w2:en caused these: Warning: XMLReader::read(): uploadsource://0785606dfa54a2a22d337ef4c81f95d3:1: parser error : Extra content at the end of the document in /var/www/mw18/includes/Import.php on line 362 Warning: XMLReader::read(): in /var/www/mw18/includes/Import.php on line 362 Warning: XMLReader::read(): ^ in /var/www/mw18/includes/Import.php on line 362 Warning: XMLReader::read(): An Error Occured while reading in /var/www/mw18/includes/Import.php on line 362 The source en2:w also caused the same warnings, but with uploadsource://c98a4f54d974dd8ad71a24618a955a83:1: instead. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #21 from Mark A. Hershberger m...@everybody.org 2011-10-27 18:01:00 UTC --- Created attachment 9298 -- https://bugzilla.wikimedia.org/attachment.cgi?id=9298 re-allow imports of w:en:Main_Page and the like Try the attached patch also applied at r101010 -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #22 from mybugs.m...@gmail.com 2011-10-27 19:05:24 UTC --- (In reply to comment #21) Created attachment 9298 [details] re-allow imports of w:en:Main_Page and the like Try the attached patch also applied at r101010 This fix the problem on my local copy of MW 1.18. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Keywords|shell |need-regression-test Status|REOPENED|RESOLVED Resolution||FIXED -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 Reedy s...@reedyboy.net changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #17 from Reedy s...@reedyboy.net 2011-10-27 03:14:21 UTC --- Works fine locally, not transwiki Downloading to file and pushing back works fine Last 3 have been imported -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Keywords||shell --- Comment #14 from Mark A. Hershberger m...@everybody.org 2011-10-19 15:31:26 UTC --- Tried to reproduce this on my local wiki just now with [[1500s]] and didn't see an error. I wonder if this might require someone with shell to investigate. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #15 from Platonides platoni...@gmail.com 2011-10-19 22:11:23 UTC --- It may have been fixed in the meantime. Trunk in May is will be in 1.18 mybugs.mail, is it still failing? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #16 from mybugs.m...@gmail.com 2011-10-19 22:33:42 UTC --- Still not working with [[1500s]], [[Template:0]] and [[Template:Min]]. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #13 from mybugs.m...@gmail.com 2011-09-30 11:18:42 UTC --- (In reply to comment #11) From triage, mybugs.mail gave this set of steps for reproducing: I've filled the fields with Source wiki/page: [w:en] [Template:Min] ...and I marked only the option Copy all history revisions for this page the point is that the en.wp templates are not always available Just to clarify: this last line was refering to the workaround suggested by Adrignola: to import a page from English Wikibooks instead of the English Wikipedia. This is not always possible because the desired page/template may not exist on English Wikibooks or may be outdated. (In reply to comment #12) (In reply to comment #11) From triage, mybugs.mail gave this set of steps for reproducing: I've filled the fields with Source wiki/page: [w:en] [Template:Min] ...and I marked only the option Copy all history revisions for this page the point is that the en.wp templates are not always available Note, from my local install I cannot reproduce this. Just to confirm, importing Template:Min using the interwiki prefix w:en from ptwikibooks and selecting copy entire history and not selecting copy all templates, always fails (As opposed to intermittently fails)? The bug is not tied to any specific page/template. As already mentioned, it failed with [[Template:0]] and [[Template:Min]] but I can confirm it also happens on a page such as [[1500s]], with the following options: Source wiki/page: [w:en][1500s] Destination namespace: [all] and leaving both Copy all history revisions for this page and Include all templates not selected. Enabling any of these two options or changing the destination namespace doesn't change the situation, i.e., the message is always Import failed: Expected mediawiki tag, got. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 Mark A. Hershberger m...@everybody.org changed: What|Removed |Added Priority|Normal |High Severity|enhancement |normal --- Comment #11 from Mark A. Hershberger m...@everybody.org 2011-09-29 15:18:40 UTC --- From triage, mybugs.mail gave this set of steps for reproducing: I've filled the fields with Source wiki/page: [w:en] [Template:Min] ...and I marked only the option Copy all history revisions for this page the point is that the en.wp templates are not always available -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 Bawolff bawolff...@gmail.com changed: What|Removed |Added CC||bawolff...@gmail.com --- Comment #12 from Bawolff bawolff...@gmail.com 2011-09-29 15:29:45 UTC --- (In reply to comment #11) From triage, mybugs.mail gave this set of steps for reproducing: I've filled the fields with Source wiki/page: [w:en] [Template:Min] ...and I marked only the option Copy all history revisions for this page the point is that the en.wp templates are not always available Note, from my local install I cannot reproduce this. Just to confirm, importing Template:Min using the interwiki prefix w:en from ptwikibooks and selecting copy entire history and not selecting copy all templates, always fails (As opposed to intermittently fails)? -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 --- Comment #10 from mybugs.m...@gmail.com 2011-09-23 14:30:58 UTC --- We are still unable to import templates from English Wikipedia, as reported by another user on this edit summary: https://secure.wikimedia.org/wikibooks/pt/w/index.php?title=Predefinição:Mindiff=0uselang=en -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 28277] Error when importing pages from English Wikipedia to Portuguese Wikibooks
https://bugzilla.wikimedia.org/show_bug.cgi?id=28277 mybugs.m...@gmail.com changed: What|Removed |Added Summary|Error when importing|Error when importing pages |[[Template:0]] from |from English Wikipedia to |Wikipedia |Portuguese Wikibooks -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l