Add recreate and createonly to PortableInfoboxBuilder api (#44)

This commit is contained in:
Universal Omega 2021-12-17 20:07:59 -07:00 committed by GitHub
parent 25c6c90bae
commit e848a2f8ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -256,7 +256,9 @@
title: title,
text: this.getInfoboxMarkup(),
summary: this.msg( 'editsummary' ),
notminor: true
notminor: true,
recreate: true,
createonly: true
} ).done( () => {
window.location.assign( mw.config.get( 'wgArticlePath' ).replace( '$1', title ) )
} ).fail( ( code, err ) => {