Extension:OrphanedTalkPages

From mediawiki.org
MediaWiki extensions manual
OrphanedTalkPages
Release status: stable
Implementation Special page
Description Provides a special page with a list of talk pages that do not have an accompanying page
Author(s) Mainframe98talk
Latest version 1.4.0 (2020-10-01)
Compatibility policy Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.35.0+
Database changes No
License MIT License
Download
README
  • $wgOrphanedTalkPagesExemptedNamespaces
  • $wgOrphanedTalkPagesIgnoreUserTalk
Quarterly downloads 6 (Ranked 143rd)
Translate the OrphanedTalkPages extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The OrphanedTalkPages extension adds a new Special page to MediaWiki: Special:OrphanedTalkPages. This special page lists all talk pages that do not have an accompanying page.

Installation[edit]

  • Download and move the extracted OrphanedTalkPages folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/OrphanedTalkPages
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'OrphanedTalkPages' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parameters[edit]

$wgOrphanedTalkPagesExemptedNamespaces
Controls which talk namespaces should be ignored when looking for orphaned talk pages. This variable is an array of namespace ids and is empty by default.
$wgOrphanedTalkPagesIgnoreUserTalk
Determines if the user talk namespace (3, or NS_USER_TALK) should be ignored when looking for orphaned talk pages. This variable is a boolean and set to true by default.

Other important notes[edit]

  • The query that this special page uses is considered expensive. This means that when $wgMiserMode is enabled, the results will be served from cache.
  • The special page may report talk pages as orphaned when they are not. The most common situation where this happens is File talk pages when $wgUseInstantCommons or $wgForeignFileRepos is enabled.
  • While no dedicated API module is provided by OrphanedTalkPages itself, the API does provide the results of Special:OrphanedTalkPages using the querypage query list. For example: