https://bugzilla.wikimedia.org/show_bug.cgi?id=69241

            Bug ID: 69241
           Summary: WikiImporter is not creating TemplateData when
                    importing a Template
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: GWToolset
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

While trying to import the Artwork Template for a GWToolset test it imports the
template, but does not create the TemplateData for the template. I haven't been
able to sort out yet if the problem is in the way i have setup the test or
something else. The test attempts to mimic the way Special:Import imports a
template file, but uses ImportStreamSource::newFromFile instead of
ImportStreamSource::newFromUpload

steps to reproduce
------------------
1. in a local wiki make sure you don't have the Template:Artwork
2. checkout this version of GWToolset
https://gerrit.wikimedia.org/r/#/c/134078/
3. run the test core/tests/phpunit/phpunit.php
core/extensions/GWToolset/tests/phpunit/

If you import the template with Special:Import and then run the test there is
no issue because Special:Import also creates the TemplateData

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to