Logo Search packages:      
Sourcecode: uicilibris version File versions  Download package

def uicilibris::wikiParser::wikiParser::reloadCacheIndirect (   self,
  text,
  cbInfo = None 
)
Reloads the cache from the current mediawiki. The given text must
provide a series of wiki addresses.
@param text an utf-8 string with wiki code.
@param cbInfo a callback function to display progress messages. It should accept one string as an input.

Definition at line 292 of file wikiParser.py.

                                                    :
        """
        Reloads the cache from the current mediawiki. The given text must
        provide a series of wiki addresses.
        @param text an utf-8 string with wiki code.
        @param cbInfo a callback function to display progress messages. It should accept one string as an input.
        """
        wikiAddresses=re.findall("\[\[([^\]]+)\]\]", text)
        self.cache.reset()
        if cbInfo==None:
            cbInfo=self.toStdErr # default callback
        self.include_addresses(wikiAddresses, cbInfo=cbInfo)
        self.url2lines()


Generated by  Doxygen 1.6.0   Back to index