# Ticket #116 (new enhancement)

Opened 7 years ago

## Command line tool for [remotely] automating the wiki editing

Reported by: Assigned to: tjyang anybody normal Request-a-Hack normal agarino@hotmail.com 0.10

login (authenticate)
checkout
vi/emacs/awk/perl editing.
checkin
logout


This client can be used to automate the tracwiki publishing by script.

## Change History

### 01/09/06 01:23:34 changed by anonymous

Please see http://projects.edgewall.com/trac/wiki/TracDev/DataModels for an example of how to do this, its rather trivial.

Requested script

### 01/09/06 02:13:11 changed by coderanger

• status changed from new to closed.
• resolution set to fixed.

A basic script to do what you requested has been attached. You will probably want to modify, but it should do as a base.

sudo ./wikieditor.py wiki-page

### 01/09/06 03:13:58 changed by athomas

• status changed from closed to reopened.
• resolution deleted.
• component changed from TracHacks to Request-a-Hack.

From talking to tjyang on IRC, I think he wants something more like MVS, which I'd personally never heard of before, but lets you remotely check out Wiki pages in a manner similar to CVS.

As an aside, I have a small script that uses the XmlRpcPlugin to remotely edit one wiki page at a time, similar to your wikieditor.py. The XmlRpcPlugin could also be used to implement something like MVS, but it would be a much bigger job.

### 01/09/06 03:27:04 changed by athomas

• description changed.
• summary changed from a command line tool for automating the tracwiki editing to a command line tool for [remotely] automating the tracwiki editing.

Changed summary to be more indicative of what tjyang wanted.

### 01/09/06 03:27:48 changed by athomas

coderanger, perhaps you could create a NewHack for your wikieditor.py script? Others might find it useful...

### 03/26/06 18:38:09 changed by anonymous

• cc set to agarino@hotmail.com.

### 06/07/06 11:38:15 changed by athomas

• release set to 0.8.
• owner changed from athomas to anybody.
• status changed from reopened to new.

### 06/07/06 11:38:27 changed by athomas

• release changed from 0.8 to 0.10.

### (follow-up: ↓ 12 ) 09/03/09 04:59:23 changed by nicferrier

I added traccmd, another script that does this kind of thing.

### (in reply to: ↑ 11 ) 09/03/09 05:01:05 changed by nicferrier

I added traccmd, another script that does this kind of thing.

Bah. That should have been TracCmdScript

### 09/06/09 13:51:14 changed by rjollos

• summary changed from a command line tool for [remotely] automating the tracwiki editing to Command line tool for [remotely] automating the wiki editing.

### Add/Change #116 (Command line tool for [remotely] automating the wiki editing)

Change Properties