Classes | |
| class | Globs |
| class | Params |
Functions | |
| def | addcomment |
| def | addLogEntry |
| def | commentform |
| def | commentformsection |
| def | commentNotify |
| def | convertdelimeter |
| def | converttext |
| def | debug |
| def | decodeURI |
| def | deletecomment |
| def | deleteform |
| def | execute |
| def execute(macro, args): catcher try: return execute2(macro,args) except Exception,e: print ' ',e,' ' return macro.formatter.rawHTML(e) | |
| def | fetchcomments |
| def | filtercomment |
| def | getAuthorFromCookie |
| def | getescapedsectionname |
| def | getforminput |
| def | getMarkupText |
| def | getparams |
| def | getsmiley |
| def | getsmileymarkuplist |
| def | getsmileymarkupradio |
| def | message |
| def | nicepass |
| def | previewcomment |
| def | sendNotification |
| def | setglobalvalues |
| def | showcomment |
| def | showcommentsection |
| def | url_unquote |
| def macro::PageComment2::addcomment | ( | macro, | ||
| comicon, | ||||
| comauthor, | ||||
| comtext, | ||||
| compasswd, | ||||
| comrev, | ||||
| comautopass, | ||||
| commarkup | ||||
| ) |
Definition at line 677 of file PageComment2.py.
| def macro::PageComment2::addLogEntry | ( | request, | ||
| action, | ||||
| pagename, | ||||
| msg | ||||
| ) |
Definition at line 1255 of file PageComment2.py.
| def macro::PageComment2::commentform | ( | tmpauthor, | ||
| tmptext, | ||||
| tmppasswd, | ||||
| tmpicon, | ||||
| comrev, | ||||
| tmpautopass, | ||||
| tmpmarkup | ||||
| ) |
Definition at line 549 of file PageComment2.py.
| def macro::PageComment2::commentformsection | ( | comauthor, | ||
| comtext, | ||||
| compasswd, | ||||
| comicon, | ||||
| comrev, | ||||
| autopass, | ||||
| commarkup | ||||
| ) |
Definition at line 354 of file PageComment2.py.
| def macro::PageComment2::commentNotify | ( | comment, | ||
| trivial, | ||||
comtext = '' | ||||
| ) |
Definition at line 1149 of file PageComment2.py.
| def macro::PageComment2::convertdelimeter | ( | targettext, | ||
reverse = 0 | ||||
| ) |
Definition at line 912 of file PageComment2.py.
| def macro::PageComment2::converttext | ( | targettext, | ||
markup = '0' | ||||
| ) |
Definition at line 894 of file PageComment2.py.
| def macro::PageComment2::debug | ( | astring | ) |
Definition at line 545 of file PageComment2.py.
| def macro::PageComment2::decodeURI | ( | quotedstring | ) |
Definition at line 1222 of file PageComment2.py.
| def macro::PageComment2::deletecomment | ( | macro, | ||
| delkey, | ||||
| delpasswd | ||||
| ) |
Definition at line 1068 of file PageComment2.py.
| def macro::PageComment2::deleteform | ( | ) |
Definition at line 926 of file PageComment2.py.
| def macro::PageComment2::execute | ( | macro, | ||
| args | ||||
| ) |
def execute(macro, args): catcher try: return execute2(macro,args) except Exception,e: print '
',e,'
' return macro.formatter.rawHTML(e)
Definition at line 198 of file PageComment2.py.
| def macro::PageComment2::fetchcomments | ( | startindex = 1, |
||
endindex = 9999 | ||||
| ) |
Definition at line 1006 of file PageComment2.py.
| def macro::PageComment2::filtercomment | ( | index = '', |
||
name = '', |
||||
passwd = '' | ||||
| ) |
Definition at line 977 of file PageComment2.py.
| def macro::PageComment2::getAuthorFromCookie | ( | ) |
Definition at line 1129 of file PageComment2.py.
| def macro::PageComment2::getescapedsectionname | ( | targettext | ) |
Definition at line 877 of file PageComment2.py.
| def macro::PageComment2::getforminput | ( | form, | ||
| inputfields, | ||||
| requiredfields | ||||
| ) |
Definition at line 377 of file PageComment2.py.
| def macro::PageComment2::getMarkupText | ( | lines | ) |
Definition at line 1307 of file PageComment2.py.
| def macro::PageComment2::getparams | ( | args | ) |
Definition at line 389 of file PageComment2.py.
| def macro::PageComment2::getsmiley | ( | markup | ) |
Definition at line 885 of file PageComment2.py.
| def macro::PageComment2::getsmileymarkuplist | ( | defaulticon | ) |
Definition at line 1274 of file PageComment2.py.
| def macro::PageComment2::getsmileymarkupradio | ( | defaulticon | ) |
Definition at line 1291 of file PageComment2.py.
| def macro::PageComment2::message | ( | astring | ) |
Definition at line 542 of file PageComment2.py.
| def macro::PageComment2::nicepass | ( | alpha = 3, |
||
numeric = 1 | ||||
| ) |
returns a human-readble password (say rol86din instead of a difficult to remember K8Yn9muL )
Definition at line 1331 of file PageComment2.py.
| def macro::PageComment2::previewcomment | ( | comicon, | ||
| comauthor, | ||||
| comtext, | ||||
| commarkup | ||||
| ) |
Definition at line 762 of file PageComment2.py.
| def macro::PageComment2::sendNotification | ( | pg, | ||
| comtext, | ||||
| comment, | ||||
| emails, | ||||
| email_lang, | ||||
| trivial | ||||
| ) |
Definition at line 1187 of file PageComment2.py.
| def macro::PageComment2::setglobalvalues | ( | macro | ) |
Definition at line 484 of file PageComment2.py.
| def macro::PageComment2::showcomment | ( | ) |
Definition at line 807 of file PageComment2.py.
| def macro::PageComment2::showcommentsection | ( | ) |
Definition at line 367 of file PageComment2.py.
| def macro::PageComment2::url_unquote | ( | s, | ||
want_unicode = True | ||||
| ) |
From moinmoin 1.5
Wrapper around urllib.unquote doing the encoding/decoding as usually wanted:
@param s: the string to unquote (can be str or unicode, if it is unicode,
config.charset is used to encode it before calling urllib)
@param want_unicode: for the less usual case that you want to get back
str and not unicode, set this to False.
Default is True.
Definition at line 1233 of file PageComment2.py.