[HOME PAGE] [STORES] [CLASSICISTRANIERI.COM] [FOTO] [YOUTUBE CHANNEL]


Bug 2587 – Section edit gets wrong section when wiki-headers prefixed by comment

Last modified: 2006-06-06 01:00:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2587 - Section edit gets wrong section when wiki-headers prefixed by comment
Section edit gets wrong section when wiki-headers prefixed by comment
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.6.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Brion Vibber
http://en.wikipedia.org/wiki/Common_C...
:
Depends on:
Blocks: 4899
  Show dependency treegraph
 
Reported: 2005-06-28 19:23 UTC by Kreutzmann
Modified: 2006-06-06 01:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kreutzmann 2005-06-28 19:23:01 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.
Comment 1 Brion Vibber 2005-06-28 19:30:06 UTC
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.
Comment 2 Kreutzmann 2005-06-28 19:42:14 UTC
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?
Comment 3 Kreutzmann 2005-07-04 19:57:10 UTC
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? 
Comment 4 Zigger 2006-01-10 15:42:02 UTC
(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==
Comment 5 Brion Vibber 2006-06-06 01:00:15 UTC
Fixed in r14583.

Note You need to log in before you can comment on or make changes to this bug.


Contents Listing Alphabetical by Author:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Unknown Other

Contents Listing Alphabetical by Title:
# A B C D E F G H I J K L M N O P Q R S T U V W Y Z Other

Medical Encyclopedia

Browse by first letter of topic:


A-Ag Ah-Ap Aq-Az B-Bk Bl-Bz C-Cg Ch-Co
Cp-Cz D-Di Dj-Dz E-Ep Eq-Ez F G
H-Hf Hg-Hz I-In Io-Iz J K L-Ln
Lo-Lz M-Mf Mg-Mz N O P-Pl Pm-Pz
Q R S-Sh Si-Sp Sq-Sz T-Tn To-Tz
U V W X Y Z 0-9

Biblioteca - SPANISH

Biblioteca Solidaria - SPANISH

Bugzilla

Ebooks Gratuits

Encyclopaedia Britannica 1911 - PDF

Project Gutenberg: DVD-ROM 2007

Project Gutenberg ENGLISH Selection

Project Gutenberg SPANISH Selection

Standard E-books

Wikipedia Articles Indexes

Wikipedia for Schools - ENGLISH

Wikipedia for Schools - FRENCH

Wikipedia for Schools - SPANISH

Wikipedia for Schools - PORTUGUESE

Wikipedia 2016 - FRENCH

Wikipedia HTML - CATALAN

Wikipedia Picture of the Year 2006

Wikipedia Picture of the Year 2007

Wikipedia Picture of the Year 2008

Wikipedia Picture of the Year 2009

Wikipedia Picture of the Year 2010

Wikipedia Picture of the Year 2011