Page MenuHomePhabricator

Complete Special:Import the Automated Transwiki Interface
Closed, ResolvedPublic

Description

Code is mostly there but it doesn't yet work.


Version: 1.4.x
Severity: enhancement

Details

Reference
bz606

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:58 PM
bzimport set Reference to bz606.
bzimport added a subscriber: Unknown Object (MLST).

Call-time pass-by-reference is deprecated. Be sure to change that in the final code.

Errors:

Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it by reference, modify the declaration of
xml_set_object(). If you would like to enable call-time pass-by-reference, you
can set allow_call_time_pass_reference to true in your INI file. However, future
versions may not support this any longer. in d:\program files\apache
group\apache\htdocs\mediawiki\includes\SpecialImport.php on line 283

Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it by reference, modify the declaration of
call_user_func(). If you would like to enable call-time pass-by-reference, you
can set allow_call_time_pass_reference to true in your INI file. However, future
versions may not support this any longer. in d:\program files\apache
group\apache\htdocs\mediawiki\includes\SpecialImport.php on line 460

Warning: Call-time pass-by-reference has been deprecated - argument passed by
value; If you would like to pass it by reference, modify the declaration of
call_user_func(). If you would like to enable call-time pass-by-reference, you
can set allow_call_time_pass_reference to true in your INI file. However, future
versions may not support this any longer. in d:\program files\apache
group\apache\htdocs\mediawiki\includes\SpecialImport.php on line 460

Removing block on 1.4 release. Would be nice, but not critical.

  • Bug 1646 has been marked as a duplicate of this bug. ***

avarab wrote:

What needs to be done to get it to work? I understand the xml->php datastructure
part is finished.

Currently, limited permission-based imports and a streamable command-line interface are yet to be finished.

I haven't checked whether supplementary data is updated properly yet (search, link tables, etc), this is also
necessary.

  • Bug 1901 has been marked as a duplicate of this bug. ***

Adding as a 1.5 release blocker. It's mostly done, just needs some cleanup and permissions work to
make the transwiki interface suitable.

Manual uploads can now be disabled separately from transwiki imports.

Remaining bits:

  • needs to log!
  • bits of UI need to be localized
  • needs to [optionally] include history, currently the transwiki grabs only the top revision.

This is a matter for what it loads; the backend for taking multiple revisions is present.

avarab wrote:

(In reply to comment #8)

  • bits of UI need to be localized

I did that and applied it to HEAD.

bugs wrote:

1.5beta3, I'm getting the error described on comment 1 and nothing is imported.
Shouldn't this be fixed before actual release?

Apache 2.0.51, PHP 4.3.10.

I've filed the warning bit as bug 2812.