Last modified: 2014-02-24 18:25:30 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 T55152, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53152 - wpIgnoreBlankSummary or similar
wpIgnoreBlankSummary or similar
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-21 13:51 UTC by Technical 13
Modified: 2014-02-24 18:25 UTC (History)
3 users (show)

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


Attachments

Description Technical 13 2013-08-21 13:51:16 UTC
Putting //en.wikipedia.org/w/index.php?title=Wikipedia_talk:AutoWikiBrowser/CheckPage&action=edit&section=new&preload=Wikipedia_talk:AutoWikiBrowser/CheckPage/PermissionRequest&summary=Requesting%20%5B%5BWP%3AAWB%7CAWB%5D%5D%20permissions&wpIgnoreBlankSummary=1&wpMinoredit=1&wpWatchthis=1 in a link should allow the user to click [Save page] without entering a Section Heading or even better remove the section heading textbox.  Perhaps a new wpIgnoreBlankHeading or wpNoSectionHeading option?
Comment 1 MZMcBride 2013-08-21 14:15:12 UTC
As I commented at bug 53153 comment 1, I'm not sure adding parameters to index.php is the best approach here, particularly if their only purpose is to enhance on-wiki hacks.
Comment 2 Technical 13 2013-08-21 15:09:45 UTC
(In reply to comment #1)
> As I commented at bug 53153 comment 1, I'm not sure adding parameters to
> index.php is the best approach here, particularly if their only purpose is to
> enhance on-wiki hacks.

I'm asking wpIgnoreBlankSummary=1 be adjusted to allow the user to click [Save page] without entering a Section Heading.  Anything above that, is gravy...
Comment 3 MZMcBride 2013-08-21 15:13:37 UTC
(In reply to comment #2)
> I'm asking wpIgnoreBlankSummary=1 be adjusted to allow the user to click
> [Save page] without entering a Section Heading.

Is this dependent on the user preference "Prompt me when entering a blank edit summary"? Have you tested with this user preference enabled/disabled?

What do you mean by "without entering a Section Heading"? Is the user disallowed or simply warned?
Comment 4 db [inactive,noenotif] 2013-08-22 17:33:54 UTC
You can use nosummary= to suppress the summary box
Comment 5 Technical 13 2013-08-22 17:37:12 UTC
(In reply to comment #4)
> You can use nosummary= to suppress the summary box

With section=new the summary box is replaced with a section heading/title box and nosummary=1 does not suppress the warning that there is a blank section heading.
Comment 6 db [inactive,noenotif] 2013-08-22 18:02:02 UTC
Are you sure? nosummary also hide the summary on section=new (one of the most use cases, I think) and a hidden wpIgnoreBlankSummary is set on section=new and nosummary=1 which suppress the warning on save.

Can you provide steps to reproduce?
Comment 7 Technical 13 2013-08-22 18:14:25 UTC
(In reply to comment #6)
> Are you sure? nosummary also hide the summary on section=new (one of the most
> use cases, I think) and a hidden wpIgnoreBlankSummary is set on section=new
> and nosummary=1 which suppress the warning on save.
> 
> Can you provide steps to reproduce?

https://en.wikipedia.org/w/index.php?title=Wikipedia_talk%3AAutoWikiBrowser%2FCheckPage&diff=569755880&oldid=569696764

Was with

//en.wikipedia.org/w/index.php?title=Wikipedia_talk:AutoWikiBrowser/CheckPage&action=edit&section=new&preload=Wikipedia_talk:AutoWikiBrowser/CheckPage/PermissionRequest&summary=Requesting%20%5B%5BWP%3AAWB%7CAWB%5D%5D%20permissions&wpIgnoreBlankSummary=1&wpMinoredit=1&wpWatchthis=1&nosummary=1

Which although it didn't give me a warning, it also didn't apply the &summary=Requesting%20%5B%5BWP%3AAWB%7CAWB%5D%5D%20permissions and placed it at the bottom of the page under the "bots" section instead of inserting it at the bottom of the "users" section.  The purpose of this specifically is to add a button on that page that a user can click to open the edit window pre-filled in and all they have to do is click save to insert there name/request in the "users" section=2 for approval.

Other use cases would be to improve the "Submit this draft" buttons on the [[Template:AFC submission/draft]] and [[Template:AFC submission/declined]] templates where the ability to prepend the submission template to the top of section=0 is desired.
Comment 8 db [inactive,noenotif] 2013-08-22 18:49:30 UTC
nosummary suppressed the summary field and therefore the summary for the revision. To have a summary at the revision you have to give a summary, but than that will be used as header.

You can add it with a header, when the preload contains a subst-ready template with the header text. That template will be subst on save and == == gets created.
Comment 9 Technical 13 2013-08-22 18:58:02 UTC
(In reply to comment #8)
> nosummary suppressed the summary field and therefore the summary for the
> revision. To have a summary at the revision you have to give a summary, but
> than that will be used as header.
> 
> You can add it with a header, when the preload contains a subst-ready
> template with the header text. That template will be subst on save and
> == == gets created.

I'm sorry if I'm slow here, but the new post isn't suppose to have its own heading, it is suppose to be appended to the bottom of section=2 above section=3 and the edit should have a summary.

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


Navigation
Links