Back to index

moin  1.9.0~rc2
Classes | Functions | Variables
MoinMoin.wikisync Namespace Reference

Classes

class  UnsupportedWikiException
class  NotAllowedException
class  SyncPage
class  RemoteWiki
class  MoinRemoteWiki
class  MoinLocalWiki
class  Tag
class  AbstractTagStore
class  PickleTagStore

Functions

def normalise_pagename

Variables

string MIMETYPE_MOIN = "text/wiki"
 TagStore = PickleTagStore

Class Documentation

class MoinMoin::wikisync::UnsupportedWikiException

Definition at line 38 of file wikisync.py.

class MoinMoin::wikisync::NotAllowedException

Definition at line 42 of file wikisync.py.


Function Documentation

def MoinMoin.wikisync.normalise_pagename (   page_name,
  prefix 
)
Checks if the page_name starts with the prefix.
    Returns None if it does not, otherwise strips the prefix.

Definition at line 25 of file wikisync.py.

00025 
00026 def normalise_pagename(page_name, prefix):
00027     """ Checks if the page_name starts with the prefix.
00028         Returns None if it does not, otherwise strips the prefix.
00029     """
00030     if prefix:
00031         if not page_name.startswith(prefix):
00032             return None
00033         else:
00034             return page_name[len(prefix):]
00035     else:
00036         return page_name
00037 

Here is the caller graph for this function:


Variable Documentation

string MoinMoin.wikisync.MIMETYPE_MOIN = "text/wiki"

Definition at line 20 of file wikisync.py.

Definition at line 517 of file wikisync.py.