Last modified: 2012-01-14 20:43:31 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 T20187, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18187 - Section edit links should pick correct section, or give warning, if sections have changed between view and edit
Section edit links should pick correct section, or give warning, if sections ...
Status: RESOLVED DUPLICATE of bug 9958
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-26 22:31 UTC by Brion Vibber
Modified: 2012-01-14 20:43 UTC (History)
4 users (show)

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


Attachments

Description Brion Vibber 2009-03-26 22:31:29 UTC
Currently if you click a section edit link, and sections have been added or removed ahead of it between your page load and your click, you'll end up at a different section than you expected.

It may not be 100% scientifically possible to always know which is the 'same' section, but if the number of sections has changed we should be able to at least estimate with confidence that things may not be as the user expected and give them a warning.

If we can find the right section (most of the time the heading text will be the same), then we could also pop over to it.

Including a version number or timestamp onto the link would probably be necessary to implement this.
Comment 1 Roan Kattouw 2009-03-26 22:53:57 UTC
Note to whoever's gonna poke at this: please consider the API edit module! It'd really suck if you'd get this working after some hard work just so I can rewrite half of it to make it cooperate nicely with the API.
Comment 2 Brion Vibber 2009-03-26 22:55:06 UTC
The API is your friend, be nice to the API. :)
Comment 3 badon 2012-01-14 07:30:05 UTC
I'm not sure if this is the exact same thing, but when I edit this:

http://en.wikipedia.org/w/index.php?title=Wikipedia:SOPA_initiative/Action&action=edit&section=16

It should return me here when I click submit:

http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Action#Support_2

But instead it puts me here:

http://en.wikipedia.org/wiki/Wikipedia:SOPA_initiative/Action#Support

I have reloaded and edited several times, and no new sections have been added. This may be a separate, similar bug, but I'm not sure. Can someone confirm? If confirmed, I'd like to formally submit the bug and add it to my collection :)
Comment 4 Gustronico 2012-01-14 20:43:31 UTC

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

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


Navigation
Links