&action=raw&section=0 acts incorrectly
Closed, ResolvedPublic

Description

Author: FT2.wiki

Description:
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)


Version: unspecified
Severity: normal

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz12505.
bzimport created this task.Via LegacyJan 4 2008, 2:35 PM
brion added a comment.Via ConduitJan 9 2008, 2:19 AM

Fixed in r29476

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.