Adding Ads
One commonly requested feature for MediaWiki is how to add ads (from Google etc.) to MediaWiki pages. Before you can do this you will first need to set up an account with whoever you want to provide the adds. They will then give you the HTML code needed to display the adds. The next step is to add the code you got to a file named monobook.php which is kept in the skins directory. Simply look through the file until you find
. Then add the following before that replacing the code in red with the code you got from the ad company. The parts in gray should already be in the file, so you don't need to add them, they are here to show you the context.
Keine Kommentare:
Kommentar veröffentlichen