Merge "Set inclusion flag for attribute transform managers too"

This commit is contained in:
Gabriel Wicke 2012-04-11 20:47:00 +00:00 committed by Gerrit Code Review
commit 23331abf21

View file

@ -305,7 +305,7 @@ ParserPipeline.prototype.makeAttributePipeline = function ( inputType, args, isI
* See https://www.mediawiki.org/wiki/Future/Parser_development/Token_stream_transformations
*/
var tokenPreProcessor = new TokenTransformManager
.SyncTokenTransformManager ( this.env, inputType, 1 );
.SyncTokenTransformManager ( this.env, inputType, 1, isInclude );
this._addTransformers( inputType, 'sync01', tokenPreProcessor, isInclude );
@ -316,7 +316,7 @@ ParserPipeline.prototype.makeAttributePipeline = function ( inputType, args, isI
'input': this.makeInputPipeline.bind( this ),
'attributes': this.makeAttributePipeline.bind( this )
},
args, this.env, inputType, 2
args, this.env, inputType, 2, isInclude
);
// Register template expansion extension
this._addTransformers( 'text/wiki', 'async12',