Pomoc API MediaWiki

To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=mediadetection

(main | mediadetection)
  • Ten moduł wymaga praw odczytu.
  • Źródło: Upload Wizard
  • Licencja: GPL-2.0-or-later

Return the likelihood that the stashed image represented by the supplied filekey is a logo

Parametry:
Other general parameters are available.
filename

Name of the file page

filekey

filekey returned from the stash API request

Przykłady:
Return the likelihood that the image represented by the supplied filename is a logo
api.php?action=mediadetection&filename=My_image.jpg [otwórz w brudnopisie]
Return the likelihood that the stashed image represented by the supplied filekey is a logo
api.php?action=mediadetection&filekey=1ax8vy7ctc3k.op1rqo.3.jpg [otwórz w brudnopisie]