Permalink
Browse files

fix draft support

  • Loading branch information...
theopolisme committed Dec 20, 2013
1 parent 2c86dd7 commit 65a32b555a83ef9a77ca62010b20379773970419
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/MediaWiki:Gadget-afchelper.js
@@ -5,7 +5,7 @@
// Development: <https://github.com/WikiProject-Articles-for-creation/afch>
////////////////////////////////////////////
//<nowiki>
if ((wgPageName.indexOf('Wikipedia:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia_talk:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia:Files_for_upload') !== -1) || (wgPageName.indexOf('User:') !== -1)) {
if ((wgPageName.indexOf('Wikipedia:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia_talk:Articles_for_creation') !== -1) || (wgPageName.indexOf('Wikipedia:Files_for_upload') !== -1) || (wgPageName.indexOf('User:') !== -1) || (wgPageName.indexOf('Draft:') !== -1)) {
var afchelper_baseurl = mw.config.get('wgServer') + '/w/index.php?action=raw&ctype=text/javascript&title=MediaWiki:Gadget-afchelper.js';
importScriptURI(afchelper_baseurl + '/core.js');
}

0 comments on commit 65a32b5

Please sign in to comment.