Opened 12 years ago

Closed 12 years ago

# Auto tagging with 'blog' when importing a wiki into trac

Reported by: Owned by: joergprante@… John Hampton low TracBlogPlugin minor 0.10

### Description

I'm not sure if this can be done in the blog plugin, but it would be nice to keep the original timestamp of foreign wiki entries when importing to trac. Is there a possibility to set the "blog" tag while performing trac-admin wiki load?

### comment:1 Changed 12 years ago by Noah Kantrowitz

The retaining of timestamps would have to be done inside trac-admin, and as such you are probably better off asking over at the main Trac site.

### comment:2 Changed 12 years ago by John Hampton

Status: new → assigned

I'm not sure if I fully understand the request.

Like coderanger said, if you simply want to keep the creation timestamp the same as the foreign system, then that is more a question for the trac devs. The blog plugin has nothing to do with trac-admin. As far as I know, trac-admin isn't very extensible, so I'm not sure if it would even be worth trying to add hooks in it.

If you're talking about the fact that when you tag the entry as blog, after it has been imported, it then shows up with an "Updated" message, then I can do a little something about that. However, the biggest issue there is that tags aren't versioned, so I can't tell which revision was the first revision to get tagged. I am planning on implementing a parameter to the macro, and possibly a trac.ini parameter that will let you turn off the "Updated" messages

### comment:3 Changed 12 years ago by John Hampton

Resolution: → wontfix assigned → closed

I have added a trac.ini field for disabling the "Updated on" messages

If trac-admin ever becomes slightly extensible, then I'll take a look at being able to tag pages on import. However, it's not really possible at this point.

### Modify Ticket

Change Properties