[Mediawiki-l] Updating Special:Wantedpages

Jason Smithson wikipedia.jason at breakset.com
Sat Jul 3 20:48:48 UTC 2004


On Sat, Jul 03, 2004 at 01:14:45PM +0200, Oliver Kuhl wrote:
> Hi,
> 
> I'm new to mediawiki and installed version 1.3.0beta4 some days ago. Everything
> works fine so far but Special:Wantedpages.
> 
> If I got it right Wantedpages will list all wikilinks, which lead to non
> existent pages. I think that a maintenance job has to search for those pages,
> but I am not really shure because I didn't find a documentation about the
> maintenance scripts.

Pages only show up by default when there are two or more links to them.

Brion provided this fix:

In SpecialWantedpages.php change:
  "FROM brokenlinks GROUP BY bl_to HAVING nlinks > 1 " .
to:
  "FROM brokenlinks GROUP BY bl_to HAVING nlinks >= 1 " .

Enjoy!



More information about the MediaWiki-l mailing list