The Article 'Plural' has too many pages redirecting to it

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

The Article 'Plural' has too many pages redirecting to it

yishai goldstein
Hi,
http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural shows that there are many articles that redirect to "Plural" when in fact they redirect to other articles.
For example 'Companies' is the plural of 'Company' so the article 'Companies' naturally redirects to 'Company', but is also listed as a redirect to 'Plural'.
Any input would be appreciated.
Thanks,
Yishai

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pages redirecting to it

Bryan Tong Minh
On Thu, Dec 18, 2008 at 2:29 PM, yishai goldstein <[hidden email]> wrote:

> Hi,
> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural
> shows that there are many articles that redirect to "Plural" when in fact
> they redirect to other articles.
> For example 'Companies' is the plural of 'Company' so the article
> 'Companies' naturally redirects to 'Company', but is also listed as a
> redirect to 'Plural'.
> Any input would be appreciated.
> Thanks,
> Yishai
>
That's because those pages embed {{R from plural}} which links to [[Plural]].


Bryan

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pagesredirecting to it

Russell Blau
"Bryan Tong Minh" <[hidden email]> wrote:
> On Thu, Dec 18, 2008 at 2:29 PM, yishai goldstein <[hidden email]>
> wrote:
>> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural
>> shows that there are many articles that redirect to "Plural" when in fact
>> they redirect to other articles.
>> For example 'Companies' is the plural of 'Company' so the article
>> 'Companies' naturally redirects to 'Company', but is also listed as a
>> redirect to 'Plural'.
...
> That's because those pages embed {{R from plural}} which links to
> [[Plural]].

And that's an excellent example of why redirect templates should ''not''
include wikilinks!  See http://bugzilla.wikimedia.org/show_bug.cgi?id=16218 
(one of several bug reports that basically are identifying the same
problem -- Special:Whatlinkshere/Foo treats any wikilink appearing anywhere
on a redirect page as a redirect.

Russ


_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pages redirecting to it

Carl Beckhorn
In reply to this post by yishai goldstein

This a longstanding bug in mediawiki; it was originally filed
as bug 7304 [1]. The duplicate bug report 12791 [2] is easier
to understand.  As that report says,

 A page like
    ----
    #REDIRECT [[bar]]

    '''This''' is a [[foo]].
    ----
 is shown as a redirect on foo's What links here.

- Carl

1:  https://bugzilla.wikimedia.org/show_bug.cgi?id=7304
2:  https://bugzilla.wikimedia.org/show_bug.cgi?id=12971


_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pagesredirecting to it

Carl Beckhorn
In reply to this post by Russell Blau
On Thu, Dec 18, 2008 at 08:49:45AM -0500, Russell Blau wrote:
> And that's an excellent example of why redirect templates should ''not''
> include wikilinks!  See http://bugzilla.wikimedia.org/show_bug.cgi?id=16218 
> (one of several bug reports that basically are identifying the same
> problem -- Special:Whatlinkshere/Foo treats any wikilink appearing anywhere
> on a redirect page as a redirect.

I would think it's an example of why the parser bug should be resolved,
personally.  There's a separate bug (don't know the number) that
causes the contents of a redirect page to be invisible, so that it's
impossible to see the info that is transcluded from [[Template:R from plural]].

 - Carl

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pagesredirecting to it

Avi Rosenschein


On Thu, Dec 18, 2008 at 4:02 PM, Carl Beckhorn <[hidden email]> wrote:
On Thu, Dec 18, 2008 at 08:49:45AM -0500, Russell Blau wrote:
> And that's an excellent example of why redirect templates should ''not''
> include wikilinks!  See http://bugzilla.wikimedia.org/show_bug.cgi?id=16218
> (one of several bug reports that basically are identifying the same
> problem -- Special:Whatlinkshere/Foo treats any wikilink appearing anywhere
> on a redirect page as a redirect.


Why is there a difference between http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural, where the problematic backlinks are not marked separately, and http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Ticker%20symbol, where they seem to be included under a <redirlinks> element?

-- Avi

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: The Article 'Plural' has too many pagesredirecting to it

Brad Jorsch
On Sun, Dec 28, 2008 at 11:17:25AM +0200, Avi Rosenschein wrote:
>
> Why is there a difference between
> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Plural,
> where the problematic backlinks are not marked separately, and
> http://en.wikipedia.org/w/api.php?action=query&list=backlinks&blredirect&bllimit=100&blnamespace=0&blfilterredir=redirects&bltitle=Ticker%20symbol,
> where they seem to be included under a <redirlinks> element?

Everything in the <redirlinks> element in your second query is a link to
a redirect to the bltitle, rather than a direct link to bltitle. For
example, MSFT links to "Stock symbol", which in turn redirects to
"Ticker symbol", so it's displayed in a <redirlinks> element under
"Stock symbol" in the query.

In the first query, everything returned links directly so <redirlinks>
is not needed.

_______________________________________________
Mediawiki-api mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api