Wikimedia Ads

Timhortons

New Member
Messages
74
Reaction score
0
Points
0
I need help getting Ads on my Wikimedia page. Any idea what file I have to edit?
 

Chris Z

Active Member
Messages
5,603
Reaction score
0
Points
36
there's probably a file called "header.php" or something similar, it might be in the root of your site, or maybe in the themes directory or maybe in an includes directory, i'm not so sure though as i haven't ever used WikiMedia, but good luck ;)
 

Cubeform

New Member
Messages
339
Reaction score
0
Points
0
You mean MediaWiki? I'm pretty sure there's text modifiable (the one that says "From <site>"). There must be a way to insert PHP. For the moment you could allow <script />s, put the JavaScript ad on a page (let's say "Advertising"), and transclude it using
Code:
{{advertising}}
. Be sure to turn off IP editing or they're going to put malicious scripts on your site.
 
Last edited:
Top