Reconciliation API modules: recon-suggest-property
From CODECS Dev
- Main
- Configuration
- Local file settings
- JSON profiles
- Modules
- recon
- recon-suggest-entity
- recon-suggest-entity (MW)
- recon-suggest-property
- recon-suggest-type
- recon-suggest-propvalue
- Other
- Additional usage guide
- Implementation notes
- Implementation notes: SMW
- Implementation notes: MW and types
- Redirect service
- TypeaheadSearch
- Future
Service for suggesting Semantic MediaWiki properties whose (page) names match the search condition.
Parameters
source
mw
(for MediaWiki core) or smw
(for Semantic MediaWiki).profile
⧼apihelp-recon-suggest-property-param-profile⧽
Not yet implemented.
Not yet implemented.
substr
The substring to autocomplete on.
offset
Result offset (default: 0).
limit
Result limit.
Development
Examples
api.php?action=recon-suggest-property&format=json&source=smw&substr=...
From CODECS:
- https://codecs.vanhamel.nl/api.php?action=recon-suggest-property&substr=Has
- https://codecs.vanhamel.nl/api.php?action=recon-suggest-property&substr=Refers
Dev info. API: https://codecs.vanhamel.nl/api.php?action=recon-suggest-property&origin=%2A&substr=
Target URL: https://codecs.vanhamel.nl/Special:Search?search=
Footer URL: https://dev.vanhamel.nl/index.php?title=Special:Search&fulltext=1&search=
Target URL: https://codecs.vanhamel.nl/Special:Search?search=
Footer URL: https://dev.vanhamel.nl/index.php?title=Special:Search&fulltext=1&search=
Not or not yet supported
- Cargo
- multilinguality and display titles
- A profile-specific category of properties
- case/accent folding. The default behaviour, without profile, makes use of SMW’s native services to return any properties registered as being in use, regardless whether or not a wiki page has been created for them. Two 'string conditions' (COND_PRE and COND_MID) are currently used. To support case/accent folding, the use of 'extra conditions' (
addExtraCondition()
) would be the way to go.