MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=delete

(main | delete)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: MediaWiki
  • License: GPL-2.0+

حذف صفحة.

Parameters:
title

عنوان الصفحة للحذف. لا يمكن أن يُستخدَم جنبا إلى جنب مع pageid</var

pageid

معرف الصفحة للحذف. لا يمكن أن يُستخدَم جنبا إلى جنب مع pageid</var

Type: integer
reason

سبب الحذف. إذا لم يُحدَّد، سوف تُستخدَم أحد الأسباب التي تنشأ تلقائيا.

tags

تغيير وسوم لتطبيق الإدخال في سجل الحذف.

Values (separate with | or alternative):
watch
Deprecated.

أضف الصفحة إلى لائحة مراقبة المستعمل الحالي

Type: boolean (details)
watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

One of the following values: watch، unwatch، preferences، nochange
Default: preferences
unwatch
Deprecated.

إزالة الصفحة من قائمة المراقبة للمستخدم الحالي.

Type: boolean (details)
oldimage

اسم الصورة القديمة لحذفها كما هو منصوص عليه action=query&prop=imageinfo&iiprop=archivename.

token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.