Extension:RawPageTools

Purpose
Removes 'js' and 'css' tag sections from a queried 'raw page'. This allows for documenting the page in normal page views using 'geshi' type extensions.

Features

 * Allows documenting Javascript/CSS pages whilst still
 * Preserving the ability to fetch the said page using 'action=raw'
 * Handles  Javascript section
 * Handles CSS section
 * Since only the extracted section is returned to the requesting browser, additional wikitext can be used on the page
 * Improves documentation possibilities

Usage
As example, suppose one as an article page where some Javascript code is documented using a 'geshi' extension:  // MediawikiClient.js // @author Jean-Lou Dupont // $Id: RawPageTools.php 469 2007-07-24 17:12:06Z jeanlou.dupont $ MediawikiClient = function {	// declare the custom event used to signal // status update re: document loading this.onDocStatusChange =	new YAHOO.util.CustomEvent( "onDocStatusChange" ); ...  A request could be sent for the page using 'action=raw&ctype=text/javascript' and the corresponding 'js' would be returned from the said page.

Dependancy

 * StubManager

Installation
To install independantly from BizzWiki:
 * Download 'StubManager' extension
 * Apply the following changes to 'LocalSettings.php'