https://bugzilla.wikimedia.org/show_bug.cgi?id=32617
Web browser: ---
Bug #: 32617
Summary: Incorrect edit summary preloading when editing section
0
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: User interface
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
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.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l