Web browser: ---
            Bug ID: 60442
           Summary: Inconsistent arguments comment/reason/summary for edit
           Product: Pywikibot
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Unprioritized
         Component: General
    Classification: Unclassified
   Mobile Platform: ---

When editing, deleting or protecting a page you can add a message. This message
is passed to the methods of the Page object or one of its subclasses. The name
of the argument is always different, when editing a page or changing a category
it is "comment" when protecting, moving or deleting it is "reason". In
it is always "summary", like in the MediaWiki api.

In some scripts like for example they use "editSummary" internall,
eg. in

Scripts that have a commandline parameter for an edit summary (always?) call it

I propose to change all "reason" and "comment" arguments to "summary" because
this is the term used in, in script commandline parameters and by
MediaWiki itself.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to