Modify ↓
#151 closed defect (fixed)
WikiRenameScript does not work on Windows platform
Reported by: | ttressieres | Owned by: | Noah Kantrowitz |
---|---|---|---|
Priority: | normal | Component: | WikiRenameScript |
Severity: | normal | Keywords: | windows |
Cc: | ttressieres | Trac Release: |
Description
Nice script to automaticcaly rename wiki pages :-)
There are some errors on Windows:
- If you run the script on Windows, you have an error with the function os.getlogin().
- In Trac on Windows (i don't know if it's the same on linux/unix platforms), the attachments are stored on directory such as attachments/wiki/PageName under tracenv path.
The script must take the directory renaming into account.
I've corrected these two errors in the attached patch.
Attachments (1)
Change History (2)
Changed 19 years ago by
Attachment: | script.patch added |
---|
comment:1 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
proposal correction of the minor errors