mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-24 00:06:25 +00:00
Add recreate and createonly to PortableInfoboxBuilder api (#44)
This commit is contained in:
parent
25c6c90bae
commit
e848a2f8ad
|
@ -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 ) => {
|
||||
|
|
Loading…
Reference in a new issue