Last modified: 2006-06-06 01:00:15 UTC
I was on this page and frequently doing previews while editing, but I don't know the exact details (I am always confused of the location of the edit links, hence I did not notice the error first, I thought it was my error). Right now, the edit-links are shifted, i.e., pressing the one one the level of Usage, brings up the edit page for history, on the history one for mutual recognition agreement and so on, leaving no edit link for Usage. Please note, that I caused the effect under Firefox/Windows, but under mozilla/Linux (now at home) I reproduced them. Though I did not try to edit the page to continue the shift. I notice, that the links look fine, i.e. section=1, section=2 and so on. After I noticed this behaviour, I edited the usage part (last paragraph) via the main tab, as I could not reach that paragraph with a direct link. I hope this is not yet reported. I tried to search for "edit and shifted" (also without and) but I always got many results, and those I looked at were different but I might have missed it.
This was caused by the insertion of HTML comments into the source, which I've removed: http://en.wikipedia.org/w/index.php? title=Common_Criteria&diff=17780713&oldid=17757624 They were added during the three previous edits.
Then this bug must be cloned, because I never inserted those comment, also I saw them (but I was not sure that the number of them stayed constant, and I *think* they were less/none initially. So there a two bugs: a) Comments prevent edit from being placed properly b) Somehow (by using preview, I assume) those comments are inserted. Can you clone this bug appropriately?
These comments can even make paragraphs invisible (possibly even after repairing). I edited http://en.wikipedia.org/wiki/Information_security_management_system And even though I deleted this comments, the first paragraph is still replaced by a box. I used Firefox/Windows, and I had trouble getting the text to start at the beginning of the new line, but with cutting, pressing enter, and pasting it workd, although the display is still wrong (if you edit the page, the first paragraph is indeed there!). Or is this a new bug?
(Version set to original report.) There are other open section-editing bugs [1], but only bug 3342 looks possibly related. Below is a simplified test case. The section edit links are generated correctly, but the resulting edit text is the section following the chosen one. [1] http://bugzilla.wikimedia.org/buglist.cgi?query_format=advanced&short_desc_type=anywordssubstr&short_desc=section+heading+h1+h2&product=MediaWiki&component=Page+editing&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_severity=blocker&bug_severity=critical&bug_severity=major&bug_severity=normal&bug_severity=minor&bug_severity=trivial <!-- -->==sec1== ==sec2==
Fixed in r14583.