Last modified: 2008-01-09 02:19:23 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 T14505, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12505 - &action=raw&section=0 acts incorrectly
&action=raw&section=0 acts incorrectly
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-04 14:35 UTC by FT2
Modified: 2008-01-09 02:19 UTC (History)
0 users

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


Attachments

Description FT2 2008-01-04 14:35:15 UTC
Seems that "&section=0" works inconsistently between "&action=raw" and "&action=edit"


According to the manual
http://www.mediawiki.org/wiki/Manual:Parameters_to_index.php

"&section=0" should return the first section (introduction) only, and does so for other &action's, such as &action=edit. But for &action=raw it returns not the first section, but the entire article markup.

http://en.wikipedia.org/w/index.php?title=Byte&action=raw&section=0

Confirmed on #mediawiki:

<RoanKattouw> FT2: action=edit&section=0 behaves as expected: confirmed
<RoanKattouw> action=raw&section=0 returns entire page: confirmed as well
<RoanKattouw> The entire article, all sections
<RoanKattouw> I suggest you go ahead and file ;)

(slight cleanup to irc for readability; quoted with permission)
Comment 1 Brion Vibber 2008-01-09 02:19:23 UTC
Fixed in r29476

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


Navigation
Links