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

            Bug ID: 64660
           Summary: Fatal Error creating Campaign pages
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: UploadWizard
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

When trying to create a Campaign page with the minimal content

{
    "enabled": false
}

we get the following error:

Fatal error: Call to undefined function efSchemaValidate() in
/usr/local/www/apache22/data/plwiki/extensions/UploadWizard/includes/CampaignContent.php
on line 61

The same error appears using the JSON code from [1], which is definitely
working fine on Wikimedia Commons.

When we try to save the (presumably) incorrect

{
    "enabled": false,
}

we get:

Fatal error: Class 'JsonSchemaException' not found in
/usr/local/www/apache22/data/plwiki/extensions/UploadWizard/includes/CampaignContent.php
on line 42

When we try to use the preview, we get:

Fatal error: Call to undefined function efBeautifyJson() in
/usr/local/www/apache22/data/plwiki/extensions/UploadWizard/includes/CampaignContent.php
on line 86

We can create empty pages in the Campaign namespace, however. I assume there's
something wrong with JSON parser. The UploadWizard itself is running fine.

[1] https://commons.wikimedia.org/wiki/Campaign:wlm-de-nrw-k

-- 
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