Extension:MissedPages

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
MediaWiki extensions manual
OOjs UI icon advanced.svg
MissedPages
Release status: beta
Implementation Special page , Database
Description Summarizes page not found (404) errors, and provides a quick way to redirect or ignore them.
Author(s) Sam Wilson (Samwilsontalk)
Latest version 0.1.0
Compatibility policy master
Database changes Yes
Tables missed_pages
License MIT License
Download
README
Translate the MissedPages extension if it is available at translatewiki.net
Check usage and version matrix.

The MissedPages extension tracks every time a site visitor tries to go to a wiki page that doesn't exist, and gives site editors a easy-to-use form with which to track the most popular missed pages and also to redirect these to existing pages.

Installation

  • Download and place the file(s) in a directory called MissedPages in your extensions/ folder.
  • Only when installing from git run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'MissedPages' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Usage

The Special:MissedPages page lists the top 100 missed pages in descending order of how many times they were missed. It allows editors to redirect, delete, or ignore the page title in question.

Redirect
Adding a redirect from Special:MissedPages is equivalent to adding #REDIRECT [[Lorem ipsum]] to the page, with the advantages of being quicker through an autocomplete form field, and it also deletes the missed pages log entries for that page (because after redirecting it'll no longer be seen as a missed page).
Delete
Deleting an entry from Special:MissedPages clears that page title until it is again missed. This can be useful if the page has been created since the log entries were added.
Ignore
Lots of pages will appear in the log that are not of interest to the wiki. To prevent these from appearing again, they can be added to the 'ignore list'.

User rights

  • edit — to add redirects
  • block — to ignore pages
  • delete — to delete entries in the missed pages list

See also