Last modified: 2009-01-02 10:33:04 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 T7477, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5477 - Categorized redirect is shown as stub in Category page
Categorized redirect is shown as stub in Category page
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Categories (Other open bugs)
1.7.x
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ja.wikipedia.org/wiki/Category...
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-06 10:58 UTC by PiaCarrot
Modified: 2009-01-02 10:33 UTC (History)
1 user (show)

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


Attachments
patch against svn trunk (1.99 KB, patch)
2006-05-05 19:55 UTC, nekocue
Details

Description PiaCarrot 2006-04-06 10:58:21 UTC
In ja.wp, some redirect page (For example, 
bishojo games ported to Sony platform)
has category. Currently it works as redirect, but it is
marked as stub article in Article list on Category Page
if someone set stub threshold.

For example, "Shuffle! On the stage"(It is redirect to "Shuffle!")
is marked as stub in Category:PS2 Games
(
http://ja.wikipedia.org/wiki/Category:%E3%83%97%E3%83%AC%E3%82%A4%E3%82%B9%E3%83%86%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B32%E7%94%A8%E3%82%BD%E3%83%95%E3%83%88
).
Comment 1 Melancholie 2006-04-06 12:18:41 UTC
In which way it is marked as a stub? I cannot see anything. Do you mean the link is coloured in 
purple when you are logged in (size of article; see Special:Preferences)?
Comment 2 Brion Vibber 2006-04-06 21:36:51 UTC
Behavior confirmed with stub threshold set to 250.

I'm not sure why; the page record does have page_is_redirect marked,
which should override stub markings. page_len is 215; setting threshold
down to 200 it shows normally so I can confirm the length field is being
loaded.
Comment 3 nekocue 2006-05-05 19:55:30 UTC
Created attachment 1667 [details]
patch against svn trunk

Linker::makeSizeLinkObj, called from CategoryPage::doCategoryMagic, does not
respect page_is_redirect or namespace.

The attached patch is a possible solution. There may be a better way.
Comment 4 freakofnurture 2006-06-24 17:45:13 UTC
I don't see how this is a bug. I rather like being able to easily determine the
presence of improperly included items in redirect categories.
Comment 5 Aaron Schulz 2009-01-02 10:33:04 UTC
No longer seems to be the case

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


Navigation
Links