Last modified: 2007-05-07 00:46:43 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 8902 - Editing non-existing sections
Editing non-existing sections
Status: RESOLVED DUPLICATE of bug 9244
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
PC other
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-02-06 16:32 UTC by Nux
Modified: 2007-05-07 00:46 UTC (History)
0 users

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


Description Nux 2007-02-06 16:32:59 UTC

I wanted to make a script (JS) with which I would be able to answer other Users
with a reference link in the section name. The reference link is quite long so I
recently came up with a solution that instead of adding new sections - like this:
I would edit non-existing section - like this:

The problem is that after clicking on Save there are no changes visible. There
are also no entries in the history.

If this not to be available then there should some info saying "WARING! There
were no changes made to the page! Changes you typed are here:

I lost some answers to people :(. Maybe that's my fault, but this is confusing.

I would be interested in knowing if this can be fixed fast (like in a month) or not.
Comment 1 Brion Vibber 2007-02-06 18:26:37 UTC
Don't edit things that don't exist...
Comment 2 Nux 2007-02-06 18:39:42 UTC
This is a valid bug! If I'm not supposed to edit such section that, then I
should get an error message as this is not obvious.

Besides there are times that on long pages such as:
one can edit a non existing section after clicking on standard [edit] section
link (might be that it happens after archiving a section, not sure).

And beside all that it shouldn't be hard to fix as there is section=new already.
Comment 3 Nux 2007-02-07 19:22:38 UTC
I've made a simple test case here (if one might call it like that):

Steps to reproduce:
1. Create e.g. 3 sections
2. Open the same page in another tab (simulating that a user has just arrived)
3. In the first tab remove first two sections (simulating robot archiving of old
4. Go to the other tab and click to edit the last (third) section.
5. Save the page

No changes are made to the article

Expected results:
Warning shown to the user at editing non-existing section and/or upon saving
changes get added to the end of article.

If someone won't notice the fact that their is something wrong then he/she might
not be able to retrieve the text and will lose text just entered. This is not
very likely, but might happen.

PS: Sorry I didn't described it like that in the first place.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-07 00:46:43 UTC

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

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