Xqt added a comment.

  In T100521#7948118 <https://phabricator.wikimedia.org/T100521#7948118>, 
@hongsy wrote:
  
  > Hello
  >
  > I noticed the Wikibase APIs do not have a `API:` link: e.g. 
https://www.wikidata.org/w/api.php?action=help&modules=wbsearchentities is the 
standard link to the `wbsearchentities` API and 
https://www.mediawiki.org/wiki/API:wbsearchentities doesn't work.
  >
  > I am wondering if the doc will be rendered correctly if i do something like:
  >
  >   .. seealso:: :api:`wbsearchentities`
  
  We use extlinks sphinx extension 
<https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html>. The 
`:api:` role only points to `https://www.mediawiki.org/wiki/API:%s` see 
https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/21d409d40bacd47f3e7f502960120419ca35031f/docs/conf.py#359.
  
  Either a new role for wikibase API must be definded (if there are a lot of 
it) or the a hyper link 
<https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#hyperlinks>
 mustbe used.

TASK DETAIL
  https://phabricator.wikimedia.org/T100521

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Xqt, hongsy, Didicodes, gerritbot, Dvorapa, MtDu, Tokenzero, TerraCodes, 
jayvdb, Aklapper, valhallasw, pywikibot-bugs-list, Kitanago, MutazAwad, 
Mhmohona, Gaurav24072002, Abhinay76, Annysah01, Rohitgeddam, Jyoo1011, Kasyap, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Soda, Chaytanya, Zkhalido, 
JorisDarlingtonQuarshie, apaskulin, wiki-helenatxu, Urstrulykkr, Viztor, Klein, 
Wenyi, Wonnral, VisbyStar, Tks4Fish, Mh-3110, Cpaulf30, Bright1055, Lahi, 
Toppole69, Ivana_Isadora, Mine0901, Jayprakash12345, Chicocvenancio, 
JakeTheDeveloper, Tbscho, MayS, Beeyan, Mdupont, JJMC89, xSavitar, Altostratus, 
Avicennasis, MuhammadShuaib, SBisson, Tmalhotra, SimmeD, mys_721tx, WMDE-Fisch, 
Dinoguy1000, Masti, Alchimista, Jay8g
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to