Modify

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#151 closed defect (fixed)

WikiRenameScript does not work on Windows platform

Reported by: ttressieres Owned by: coderanger
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 9 years ago.
proposal correction of the minor errors

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by ttressieres

proposal correction of the minor errors

comment:1 Changed 9 years ago by coderanger

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.