Changeset 625

Show
Ignore:
Timestamp:
04/06/06 02:10:42 (3 years ago)
Author:
coderanger
Message:

WikiRenameScript:

Adding a new debug line.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wikirenamescript/0.9/RenamePage.py

    r624 r625  
    7474    # Rewrite all links to the old page, such as to point to the new page 
    7575    for row in cursor: 
     76        if debug: print "Found a page with a link in it: %s (v%s)" % (row[1],row[0]) 
    7677        newtext = sre.sub('\[wiki:%s'%oldname,'[wiki:%s'%newname,row[2]) 
    7778        cursor.execute('UPDATE wiki SET text=%s WHERE name=%s AND version=%s', (newtext,row[1],row[0]))