r112826 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112825‎ | r112826 | r112827 >
Date:18:36, 1 March 2012
Author:bsitu
Status:ok
Tags:
Comment:
followup to -r112769 - change wgArticlePath back to wgPageName, it is causing a bug
Modified paths:
  • /trunk/extensions/ArticleCreationWorkflow/modules/ext.articleCreation.init/ext.articleCreation.init.js (modified) (history)

Diff [purge]

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

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r112769mw.config use and simplying a functionjohnduhart03:11, 1 March 2012

Status & tagging log