Skip to content

Commit

Permalink
Remove use of funds content from TY banners
Browse files Browse the repository at this point in the history
Ticket: phabricator.wikimedia.org/T352651
  • Loading branch information
Abban committed Jan 9, 2024
1 parent d6b9084 commit 33464d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack/mediawiki_text_wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ MediaWikiTextWrapper.prototype.apply = function ( compiler ) {
const templateContext = {
banner: compiledSource.replace( /\/\*! For license information please see.*?\*\/\s*/, '' ),
campaignConfig: bannerConfig || {},
useOfFundsTransclude: '{{' + bannerConfig.use_of_funds_source + '}}',
useOfFundsTransclude: bannerConfig.use_of_funds_source ? '{{' + bannerConfig.use_of_funds_source + '}}' : '',
buildDate,
// BannerValues come from webpack.production config
...self.context
Expand Down

0 comments on commit 33464d3

Please sign in to comment.