Mailing List Archive

Updating Special:Wantedpages
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.

Can anybody help me, please?

Gruss,
Ollie.
Re: Updating Special:Wantedpages [ In reply to ]
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!
Re: Updating Special:Wantedpages [ In reply to ]
Zitat von Jason Smithson <wikipedia.jason@breakset.com>:

> On Sat, Jul 03, 2004 at 01:14:45PM +0200, Oliver Kuhl wrote:
> > 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 " .
Thanks a lot! This one worked and I could change the query a bit more to fit my
needs (i.e. filter out any discussion pages). Now I understand a bit more...

Gruss,
Ollie.