Changes

Jump to: navigation, search

Help:Wanted page

606 bytes added, 18:44, 20 June 2006
rm sidebar
{{h:h}}[[Category:System admin handbook]]

A page is considered "wanted" if it does not exist, while two or more pages in the project link to it.

The SQL for determining this is from include/SpecialWantedpages.php

SELECT 'Wantedpages' AS type,
pl_namespace AS namespace,
pl_title AS title,
COUNT(*) AS value
FROM $pagelinks
LEFT JOIN $page
ON pl_namespace=page_namespace AND pl_title=page_title
WHERE page_namespace IS NULL
GROUP BY pl_namespace,pl_title
HAVING COUNT(*) > 1

You can set another threshold by setting 'HAVING COUNT(*) > n'

{{H:f|enname=Wanted page}}
Anonymous user

Navigation menu