Page MenuHomePhabricator

&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-General:

<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

Details

Reference
bz12505

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:00 PM
bzimport set Reference to bz12505.
bzimport added a subscriber: Unknown Object (MLST).