MediaWiki:Common.js: Difference between revisions
Add Google Analytics 4 (anonymous visitors only) |
Load the Related Articles box |
||
| Line 147: | Line 147: | ||
window.gtag( 'config', id ); | window.gtag( 'config', id ); | ||
}() ); | }() ); | ||
/* Related Articles box at the bottom of articles: see [[MediaWiki:RelatedArticles.js]] */ | |||
mw.loader.load( mw.config.get( 'wgScript' ) + '?title=MediaWiki:RelatedArticles.js&action=raw&ctype=text/javascript' ); | |||