From mediawiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: unmaintained
Implementation Special page
Description Implements a special page that displays an unformatted list of all pages on the wiki
Author(s) Nathan Larson (Leucostictetalk)
Latest version 1.0.0 (2013-11-14)
MediaWiki 1.22+
PHP 5.3+
MediaWiki 1.36 Not formally tested
MediaWiki 1.34 Not formally tested
MediaWiki 1.32 Not formally tested
Database changes No
License GPL

Check usage and version matrix.

The OneColumnAllPages extension implements a special page, "Special:OneColumnAllPages", that displays an unformatted list of all pages on the wiki. What's that you say? Special:AllPages and API:Allpages already do something like this? Sort of; Special:AllPages gives you the page titles but puts them in a three-column list. API:Allpages gives them to you in some format like HTML, PHP, JSON, TXT, etc. that you then have to strip out the garbage from. This is designed to just give you an unformatted list with one page title per line, so that you can easily copy and paste all or part of it into, say, Special:DeleteBatch (see Extension:DeleteBatch) if you want to mass-delete stuff, or into your favorite spreadsheet application so you can then play around with it some more (e.g. adding pipes and new page titles so that you can put it into a file that will be fed into moveBatch.php.)

An alternative to using this extension is to set $wgExportFromNamespaces to true so that you can get a list of pages in each namespace by going to Special:Export.


  • Download and place the file(s) in a directory called OneColumnAllPages in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/OneColumnAllPages/OneColumnAllPages.php";
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.



Sort by page_id[edit]

By default, the pages are sorted alphabetically. To get the pages in order by page.page_id, use Special:OneColumnAllPages/page_id .


To get a list of action=raw pages, use Special:OneColumnAllPages/raw .


To get a list of Special:ViewWikitext pages, use Special:OneColumnAllPages/viewwikitext .