Extension:CCM

The goal of the CCM extension, is to provide a secure file sharing and collaboration tool inside of MediaWiki. The basic principle is to have a specialpage that has a relatively secure JavaScript interface with the a part of the filesystem the wiki sits on. Certain users will be allowed to access this page, and inside the page they will be delegated into certain groups which limits the files they can access and how they can edit them. Currently the code is incomplete and unstable. I am developing on MediaWiki 1.10 and I do not recommend using it until it goes into beta.

Code
The code consists of 8 main files;,   and   are responsible for the server back-end;   provides the user interface functionality;   allows customization of the look and feel;   sets up the needed database structure; and   is for future internationalization.

Description: File info stuff  History Permission Download Update  Discussion: Reply

'; //this string represents the physical structure of the page //add the data to the page $output .= 'renderPage; '; $wgOut->addHTML($output); //add output to page } function loadMessages { static $messagesLoaded = false; global $wgMessageCache; if ( $messagesLoaded ) return; $messagesLoaded = true; require( dirname( __FILE__ ) . '/CCM.i18n.php' ); foreach ( $allMessages as $lang => $langMessages ) { $wgMessageCache->addMessages( $langMessages, $lang ); } } } ?>

0.0.2

 * Fixed potential insertion attack bug
 * Improved readability

Future Improvements

 * Find a better and easier to track/read way of accessing DOM from JavaScript
 * Fix the bugs that appear when using IE
 * Try to break the code up into more chunks if it continues to grow
 * Rewrite parts of the code to use MediaWiki's built in server API
 * Improve the layout and readability of this page