Skip to content

Commit

Permalink
prevent marking edits as minor - per suggestion at https://en.wikiped…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigraan committed Apr 23, 2018
1 parent 97a15dc commit f77051a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/teahouse-archival-bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,11 +848,7 @@ def notify(user, argstr, testlvl):
text = '{{subst:User:Tigraan-testbot/Teahouse archival notification|'\
+ argstr + '}}'

post_text = '=={sn}==\n{tta}'.format(sn=sn, tta=text)

# Caution: will not ask for confirmation!
add_text.add_text(page, post_text, summary=es,
always=True, up=False, create=True)
page.save(text=text, summary=sn, section='new', minor=False, botflag=True)


def notify_all(notification_list, status,
Expand Down

0 comments on commit f77051a

Please sign in to comment.