Help:Input assistance

From semantic-mediawiki.org
Jump to: navigation, search
Table of Contents

Semantic MediaWiki 3.0.0Released on an unknown date and compatible with MW 1.27.0 - 1.30.x. introduced an entity suggester123 for some registered input fields to increase search efficiency and accuracy during the annotation process and improve the overall editing experience by providing an input assistance.

Features and limitations

Input assistance is available for:

Support for this feature is only available for users that have set the appropriate user preference.

Usage

The suggestion box will only appear when an appropriate context marker (e.g. p:) and a prefix condition (i.e. [[ as common prefix) is available at the same time to avoid arbitrary searches on non related text inputs.

The default context marker (or token) that the entity suggester uses to identify what type of entity is being requested have been defined by:

It should be noted that when only the prefix, e.g. p: is entered the suggester will remain silent and not activate due to a missing prefix condition.

Page edit textarea

The page edit textarea (wikiEditor) has two additional methods on how to active a suggestion box, ? and | as prefix combination with p: to ease the selection of a property instance while annotating with the #set parser function, #subobject parser function, or as part of a printout declaration.

#set parser function
{{#set:
 |p: ...
}}
#subobject parser function
{{#subobject:
 |p: ...
}}
#ask parser function
{{#ask:
 [[p: ...
 |?p: ...
}}

See also


References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2696
  2. ^  Semantic MediaWiki: GitHub pull request gh:smw:2699
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2756