[Mediawiki-l] Intranet hack: Perforce depot files

John Andrews john_b_andrews at yahoo.com
Wed Dec 1 17:54:06 UTC 2004


Here is a small MediaWiki hack I did for use in our
company intranet.  This is useful for intranets
where:

    * Perforce is used for revision control.
    * You want to directly reference Perforce files
      from the Wiki without having to point to a
      specific client.

It allows you to directly reference files (via
P4web) using Wiki syntax like this:

    P4://depot/the/file
    [[P4://depot/the/file some_name]]

I've attached a diff of Parser.php (1.3.8).

JA


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail


More information about the MediaWiki-l mailing list