Last modified: 2012-11-11 13:30:52 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 T29860, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27860 - Do not mark edits as minor by default on new section or new page creation
Do not mark edits as minor by default on new section or new page creation
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: High enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-reviewed
Depends on:
Blocks: 31567 Wikisource 42008
  Show dependency treegraph
 
Reported: 2011-03-05 02:41 UTC by craig.wenger
Modified: 2012-11-11 13:30 UTC (History)
8 users (show)

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


Attachments
Fix (3.13 KB, patch)
2011-04-23 15:47 UTC, Jan Paul Posma
Details

Description craig.wenger 2011-03-05 02:41:42 UTC
Under My preferences->Editing, there is an option to 'Mark all edits minor by default'. However, this is rarely or possibly never desirable when the edit is initiated by the user clicking the 'New section' tab on discussion pages. I recommend an enhancement whereby either (1) the user is not able to mark the edit as minor when clicking the 'New section' tab, or (2) the minor edit checkbox is unchecked by default, regardless of user preferences, after clicking the 'New section' tab.
Comment 1 Jan Paul Posma 2011-04-23 15:47:42 UTC
Created attachment 8452 [details]
Fix

This patch hides the minor edit checkbox when editing a new page or new section, and makes sure it cannot be enabled by injecting the form value in HTML.
Comment 2 Mark A. Hershberger 2011-04-23 19:00:59 UTC
Applied in r86786
Comment 3 Nemo 2011-10-05 20:35:14 UTC
This just introduces new problems. There's no reason why users should be forced to mark such edits as not minor; the definition of minor edit varies among wikis etc.
Comment 0 introduces the problem as caused by the "Mark all edits minor by
default"; the solution is therefore "Do not mark edits as minor by default on new section or new page creation", because that can be indeed be a not-intended behaviour for newbies who don't understand the feature.
Bug 5754 had already been marked as invalid, and the change should be reverted.

Also, it's been noticed on #wikimedia-tech that this is not clearly noted in the changelog.

By the way, this seems to be perceived as a problem only by en.wiki, and bug 24313 has been fixed after this was submitted.
Comment 4 p858snake 2011-10-28 01:52:10 UTC
I also dislike this change... I edit several wikis where new pages can be minor edits and should be marked as such.
Comment 5 Doug 2011-11-24 21:20:44 UTC
This was a very bad idea and I noticed it shortly after it was implemented but didn't know the cause.  On Wikisources this is very undesirable.  Now it is impossible to create a new page from OCR in the pagespace and mark it as minor, unless it's done by a bot.  Creation of a page (as in a pagespace page) is almost always minor.  On many projects too, the creation of redirects is minor. The "fix" of course also prevents this on non-WMF instances of mediawiki.  This should be reverted.
Comment 6 Fabrice Laussy 2012-03-16 18:51:30 UTC
This is also bad for me, I use minor edits to prevent announcement of important changes on my wiki:

http://laussy.org/wiki/Blog:Notes/Mediawiki_Extension_News

Now with 1.18 and this new "feature", an essentially empty page such as:

http://laussy.org/wiki/Blog:Notes/HTML_5_drag_and_drop_interaction_with_clipbard

is trumpeted in my http://laussy.org/wiki/News.

I wish there is the option to mark as minor a newly created page.
Comment 7 Mark A. Hershberger 2012-03-16 19:51:51 UTC
Since this has been deployed for a while, I don't think I would want to just revert it.

A possible solution would be to add another global and check that with the isNew() check.  This would allow sites to set this on a per-site basis.  enwiki could have a different policy than zhwiki then.

Thoughts?
Comment 8 Fabrice Laussy 2012-03-17 12:25:26 UTC
Yes, a per-site basis would be the best option. I understand that on certain wikis, the creation of a new page should never be regarded as minor but on others this could even be the general rule.
Comment 9 Doug 2012-04-09 14:22:28 UTC
I disagree.  What project wants this?  Comment 3 mentions enwiki but I don't even understand why they would want this and would appreciate a link to the discussion on enwiki where they decided this.  Certainly redirects and maybe dabs are minor as are the creation of new user subpages, at the very least.

There was never any reason to make this change.  The correct change as noted by Nemo_bis, was to uncheck the box by default and possibly remove the option to change this to checked by default, not remove the box from new pages altogether.  Nobody ever really asked for that change; two alternatives were presented and one was simply implemented without comment as to why that was perceived as the better alternative.

Additionally, the original problem was characterized as being for making a "New Section" not creating a page, a new section to an already existing page is actually less likely to be minor than a new page is.  This should be reverted unless there is a wiki that thinks it actually needs it to be turned on - that is that they never have minor page creations even for redirects - unless you're a bot, bots can still create new pages as minor.
Comment 10 db [inactive,noenotif] 2012-11-11 11:34:54 UTC
This bug is fixed and already released, please open a new bug, when a global is needed to disable this "feature". Thanks.

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


Navigation
Links