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

           Summary: Error creating new page with formlink and
                    Special:SpecialPages EditData with 1.8.8
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: SemanticForms
        AssignedTo: yaro...@gmail.com
        ReportedBy: jack.p...@psitex.com
                CC: wikibugs-l@lists.wikimedia.org


Created an attachment (id=7169)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7169)
Patches to fix formlink error and php error for EditLink

The following error returns when attempting to open a new form/page:

This is the page for editing data. You must specify both a form name and a
target page in the URL; it should look like 'Special:EditData?form=<form
name>&target=<target page>', or 'Special:EditData/<form name>/<target page>'.

>From Special:EditData

URL: http://wiki.montcopa.org/TestWiki/index.php?title=Special:EditData
(in this case it will also throw a PHP error: Undefined offset:  1 in
TestWiki\extensions\SemanticForms\specials\SF_EditData.php on line 34)


>From a formlink using the new documentation in the code:
* 'formlink' is called as:
 *
 * {{#formlink:form=|link text=|link type=|query string=}}
 *

Wikitext: {{#formlink:form=Referral Forms | link text=Add Referral Form | link
type=button | query string=target=REF:{{BASEPAGENAME}}&namespace=REF}}

URL: http://wiki.montcopa.org/TestWiki/index.php?title=Special:AddData/Referr
al_Forms&target=REF:Active%20Part-10019&namespace=REF

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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

Reply via email to