JMediawikiPages::deletePageByName
Method to delete a page.
Signature
public function deletePageByName(string
$title,
[string
$reason = null,
[string
$watchlist = null,
[string
$oldimage = null]]] )
Parameters
-
$title
- Title of the page you want to delete.
-
$reason
- Reason for the deletion.
-
$watchlist
- Unconditionally add or remove the page from your watchlis.
-
$oldimage
- The name of the old image to delete.