Add a function to ApiSite that calls the citoid endpoint (if available) and returns the returned citation.
Parameters:
- url - the url to cite
- format - the format to get the citation
- language - the accepted language for the API
Throws on missing API.
Add a function to ApiSite that calls the citoid endpoint (if available) and returns the returned citation.
Parameters:
Throws on missing API.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| IMPR: Follow-up for Citoid Query interface implementation | pywikibot/core | master | +39 -11 | |
| Add Citoid API to pywikibot | pywikibot/core | master | +127 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | Goal | Strainu | T400608 Add high-level API for Wikidata in Pywikibot | ||
| Open | Feature | None | T413705 Add support for MediaWiki REST API | ||
| Resolved | Strainu | T401690 Add high-level function for generating citations using citoid |
Change #1195215 had a related patch set uploaded (by Strainu; author: Strainu):
[pywikibot/core@master] Add Citoid API to pywikibot
Change #1195215 merged by jenkins-bot:
[pywikibot/core@master] Add Citoid API to pywikibot
Change #1195402 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] IMPR: Follow-up for Citoid Query interface implementation
Change #1195402 merged by jenkins-bot:
[pywikibot/core@master] IMPR: Follow-up for Citoid Query interface implementation