mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-14 19:31:44 +00:00
Fix window.location.assign to go to namespaced page (#54)
This commit is contained in:
parent
b0a072ff4a
commit
04cfa2941d
|
@ -260,7 +260,7 @@
|
|||
recreate: true,
|
||||
createonly: true
|
||||
} ).done( () => {
|
||||
window.location.assign( mw.config.get( 'wgArticlePath' ).replace( '$1', title ) )
|
||||
window.location.assign( mw.config.get( 'wgArticlePath' ).replace( '$1', namespace + title ) )
|
||||
} ).fail( ( code, err ) => {
|
||||
OO.ui.alert(
|
||||
err.error && err.error.info ? this.msg( 'editerror', err.error.info ) :
|
||||
|
|
Loading…
Reference in a new issue