00001
00002 """MoinMoin - IncludeWikiContent
00003
00004 A macro to include another wiki page content with the context set to the current
00005 page. This Inclusion is not recursive (included pages won't get their
00006 IncludeWikiContent macro evaluated).
00007
00008 Usage:
00009 Use this macro to include common elements of your wiki, such as standard
00010 subpages, headers etc...
00011
00012 Syntax:
00013 <<IncludeWikiContent(include page name)>>
00014
00015 """
00016
00017 from MoinMoin.Page import Page
00018 from MoinMoin import wikiutil
00019 from MoinMoin.parser.text_moin_wiki import Parser as WikiParser
00020
00021
00022
00023
00024 Dependencies = ["namespace"]
00025
00026 def execute(macro, args):
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061 return " "
00062