Author: jelle.zijlstra
Description:
When editing section 0, the section in the edit summary automatically gets filled in when the section contains some sort of header code. Example (thanks to Anomie): http://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=462178059&action=edit§ion=0 .
This bug is apparently in the MediaWiki core. I think it can be fixed by adding a check for section 0 at line 1720 of includes/EditPage.php (change line 1720 to "if ( $this->section != '' && $this->section != 'new' && $this->section != '0' ) {". Since section 0 is the lead of the article, it'll never have a legitimate section heading, so this addition should not cause any problems.
Version: unspecified
Severity: normal