From: Yaron K. <ya...@wi...> - 2018-11-09 17:33:06
|
Hi Bud, Sorry for the long delay. This may not be related to Semantic MediaWiki, if what is being autocompleted on is values from a namespace. What is the form definition tag for the field that's giving that error message - is it this? {{{field|Test Image|input type=text with autocomplete|values from namespace=File|list=}}} If so, what does the line from the template that includes "{{{Test Image}}}" look like? -Yaron On Wed, Nov 7, 2018 at 6:50 PM Bud <blo...@ya...> wrote: > Hi all, > > I see that PageForms has had another update (to version 4.4.2) which I > have installed but I am still getting the "HTML attribute value can not > contain a list of values" message with a multi-valued field as described > below (see #2). > > I also see from a different message that Yaron has posted that he no > longer supports PF with SMW: > "Unfortunately, I don't really test Page Forms with Semantic MediaWiki any > more - so I don't know when, if ever, I'll be able to look into this > problem. Hopefully, someone else can fix the problem and create a Page > Forms patch for it. > " > > So, is there anyone that can look into my issue? > > Thanks, > Bud Loveall > > On Thursday, October 25, 2018, 2:54:08 PM CDT, Bud via Semediawiki-user < > sem...@li...> wrote: > > > Hi Yaron, > Thanks for your quick reply. Versions:MediaWiki: 1.30.1 (I had the same > issues with 1.30.0)SMW: 3.0.0 (I had the same issues with > 2.5.8)PageSchemas: 0.4.8PageForms: 4.4-rc1 > I see that there is now a 4.4.1 version of PageForms, so I upgraded to it > but still get the same issues. > Thanks again,Bud > On Thursday, October 25, 2018, 11:41:32 AM CDT, Yaron Koren < > ya...@wi...> wrote: > > Hi Bud, > #1 sounds like a Page Schemas issue, while #2 sounds like a Page Forms > issue. If Page Schemas is adding "list=" to the form definition instead of > "list", that's clearly a bug. > Bug #2 for some reason I thought was fixed already. What versions are you > using of Page Schemas and Page Forms? > -Yaron > On Wed, Oct 24, 2018 at 9:47 PM Bud via Semediawiki-user < > sem...@li...> wrote: > > Hi all, > Still a newbie here. I'm learning about Page Forms and Page Schemas and > have come across two related issues: > > 1) I'm trying to create a field in a form to allow the user to enter one > or more file names of an image. To do this, I'm using Edit Schema to > create/edit a Form. For the field in question, I check the "This field can > hold a list of values" checkbox and set the "This field will always have > values in the following namespace:" to File. > > For the Form Input section, I set the input type to "text with auto > complete" and enter "values from namespace=File, list" into the Enter > parameter names textbox. > > Then, for the Semantic Property section, I just set the Type to Text and > leave all the other fields blank. > > Then, of course, save the page, Generate pages and run the runJobs.php > script. > > Then I choose a page that uses that form and choose Edit with form. This > allows me to enter with autocomplete the first file name, but for the > second file name, autocomplete does not work. It will accept two file names > and successfully shows the images when I save the page. > > After much research and trial and error, I see that if I edit the form > itself, it shows this: > ! Test Image: | {{{field|Test Image|input type=text with > autocomplete|values from namespace=File|list=}}} > |} > > If I change the "list=" parameter to just "list," save the page and run > runJobs.php then I can edit using form and the field will successfully > autocomplete for both the first and second file names. > > HOWEVER, > > 2) when I save the page, I get a message "HTML attribute value can not > contain a list of values" and does not allow me to edit with form again. > I've tried a myriad number of different parameter values and other Page > Schema settings, but have not been able to fully get it to work the way it > seems like it should (multiple autocomplete file names which then allow > further editing with form). Any help? Is editing the form to change "list=" > to just "list" causing any issues? Is this a bug in Page Schemas to not > include the equal sign? Are there other changes I should make to the Page > Schema editing? > Thanks for your help.Bud Loveall > > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > > > -- > WikiWorks · MediaWiki Consulting · http://wikiworks.com > > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > -- WikiWorks · MediaWiki Consulting · http://wikiworks.com |