Offline Version of Wiki

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
TverrBjelke
Posts: 23
Joined: Thu Apr 24, 2008 6:14 am

Offline Version of Wiki

Post by TverrBjelke »

Motivation:
Recently I was sitting in train and had plenty of TIME. And was "in the mood", skimming through this wiki. But no net.

Then I realized that this is rather stereotypic for me - when I could access the Wiki, I have uttermost important other things to do.
When I have some time to waste, I am nearly always offline.

So before I try wget and mirror the wiki pages somehow - or install mediaWiki on a stick and (somehow) import the content - but probably there is a nicer way to get the content offline? I bet I am not alone with this... anyone already done this?
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Offline Version of Wiki

Post by Brynet-Inc »

You mean something like this?: http://en.wikipedia.org/wiki/Wikipedia: ... e_download

Would be kinda neat, but.. also potentially costly (bandwidth wise).. you could use this page though. :)

See here for a list of categories.
Last edited by Brynet-Inc on Wed Oct 22, 2008 8:46 am, edited 1 time in total.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Troy Martin
Member
Member
Posts: 1686
Joined: Fri Apr 18, 2008 4:40 pm
Location: Langley, Vancouver, BC, Canada
Contact:

Re: Offline Version of Wiki

Post by Troy Martin »

Export it, set up a MediaWiki on the thumb drive, and import the OSDev wiki into there.

NOTE: Exporting large amounts of pages is a b**** to do.
Image
Image
Solar wrote:It keeps stunning me how friendly we - as a community - are towards people who start programming "their first OS" who don't even have a solid understanding of pointers, their compiler, or how a OS is structured.
I wish I could add more tex
User avatar
Walling
Member
Member
Posts: 158
Joined: Mon Dec 04, 2006 6:06 am
Location: Berlin, Germany

Re: Offline Version of Wiki

Post by Walling »

Another solution if you're a web hacker, maybe you can get this to work on OSDev Wiki: http://code.google.com/apis/gears/artic ... onkey.html (for Firefox + Google Gears + Greasemonkey). On the other hand it requires some manual configuration and it only caches one page at a time (it adds a Cache Page link to articles).
TverrBjelke
Posts: 23
Joined: Thu Apr 24, 2008 6:14 am

Re: Offline Version of Wiki

Post by TverrBjelke »

As I said: Spare time when being online is my problem.
I think manually exporting many single pages... would not be very practical. (Look at the long list of categories!)

I myself use the wiki engine MoinMoin http://moinmo.in, where you can automatically sync/update your local wiki with (parts of) the remote wiki. That would be it. But OsDev uses MediaWiki.

So... Yes, I rather would prefer to dump http://en.wikipedia.org/wiki/Wikipedia: ... e_download the whole database once and import that database into some kinda stick MediaWiki. So syncing would hopefully be a "doitonce" procedure. And bandwith... It would be matter of of ~ O(N), N=pagenums. That should not be much of a problem, since I would do it once. And with the snapshot-wiki locally ready, I could keep track with much more ease, export changes done on single pages (tracking recent changes).

As I understand the link, s.o. of the wiki admins here needs to perform an SQL dump and send me a link from where I can download the database. Then I could import it locally. And read the wiki offline from stick. And whenever I wish to push text, I'd simply do it offline on my wiki, and when being online only update that single page into the OsDev wiki.

So main question for the admins could be - is an "offline snapshot dump" something that would be interesting for others, too. (So doing this would produce benefit for many.)
Post Reply