3 # a shell script, which combines the ewiki.php library and some
4 # default plugins into a huger includeable script file
8 HUGE_FILE="monsterwiki.php"
12 markup_phpwiki.php markup_bbcode.php spellcheck.php
13 page_orphanedpages.php page_aboutplugins.php search_highlight.php
14 mpi/mpi.php downloads.php contrib/page_wikinews.php
15 contrib/aview_imgappend.php contrib/page_phpinfo.php
18 contrib/more_interwiki.php contrib/page_imagegallery.php
19 contrib/page_hitcounter.php title_calendar.php
20 page_wantedpages.php contrib/f_fixhtml.php
23 diff.php page_randompage.php markup_footnotes.php
24 page_wordindex.php calendar.php notify.php
27 ../fragments/strip_wonderful_slashes.php
28 ../fragments/strike_register_globals.php
29 imgresize_gd.php markup_css.php patchsaving.php
30 email_protect.php like_pages.php
31 page_pageindex.php page_powersearch.php
37 if [ -e "ewiki.php" ] ; then
45 if [ "$1" == "-h" -o "$1" == "--help" ] ; then
46 echo "syntax: mkhuge [3|2|1|0]"
47 echo "combines many of the plugins and the core ewiki.php file into a bigger lib"
57 if [ "$N" -ge "3" ] ; then
58 PLUGINS="$PLUGINS3 $PLUGINS"
60 if [ "$N" -ge "2" ] ; then
61 PLUGINS="$PLUGINS2 $PLUGINS"
63 if [ "$N" -ge "1" ] ; then
64 PLUGINS="$PLUGINS1 $PLUGINS"
66 PLUGINS="$PLUGINS0 $PLUGINS"
77 for SUB in plugins fragments ; do
78 if [ -e "$DWP/$SUB/$ADD" ] ; then
85 cat $DWP/$CORE_FILE >> $D