Skip to content

Commit e2384e6

Browse files
committed
move a script
1 parent e7c7ff0 commit e2384e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Extensions/README.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
External Methods, to be installed in the ZODB.
22

33
Install.py - standard CMF/Plone install script
4-
fixprops.py - utility for modifying an attribute of all wiki pages

scripts/README.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pagesByType.dtml - dtml method to list pages by type
55
print.dtml - dtml method for flattening and page and subtopics
66
toc.py - pythonscript for zwiki.org-style tables of contents
77
view_source.dtml - dtml method for viewing source of things
8+
propreplace.py - pythonscript for modifying an attribute of all wiki pages

Extensions/fixprops.py renamed to scripts/propreplace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import string
22

3-
def fixprops(self,properties,old,new):
3+
def propreplace(self,properties,old,new):
44
"""
55
Do a text replace in certain properties of zwiki pages in this folder.
66
77
For all zwiki pages in this folder, replace all occurrences of old
88
with new in the specified property or properties (must be string
99
properties). You could call this from your browser, eg like so:
1010
11-
http://.../wikifolder/fixprops?properties:list=creation_time&properties:list=last_edit_time&old=Central Standard Time&new=CST
11+
http://.../wikifolder/propreplace?properties:list=creation_time&properties:list=last_edit_time&old=Central Standard Time&new=CST
1212
1313
Don't leave this method accessible to untrusted users.
1414
"""

0 commit comments

Comments
 (0)