[Zope3-checkins] CVS: zopeproducts/zwiki/browser - wikipage.py:1.12

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Aug 19 04:12:23 EDT 2003


Update of /cvs-repository/zopeproducts/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv17486/zwiki/browser

Modified Files:
	wikipage.py 
Log Message:
Updated all Database Adaptors.


=== zopeproducts/zwiki/browser/wikipage.py 1.11 => 1.12 ===
--- zopeproducts/zwiki/browser/wikipage.py:1.11	Thu Jul 31 14:54:39 2003
+++ zopeproducts/zwiki/browser/wikipage.py	Tue Aug 19 03:12:18 2003
@@ -122,7 +122,7 @@
 
         html = str(source)
         html = re.sub(protectedLine, self._protectLine, html)
-        # html = re.sub(interwikilink, self._interwikilinkReplace, html)
+        html = re.sub(interwikilink, self._interwikilinkReplace, html)
         html = re.sub(wikilink, self._wikilinkReplace, html)
         return html
 
@@ -227,7 +227,7 @@
             localname = re.sub(bracketedexpr, r'\1', localname)
 
         # look for a RemoteWikiURL definition
-        if hasattr(self.aq_parent, localname):
+        if hasattr(getParent(self.context), localname):
             localpage = getattr(self.aq_parent,localname)
             # local page found - search for "RemoteWikiUrl: url"
             m = re.search(remotewikiurl, str(localpage))




More information about the Zope3-Checkins mailing list