Author: cbm.wikipedia
Description:
If you try to edit section 0 of an empty page, a "no such section" error is returned.
Version: 1.16.x
Severity: normal
• bzimport | |
May 6 2008, 11:34 PM |
F4821: 14005.patch | |
Nov 21 2014, 10:08 PM |
Author: cbm.wikipedia
Description:
If you try to edit section 0 of an empty page, a "no such section" error is returned.
Version: 1.16.x
Severity: normal
Tested with 1.14-svn (r39529). WORKSFORME. Sample URL:
http://translatewiki.net/w/i.php?title=User:Siebrand/thispagedoesnotexist&action=edit§ion=0
cbm.wikipedia wrote:
I'm sorry; my report was slightly unclear. The error is with pages that do exist but have 0 bytes of content. In such a page, the entire page (which has no content) is section 0, so editing section 0 should work. However, the 'nosuchsectiontext' error message is displayed instead. I have just tested this again on enwiki.
http://en.wikipedia.org/w/index.php?title=User:CBM/Empty&action=edit§ion=0
Reproduced on prototype: http://prototype.wikimedia.org/rc-en/index.php?title=Empty_Page&action=edit§ion=0
cbm.wikipedia wrote:
Comment 1 is still not looking at the right problem, though. This link fails on the live software on enwiki:
http://en.wikipedia.org/w/index.php?title=User:CBM/Empty&action=edit§ion=0
Patch v1
I think this should be sufficient? It seems to fix the issue for me on my test wiki, anyway. Regards.
Attached: