Last modified: 2010-05-15 16:03:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 13418 - eiredirect option doesn't seem to work
eiredirect option doesn't seem to work
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-03-18 18:25 UTC by Russell Blau
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Russell Blau 2008-03-18 18:25:16 UTC
See example in the URL field.

The documentation is not 100% clear on what eiredirects= is supposed to do, but I believe it is supposed to return a list of pages that transclude a redirect to the eititle page (in this case, there are several redirects that provide aliases for [[Template:Category redirect]], including for example, [[Template:Categoryredirect]]).  If these pages were being returned by the query, they would be in the results of the above link, between [[Category:Lavalers]] and [[Category:Media in New Mexico]], based on the page id for Template:Categoryredirect.  As you can see, the query does not return these pages.

Another possible interpretation is that the query is supposed to return pages that are redirects to a title that transcludes [[Template:Category redirect]] (although I have no idea what the use case for this would be).  Examining the results of the query (including pages before and after the one I've pasted in the URL field), however, indicates that no such pages are being returned, and there do not appear to be any <redirlinks> elements anywhere in the query response.
Comment 1 Roan Kattouw 2008-03-18 19:14:48 UTC
This is because of a flaw in embeddedin: it checks for pages that *embed* eititle and are redirects. However, embeddings through redirects are also listed in the normal embeddedin list (i.e. if [[A]] redirects to [[B]] and [[C]] includes {{A}}, both eititle=B en eititle=C will list A), so eiredirect is completely useless: it's behavior is very much counterintuitive and the intuitive behavior would return duplicate data (and would result in inefficient DB queries, says my gut feeling). For this reason I'll remove eiredirect from embeddedin.
Comment 2 Roan Kattouw 2008-03-18 19:31:29 UTC
(In reply to comment #1)
> For this reason I'll remove eiredirect from
> embeddedin.

Did that in r32125. 

Note You need to log in before you can comment on or make changes to this bug.