Last modified: 2011-01-25 01:20:05 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T8934, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6934 - Allow separated inclusions, links, redirects on whatlinkshere
Allow separated inclusions, links, redirects on whatlinkshere
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement with 7 votes (vote)
: ---
Assigned To: Aryeh Gregor (not reading bugmail, please e-mail directly)
:
: 10311 10722 10751 13467 (view as bug list)
Depends on: 1392
Blocks:
  Show dependency treegraph
 
Reported: 2006-08-06 23:15 UTC by Mark Clements (HappyDog)
Modified: 2011-01-25 01:20 UTC (History)
7 users (show)

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


Attachments
Proposed patch, not fully functional (7.19 KB, patch)
2007-06-24 05:44 UTC, Aryeh Gregor (not reading bugmail, please e-mail directly)
Details

Description Mark Clements (HappyDog) 2006-08-06 23:15:20 UTC
It would be incredibly useful to have a 'What redirects here' function, similar
to the 'What links here' page.

I expect the most sensible and flexible way to implement this would be to modify
the what links here page to include a set of toggles at the top of the page
which show/hide direct links/redirects/inclusions individually, similar to the
way bots/minor edits/etc work on recent changes.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-06 23:21:55 UTC
Expanded the bug a bit.  Allow the viewer to show any combination of links,
template-inclusions, redirects, and image/category-inclusions.
Comment 2 Rotem Liss 2006-08-18 12:48:16 UTC
(In reply to comment #1)
> Expanded the bug a bit.  Allow the viewer to show any combination of links,
> template-inclusions, redirects, and image/category-inclusions.

I support it, however please note that image/category inclusions seem to be
defined in the tables categorylinks and imagelinks, not in the pagelinks table
which seems to be used in Special:Whatlinkshere, and therefore are not displayed
in Special:Whatlinkshere at all, but under the image links header in the image
page, or in the category page.
Comment 3 Rob Church 2006-08-18 15:36:52 UTC
1. To record redirects in a reliable fashion will require a new table to record
explicit redirect links. Reliance upon the pagelinks table in combination with
page.page_is_redirect is not sufficient.

2. Category and image linkages shouldn't appear on "what links here" because
that's not the purpose of the page, and those relationships are presented elsewhere.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-08-18 18:14:54 UTC
(In reply to comment #3)
> 2. Category and image linkages shouldn't appear on "what links here" because
> . . . those relationships are presented elsewhere.

Oh, right.
Comment 5 David Augusto Villa 2006-12-31 08:59:05 UTC
Based on information already provided in Special:What links here, the ways in which 
articles link is:

* Direct and/or indirect link
* Direct and/or indirect inclusion
* Redirect

The inability to do this has made simplifying some of the "super" templates on 
Wiktionary difficult to do because it's not clear where a template is directly used. 
The original request would also help identify shortcut (redirect) names for templates, 
since redirects are not categorized as the templates are.

Meta-comment: Note that categories can be thought of as an implementation of 
Special:What links here via direct link.

Is it also possible to restrict Special:What links here by namespace? ~~~~
Comment 6 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-12-31 17:44:35 UTC
Namespace selection for whatlinkshere is bug 4624.
Comment 7 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-03-05 18:03:30 UTC
*** Bug 9169 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Hörstemeier 2007-03-05 22:20:07 UTC
Now suddenly links like [[:Image:Example.jpg]] are treated same as
[[Image:Example.jpg]] there needs to be a way to find only the second, otherwise
it will be impossible to use the WhatLinksHere page to find editing experiments.
Comment 9 Andreas Hörstemeier 2007-03-06 12:43:08 UTC
Can I delete my last comment? :-) It was a misunderstanding on my side, someone
"fixed" my links to check the image uses, and actually that one broke it.
Comment 10 jon513 2007-04-18 11:35:19 UTC
I have notice two different occasion where I needed this functionality and it
was lacking.  The first was when it was found that "cheap" redirected to Jew I
wanted to see if there were any other inappropriate redirects.  I was able to
find that the same had taken place for "Stingy" but it was very difficult to
sift though all the other links.

The second time was when disambiguating "egg".  As a disambiguation page becomes
more used it becomes more vandalized (Redwolf24's law see [[WP:RAUL]] 19).  Then
the whatlinkshere becomes full of links to warning to vandals, making it harder
to disambiguate; which in turns makes more vandals.  It is becoming very hard to
see links to article as the vast majority of the links are from talk pages of
the wikipedia space.  
Comment 11 Danny B. 2007-06-19 13:39:12 UTC
(taken from bug 8986 and slightly modified)
It would be great to have:

* pulldown menu with namespaces [already done]
* group of checkboxes [link, trancslusion, redirect]
* radio switch [show all / first only level - for redirects]
Comment 12 Brion Vibber 2007-06-19 14:53:34 UTC
*** Bug 10311 has been marked as a duplicate of this bug. ***
Comment 13 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-24 05:44:59 UTC
Created attachment 3818 [details]
Proposed patch, not fully functional

This patch appears to mostly work, but I'm a bit confused as to the relationship between pagelinks and templatelinks.  On the dump of simple-wiki I downloaded, many of the templatelinks seem to be duplicated for no apparent reason in pagelinks, so inclusions secretly show up even if inclusions are disabled.  Otherwise it seems to work pretty nicely, although I'm sure there are still flaws to be ironed out.
Comment 14 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-24 05:47:01 UTC
Oh, one slight flaw as of now is that there are no actual checkboxes, you have to hack the URL to get them to work, but that's details.  ;)
Comment 15 Danny B. 2007-07-27 14:20:32 UTC
*** Bug 10722 has been marked as a duplicate of this bug. ***
Comment 16 Raimond Spekking 2007-07-30 12:03:36 UTC
*** Bug 10751 has been marked as a duplicate of this bug. ***
Comment 17 Huji 2008-03-21 22:06:59 UTC
*** Bug 13467 has been marked as a duplicate of this bug. ***
Comment 18 Victor Vasiliev 2008-04-12 07:29:35 UTC
Fixed in r33163

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


Navigation
Links