PHP code highlighting in Mediawiki

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

PHP code highlighting in Mediawiki

Post by RobertGonzalez »

Ok, I've searched our forums, searched google, looked throught their docs and then some, but I cannot figure it out...

How do you implement PHP syntax highlightinh in MediaWiki without having to modify their code? I amy be overthinking this, but if anyone has an idea, I would sure like to hear it.
User avatar
ok
Forum Contributor
Posts: 393
Joined: Wed May 31, 2006 9:20 am
Location: The Holy Land

Post by ok »

You can enable HTML tags (like in PHPBB posts) and then use IFrame, AJAX...
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Well, here's the funny part. I am not in charge of our wiki. That is someone else. Who is not a PHP developer. In fact, it will be months before I am freed up enough to even look at the wiki code. So I am kinda in a position to have to reply on a hobbyist's ability to manage plugins and add ons.

EDIT | I was a little in posting this response. Thanks AC for the link. Lets see if I can get the wiki guy to accept it.
Post Reply