Last modified: 2014-06-27 16:17:39 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 T63858, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61858 - VisualEditor: Blanking the page does not remove meta-data (categories, defaultsort keys, etc.)
VisualEditor: Blanking the page does not remove meta-data (categories, defau...
Status: NEW
Product: VisualEditor
Classification: Unclassified
MediaWiki integration (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Editing team bugs – take if you're interested!
https://www.mediawiki.org/w/index.php...
:
: 67200 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-24 19:00 UTC by WhatamIdoing
Modified: 2014-06-27 16:17 UTC (History)
9 users (show)

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


Attachments

Description WhatamIdoing 2014-02-24 19:00:05 UTC
Intention:
Blank a page (prior to setting a redirect).

Steps to Reproduce:
1. Select all (Command-a).
2. Press the delete key.
3. Save > Review changes.

Actual Results:  
Categories, defaultsort keys, and page protection templates are not removed.


Reproducible: Always
Comment 1 Bartosz Dziewoński 2014-02-24 19:01:58 UTC
All kinds of other things too, see also bug 52036 and bug 60830. I think we need a tracking bug for this or a large WONTFIX.
Comment 2 WhatamIdoing 2014-02-24 19:56:40 UTC
Perhaps we should have a special process for redirects that handles 100% blanking, or at least inquires or warns about it.  (You might want cats for redirects, but probably not a default sort key).
Comment 3 James Forrester 2014-02-24 19:56:41 UTC
(In reply to Bartosz Dziewoński from comment #1)
> All kinds of other things too, see also bug 52036 and bug 60830. I think we
> need a tracking bug for this or a large WONTFIX.

I've merged bug 52036 and bug 60830 into their respective causes (both of those are things we will fix with those corrections), and narrowed this to just be about meta-data – things that don't display because they never create any content.

On this one I'm minded to WONTFIX, but I could be argued around. What are the reasons for letting people remove content they can't see with select-all?
Comment 4 WhatamIdoing 2014-02-24 20:49:04 UTC
I'm not sure that select-all is the right way to remove them, but there should be some way to remove them, and a way to find out that they are present.
Comment 5 Bartosz Dziewoński 2014-06-27 16:13:18 UTC
*** Bug 67200 has been marked as a duplicate of this bug. ***
Comment 6 Amir E. Aharoni 2014-06-27 16:17:39 UTC
(In reply to James Forrester from comment #3)
> On this one I'm minded to WONTFIX, but I could be argued around. What are
> the reasons for letting people remove content they can't see with select-all?

As WhatamIdoing says, redirecting, for example for merging. This may be achieved using some special scenario. (And hey, blanking must point at something special in any case.)

Copying here the description from bug 67200 which was closed as dupe:

Deleting the text from the article and converting it to a redirect page still leaves all the categories in it, as well as Other Stuff such as magic words and invisible templates.

This is a regression in comparison to the source editor, where the editor could just delete everything and be sure that categories, magic words, invisible templates and everything else is gone.

Just redirecting an article shouldn't necessarily remove everything, because it's actually possible that the editor wants to leave the article in a category. Some projects, including enwiki, have categories, templates etc. in redirect pages. But probably some kind of a warning should be shown.

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


Navigation
Links