Difference between revisions of "Deleting page from mediawiki"
From Notes_Wiki
(Created page with "<yambe:breadcrumb>Mediawiki_maintenance_scripts|Mediawiki maintenance scripts</yambe:breadcrumb> =Deleting page from mediawiki= To delete page from mediawiki using maintenanc...") |
m |
||
Line 1: | Line 1: | ||
[[Main Page|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: | To delete page from mediawiki using maintenance scripts use: | ||
Line 11: | Line 10: | ||
#:</pre> | #:</pre> | ||
#::Note that multiple titles can be specified in titles.txt (one per line) and all of these would be deleted. | #::Note that multiple titles can be specified in titles.txt (one per line) and all of these would be deleted. | ||
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Web based tools or applications]] > [[Mediawiki configuration]] > [[Mediawiki maintenance scripts]] > [[Deleting page from mediawiki]] |
Latest revision as of 13:04, 28 July 2022
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:
- Go to mediawiki installation folder
- 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