Last modified: 2009-08-02 14:50:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T17481, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15481 - Edit summaries with multiple section links (/*sections*/) only parse the final section link correctly
Edit summaries with multiple section links (/*sections*/) only parse the fina...
Status: RESOLVED DUPLICATE of bug 16530
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.14.x
All All
: Normal major with 4 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-04 20:15 UTC by Oran Lord
Modified: 2009-08-02 14:50 UTC (History)
1 user (show)

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


Attachments

Description Oran Lord 2008-09-04 20:15:26 UTC
Where: Anywhere an edit summary can be displayed: history page, compare diffs pages, watchlist.

What: When the software displays an edit summary that contains more than one section link (e.g.: "/*Heading 1*/ Copyedit /*Heading 2*/ Fix link"), only the last section link will be properly parsed (the above example would be displayed like this: "/*Heading 1*/ Copyedit - → Heading 2: Fix link").

Expected: All section links should be parsed correctly to contain a link to the edited section and display the section name in gray-colored font.

Steps to Reproduce:
 - Open the edit page window on a MediaWiki project
 - Make an edit to two different sections
 - In the edit summary, type: "/*SectionOne*/ Edits made /*SectionTwo*/ Edits made", where SectionOne and SectionTwo are the section names you edited
 - Save the page
 - Observe the page history (only SectionTwo is properly parsed)
 - Compare the version you just saved with any other version of the page
 - Observe the edit summary in the compare diffs page (only SectionTwo is properly parsed)

Additional Information: This used to work properly. User:Alex Smotrov at en.wikipedia.org suggested that this revision may be part of the issue: http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=39373
Please also see a sandbox edit on en.wikipedia.org for an example of this issue: http://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&diff=prev&oldid=235880025
Comment 1 AlexSm 2008-09-04 20:38:22 UTC
Another issue that might be related:

<Words> between angle brackets disappear from edit summary, resulting in incorrect section links.

Example diff: http://en.wikipedia.org/w/index.php?diff=prev&oldid=236108247

Comment 2 Oran Lord 2009-04-11 12:48:27 UTC
This is still happening in MediaWiki 1.15alpha (r48811). See the bug description for a link to an example of this bug in action. Here's a more recent example: http://en.wikipedia.org/w/index.php?title=Rick_Berman&diff=283163141&oldid=282764719.
Comment 3 Alexandre Emsenhuber [IAlex] 2009-08-02 14:50:43 UTC

*** This bug has been marked as a duplicate of bug 16530 ***

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


Navigation
Links