[Moin-devel] CVS: MoinMoin/parser wiki.py,1.67,1.68

J?rgen Hermann jhermann at users.sourceforge.net
Thu Jan 24 13:51:07 EST 2002


Update of /cvsroot/moin/MoinMoin/parser
In directory usw-pr-cvs1:/tmp/cvs-serv4658/parser

Modified Files:
	wiki.py 
Log Message:
Added fancy links to EXISTING local page [wiki:LocalPage text]


Index: wiki.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/parser/wiki.py,v
retrieving revision 1.67
retrieving revision 1.68
diff -C2 -r1.67 -r1.68
*** wiki.py	2002/01/24 21:10:13	1.67
--- wiki.py	2002/01/24 21:50:44	1.68
***************
*** 123,126 ****
--- 123,130 ----
                  url = ""
          elif config.allow_subpages and url[0] == '/':
+             # fancy link to subpage [wiki:/SubPage text]
+             return self._word_repl(url, text)
+         elif Page(url).exists():
+             # fancy link to local page [wiki:LocalPage text]
              return self._word_repl(url, text)
  





More information about the Moin-devel mailing list