BachelorDragon.png

The bachelor programme Celtic Languages and Culture at Utrecht University is under threat.

Reconciliation API modules: recon-suggest-property

From CODECS: Online Database and e-Resources for Celtic Studies
Service for suggesting Semantic MediaWiki properties whose (page) names match the search condition.

Parameters

API documentation

source
Currently supports smw (Semantic MediaWiki) and mw (MediaWiki).
profile
⧼apihelp-recon-suggest-property-param-profile⧽
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:

{{#recon-sitesearch: |apiurl=https://codecs.vanhamel.nl/api.php |apiurlparams=action=recon-suggest-property origin=* substr= |targeturl=https://codecs.vanhamel.nl/Special:Search?search= |dev=true }}

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.