https://bugzilla.wikimedia.org/show_bug.cgi?id=62698

            Bug ID: 62698
           Summary: feature request - make it possible to specify what to
                    do on edit conflict
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: benap...@gmail.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
       Web browser: ---
   Mobile Platform: ---

Currently mediawiki auto-merge edits on edit conflict. It would be more useful
if it was possible to specify what should happen, for example there could be
variable

&editconflictresolution=[automerge|fail|overwrite]

automerge - would do what it does now
fail - would return an error in case there was any kind of edit conflict
overwrite - would ignore all edits of other people and would overwrite the page
with new content

This is useful for things like antivandalism tools which need to deliver a
message to users based on current content of their talkpage (the warning
template level get adjusted based on templates currently present on the page).
When two users post in same moment, the edit conflict get resolved by merging
both messages, that have same level. Being able to fail on edit conflict would
allow tool to redownload content of talk page and parse it again.

I believe that other bots / tools could use this as well when they edit the
page based on current content of a page. Especially bots that are doing similar
tasks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to