Last modified: 2007-04-24 16:38:46 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 T11572, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9572 - Missing title parameter in index.php incorrectly lists page-Main_Page CSS class
Missing title parameter in index.php incorrectly lists page-Main_Page CSS class
Status: RESOLVED DUPLICATE of bug 7046
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/w/index.php?o...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-13 08:00 UTC by Titoxd
Modified: 2007-04-24 16:38 UTC (History)
0 users

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


Attachments

Description Titoxd 2007-04-13 08:00:27 UTC
If the title parameter from a link to a wiki page (such as modifying
http://en.wikipedia.org/w/index.php?title=Band-stop_filter&oldid=120276487 to
http://en.wikipedia.org/w/index.php?oldid=120276487) causes the page to render
properly, with one exception: the title of the page and the contents of
[[MediaWiki:Tagline]] are removed. Ideally, missing the title parameter would be
transparent to the user.
Comment 1 Phil Boswell 2007-04-13 08:22:48 UTC
For the avoidance of doubt, if the page has been moved in the meantime, should the 
title rendered be that at the time the "oldid" was current, or the title to which it 
corresponds now?
Comment 2 Titoxd 2007-04-14 17:28:21 UTC
(In reply to comment #1)
> For the avoidance of doubt, if the page has been moved in the meantime, should the title rendered be that at the 
time the "oldid" was current, or the title to which it corresponds now?

I don't think the old title is kept in the revision table, so it would have to be the new one. 
Comment 3 Titoxd 2007-04-14 17:31:08 UTC
Actually, after looking at my local copy of MediaWiki, the revision table stores page.page_id, so theoretically, it 
*could* point to an old title. That would be an additional query, and I'm not sure that it even is a good idea, so I 
say the new (current) title should be ok.
Comment 4 Brion Vibber 2007-04-24 15:37:10 UTC
No, that's the current title. Anyway that's completely irrelevant AND DOES NOT
BELONG on this bug.

The issue this bug is about is probably triggered by the custom CSS on
en.wikipedia.org that hides the title section for the Main Page.

With the title parameter missing, the default page title (Main Page) seems to be
getting used when building the special page class. That shouldn't be the case;
it should be using the actual title, same as everything else.
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-04-24 16:38:46 UTC

*** This bug has been marked as a duplicate of 7046 ***

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


Navigation
Links