mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Retrieve content from the main namespace instead of templates
Change-Id: Id917fa617d6fba1e1b290b2ed20c24aed24d39d2
This commit is contained in:
parent
63abd57fc8
commit
7c7ddd22a7
|
@ -135,7 +135,7 @@ app.get(/\/_roundtrip\/(.*)/, function(req, res){
|
|||
return;
|
||||
}
|
||||
|
||||
var target = env.resolveTitle( env.normalizeTitle( env.pageName ), 'Template' );
|
||||
var target = env.resolveTitle( env.normalizeTitle( env.pageName ), '' );
|
||||
|
||||
console.log('retrieving ' + req.params[0]);
|
||||
var tpr = new TemplateRequest( env, target );
|
||||
|
|
Loading…
Reference in a new issue