Deleting page from mediawiki

From Notes_Wiki

Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki maintenance scripts > Deleting page from mediawiki

To delete page from mediawiki using maintenance scripts use:

  1. Go to mediawiki installation folder
  2. Then use:
    echo "<Title of page to be deleted>" > titles.txt
    php maintenance/deleteBatch.php titles.txt
    rm titles.txt
    Note that multiple titles can be specified in titles.txt (one per line) and all of these would be deleted.


Home > CentOS > CentOS 6.x > Web based tools or applications > Mediawiki configuration > Mediawiki maintenance scripts > Deleting page from mediawiki