Modify

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

script.patch (1.4 KB) - added by ttressieres 11 years ago.
proposal correction of the minor errors

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by ttressieres

Attachment: script.patch added

proposal correction of the minor errors

comment:1 Changed 11 years ago by Noah Kantrowitz

Resolution: fixed
Status: newclosed

(In [414]) A few minor fixes. Closes #151.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.