Index: trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.init/ext.articleCreation.init.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | jQuery( document ).ready( function() { |
3 | 3 | var newTitle = 'Special:ArticleCreationLanding' + '/' + |
4 | | - encodeURIComponent( mw.config.get('wgArticlePath') ); |
| 4 | + encodeURIComponent( mw.config.get('wgPageName') ); |
5 | 5 | var landingURL = mw.config.get('wgArticlePath').replace( '$1', newTitle ); |
6 | 6 | // change the link to point to the new special page |
7 | 7 | jQuery("div.noarticletext") |