Last modified: 2012-04-12 13:55:13 UTC
If you try to edit section 0 of an empty page, a "no such section" error is returned.
Tested with 1.14-svn (r39529). WORKSFORME. Sample URL: http://translatewiki.net/w/i.php?title=User:Siebrand/thispagedoesnotexist&action=edit§ion=0
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
*** Bug 26627 has been marked as a duplicate of this bug. ***
Reproduced on prototype: http://prototype.wikimedia.org/rc-en/index.php?title=Empty_Page&action=edit§ion=0
Strange. Comment 1 is also still true.
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
Created attachment 8316 [details] Patch v1 I think this should be sufficient? It seems to fix the issue for me on my test wiki, anyway. Regards.
r84357 Thanks!