MediaWiki extensions manual
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+
Database changes No
License GNU General Public License 2.0 or later

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.

Installation edit

  • 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 file:
    require_once "$IP/extensions/OneColumnAllPages/OneColumnAllPages.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Usage edit

Parameters edit

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 .

Raw edit

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

ViewWikitext edit

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

Sidebar edit