Last modified: 2011-03-13 18:04:35 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 T2133, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 133 - "Self Links" page contains all stubs too
"Self Links" page contains all stubs too
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 141 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2004-08-16 06:05 UTC by Timwi
Modified: 2011-03-13 18:04 UTC (History)
1 user (show)

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


Description Timwi 2004-08-16 06:05:07 UTC
Originally submitted by Nobody/Anonymous - nobody  2004-07-12 00:06

If you go to the "Maintenance" special page and click
on "Pages with Self Links", you should get a list of
all page that contain a link to themselves, which they
should not.

When I tried some of these, I always ended up on a stub
article that had no other references to itself, other
than the "expanding it" part of the "This is a stub"

A few possible solutions:
- determine the list of self-references before
expansion of special codes like {{stub}}
- while expanding special codes, don't count their
- Don't count references with extra parameters like
- Remove the action=edit link from the {{stub}}
expansion and refer to the edit button on the top of
the page 

There was one exception: a page (100 Years Series) that
had  a  __NOTOC__  directive and a manual TOC with
links of the form: 
[[100 Years Series#100 Years...100 Movies|AFIs 100
Years...100 Movies]] 
These are actually links to named bookmarks in the page
and should be allowed too.
I attempted to fix this by changing them to 
[[#100 Years...100 Movies|AFIs 100 Years...100 Movies]]
to make it even more clear that it's a bookmark on the
same page but it still shows up (but the Self Links
page is probably cached for some time, I'll check again

I don't have an account on sourceforge (yet)
However, my login on metawiki, wikipedia, etc, is lvl
Comment 1 Addicted 2004-08-16 13:36:21 UTC
*** Bug 141 has been marked as a duplicate of this bug. ***
Comment 2 Wil Mahan 2004-10-04 04:16:58 UTC
I'm closing this bug because self links are no longer entered
into the links table, so the self links maintenance page
has been disabled.

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