Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 2
- Log:
Initial import of Instiki 0.11.0 sources from a downloaded Tarball.
Instiki is a Ruby On Rails based Wiki clone.
- Author:
- adh
- Date:
- Sat Jul 22 14:54:51 +0100 2006
- Size:
- 652 Bytes
1 | ENV['RAILS_ENV'] = ARGV.first || 'development' |
2 | |
3 | $stderr.puts "Loading Rails for #{ENV['RAILS_ENV']} environment..." |
4 | require File.dirname(__FILE__) + '/../config/environment' |
5 | |
6 | class StubUrlGenerator |
7 | def make_link(*args) |
8 | 'StubLink' |
9 | end |
10 | end |
11 | |
12 | PageRenderer.setup_url_generator(StubUrlGenerator.new) |
13 | WikiReference.delete_all |
14 | |
15 | Web.find_all.each do |web| |
16 | web.pages.find(:all, :order => 'name').each do |page| |
17 | $stderr.puts "Processing page '#{page.name}'" |
18 | begin |
19 | PageRenderer.new(page.current_revision).display_content(update_references = true) |
20 | rescue => e |
21 | puts e |
22 | puts e.backtrace |
23 | end |
24 | end |
25 | end |