راهنمای واسط برنامه‌نویسی کاربردی مدیاویکی

این یک صفحهٔ مستندات برای واسط برنامه‌نویسی کاربردی مدیاویکی است که به‌طور خودکار ایجاد شده است.

مستندات و نمونه‌ها: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=mediadetection

(main | mediadetection)
  • این پودمان نیازمند اختیارات خواندن است.
  • منبع: Upload Wizard
  • مجوز: GPL-2.0-or-later

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

پارامترها:
Other general parameters are available.
filename

Name of the file page

filekey

filekey returned from the stash API request

نمونه‌ها:
Return the likelihood that the image represented by the supplied filename is a logo
api.php?action=mediadetection&filename=My_image.jpg [باز کردن در صفحهٔ تمرین]
Return the likelihood that the stashed image represented by the supplied filekey is a logo
api.php?action=mediadetection&filekey=1ax8vy7ctc3k.op1rqo.3.jpg [باز کردن در صفحهٔ تمرین]