Reconciliation API modules: recon-suggest-entity
Parameters
Get pages based on a configuration profile:
api.php?action=recon-suggest-entity&profile=...&substr=...
source
mw
(for MediaWiki) or smw
(for Semantic MediaWiki).profile
Recon
namespace.concept
property
substr
substrpattern
cat
ns
Main,Help
.displaytitle
Developmemt
Semantic MediaWiki (source=smw)
MediaWiki (source=mw)
- namespace = Subject
{{#recon-sitesearch: |apiurl=https://codecs.vanhamel.nl/api.php |apiurlparams=action=recon-suggest-entity origin=* source=mw ns=Subject substr= |targeturl=https://codecs.vanhamel.nl/Special:Search?search= |dev=true }}
- category = Mabinogion
Shows the issue when using display title, formatted with italics (em or i), to search text.
{{#recon-sitesearch: |apiurl=https://codecs.vanhamel.nl/api.php |apiurlparams=action=recon-suggest-entity origin=* source=mw cat=Mabinogion substrpattern=allchars substr= |targeturl=https://codecs.vanhamel.nl/Special:Search?search= |dev=true }}
Notes
- @todo: maybe drop additional source param (mw or smw, which is implicit from other params or data).
To get pages from a MediaWiki category or namespace:
api.php?action=recon-suggest-entity&source=mw&ns=...&substr=... api.php?action=recon-suggest-entity&source=mw&cat=...&substr=...