Reconciliation API modules: recon-suggest-entity
using MediaWiki core
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 wiki pages, with options, e.g. to restrict one's search to a MediaWiki category/categories or namespace.
You can restrict your search by namespace, by category, or by a combination of category and namespace.
Development
Examples
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=...
- namespace = Subject
Dev info. API: https://codecs.vanhamel.nl/api.php?action=recon-suggest-entity&origin=%2A&source=mw&ns=Subject&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=
- category = Mabinogion
Shows the issue when using display title, formatted with italics (em or i), to search text.
Dev info. API: https://codecs.vanhamel.nl/api.php?action=recon-suggest-entity&origin=%2A&source=mw&cat=Mabinogion&substrpattern=allchars&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=