removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / mpi / mpi+moin.php
diff --git a/mods/wiki/plugins/mpi/mpi+moin.php b/mods/wiki/plugins/mpi/mpi+moin.php
deleted file mode 100644 (file)
index ddceb30..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-
-/*
-   MoinMoin-syntax for plugin activation also interfers with linking
-   sometimes, so you should enable this plugin only if you really
-   need it. As it is internally rewritten to mpi markup, you can use
-   all available plugins, but the ones expecting long arguments.
-
-     [[PluginName()][]  - does never work without ()
-     [[Plugin(arg1=val1, arg2=val2)]]
-*/
-
-
-$ewiki_plugins["format_source"][] = "ewiki_mpi_moin_syntax";
-
-function ewiki_mpi_moin_syntax(&$src) {
-   $src = preg_replace(
-     '/\[\[(\w+)\([^)]*\)([^\(\)\[\]]+)*\]\]/imse',
-     '"<?plugin $1 " .
-      stripslashes("$2")
-      ($3 ? stripslashes(" $3 ") : "") .
-      " ?>"     
-     ', $src
-   );
-}
-
-
-?>
\ No newline at end of file