Page MenuHomePhabricator

The stream wrapper should test whether the resource 'uploadsource' is already registered.
Closed, ResolvedPublic


Author: alexander.lehmann

If you try to create two WikiImporter you get warning "stream_wrapper_register (): Protocol upload source :/ / is already defined". This is for example bad for testing classes that use the WikiImporter.

Version: 1.24rc
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:26 AM
bzimport set Reference to bz65530.
bzimport added a subscriber: Unknown Object (MLST).

alexander.lehmann wrote:

I have written a small patch. You can look at it here:

Thanks a lot for your patch! I've fixed it to say "Bug: 65530" as per [[mw:Gerrit/Commit message guidelines]] so there will be automatic notifications here in the future.

Patch was merged some time ago.