Topic on Extension talk:Semantic Forms Inputs

Menuselect Warnhinweis: Eine Teilabfrage enthält eine ungültige Bedingung

3
Seppl2013 (talkcontribs)

Trying to use the MenuSelect https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs#Examples_4 as outlined in the example

{{{field|Part of|input type=menuselect|structure= {{#ask: [[Part of::+]]{{!}} format=tree{{!}} parent=Part of }} }}}

I get the error message: Warnhinweis: Eine Teilabfrage enthält eine ungültige Bedingung the simple example

{{{field|foo|input type=menuselect
|structure=
* Item 1
** Item 11
** Item 12
* Item 2
** Item 21
** Item 22
}}}

works as expected. Neither

'''Thema:''' {{{field|Thema|input type=menuselect|structure={{#ask: [[Category:BITPlanStandard]] {{!}} ?nr {{!}} format=tree {{!}} parent=nr {{!}} limit=70 }} }}}

nor

'''Thema:''' {{{field|Thema|input type=menuselect|structure={{#ask: [[Category:BITPlanStandard]] {{!}} format=tree {{!}} parent=nr }} }}}

nor

'''Thema:''' {{{field|Thema|input type=menuselect|structure={{#ask: [[Thema::+]]{{!}} format=tree{{!}} parent=Thema }} }}}

work - all give the same error message.

All these ask queries used on their own work as expected.


Versions:

  • MediaWiki 1.23.5 (a80a0a2) 19:06, 13. Okt. 2014
  • Semantic Forms 2.8 (8bdcec3) 21:31, 6. Okt. 2014 GPL-2.0+ Ermöglicht Formulare zum Hinzufügen und Bearbeiten semantischer Daten Yaron Koren, Stephan Gambke und andere
  • Semantic Forms Inputs 0.9.0 alpha (329a4b7) 19:14, 27. Aug. 2014 GPL-2.0+ Ermöglicht verschiedene zusätzliche Eingabearten für Semantic Forms Stephan Gambke und andere
  • Semantic MediaWiki 2.0 GPL-2.0+ Ermöglicht es, das Wiki zugänglicher zu machen – für Menschen und Maschinen (Dokumentation) Markus Krötzsch, Jeroen De Dauw, James Hong Kong und andere
  • Semantic Result Formats 1.9
Seppl2013 (talkcontribs)

The example is wrong ... {{!}} should not be used but the verbatim | So e.g.:


'''Thema:''' {{{field|Thema|input type=menuselect|structure={{#ask: [[Category:BITPlanStandard]]  | format=tree | parent=nr | limit=70 }} }}}

works. I feel stupid :-) Please fix the example so other's won't get into this feeling, too ...

F.trott (talkcontribs)

Indeed? Could be something changed with latest changes in Semantic Forms. Anyway, fix it yourself, it's a wiki.

Reply to "Menuselect Warnhinweis: Eine Teilabfrage enthält eine ungültige Bedingung"