Could not find to use the common.js in Mediawiki

Ybengepgjagrm

New Member
I need to include some external javascript files inside the \[code\]<head>\[/code\] in mediawiki. I have searched for the solution and found many of the users are suggested to use the \[code\]common.js\[/code\] by using the mediawiki namespace i.e \[code\]MediaWiki:Common.js\[/code\]. But if i paste this in the editer as a admin also it is showing as 'MediaWiki:Common.js'. It does not include any js. I have enabled \[code\]$wgUseSiteJs = true;\[/code\] in \[code\]LocalSettings.php\[/code\] file also. Can anyone suggest me how to use the \[code\]common.js\[/code\] in mediawiki
 
Top