Clone this repo:
  1. ce78b5c Fix 'p' parameter by Timo Tijhof · 1 year, 3 months ago master
  2. 9d7c27b Improve 'selected namespace' styling by Timo Tijhof · 1 year, 3 months ago
  3. 06aa1b7 Restore apmaxsize=0 parameter in API request by Timo Tijhof · 1 year, 3 months ago
  4. 34d8326 Upgrade to toollabs-base v2, add Phan, PHP 8 compat, remove GitHub ref by Timo Tijhof · 1 year, 3 months ago
  5. ca823bc build: Add PHP 7.0 and 7.1 to build matrix by Timo Tijhof · 7 years ago v0.4.0

BlankPages

https://blankpages.toolforge.org

BlankPages produces a list of wiki pages with empty content. The list can be obtained from any wiki, and reduced to one or more specified namespaces.

The purpose is to ease discovery of such pages to administrators. Each item in the list is accompanied by various shortcuts to quickly perform preset actions such as page deletion, with summary etc already filled out.

Usage

The application takes one query parameter project for the server name of a public Wikimedia Foundation wiki, e.g. project=commons.wikimedia.org.

Local development

  1. composer update
  2. composer serve

View http://localhost:4000/.

Deployment on Toolforge

Initial setup, as per Toolforge documentation:

  1. Clone this repository.
  2. Create public link, e.g. $ ln -s ~/src/blankpages/public_html/ ~/public_html
  3. Start webservice $ webservice --backend=kubernetes php8.2 restart
  4. Run composer (in a webservice shell, to ensure correct PHP version context)
    $ webservice shell
    shell$ cd src/blankpages
    shell:blankpages$ composer update --no-dev
    
  NODES
composer 4
os 7
server 1
text 1
web 4