<br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 10:10 PM, Bradley M. Froehle <span dir="ltr"><<a href="mailto:brad.froehle@gmail.com" target="_blank">brad.froehle@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Min: Thanks for the XML file. I had just built a script to scrape <a href="http://wiki.ipython.org/Special:AllPages" target="_blank">http://wiki.ipython.org/Special:AllPages</a> so I could use <a href="http://wiki.ipython.org/Special:Export" target="_blank">http://wiki.ipython.org/Special:Export</a>. (<a href="https://gist.github.com/4499750#file-ipython_all_pages-py" target="_blank">https://gist.github.com/4499750#file-ipython_all_pages-py</a>).<br>


<br>
Anyway, this mw-to-gollum.rb script (<a href="https://gist.github.com/4499750#file-mw-to-gollum-rb" target="_blank">https://gist.github.com/4499750#file-mw-to-gollum-rb</a>) seems to work okay.<br>
<br>
I've run it and pushed the results to <a href="https://github.com/bfroehle/ipython/wiki/Main-Page" target="_blank">https://github.com/bfroehle/ipython/wiki/Main-Page</a><br>
<br>
There are a few issues:<br>
1. Some pages need to be manually cleaned up: e.g., <a href="https://github.com/bfroehle/ipython/wiki/Extensions-Index" target="_blank">https://github.com/bfroehle/ipython/wiki/Extensions-Index</a><br>
2. Github uses gollum which does not use directories --- everything is in a flat namespace. I've worked around this by replacing all subdirectories with dashes. (See the tr('/', '-') in the script). This seems to keep most of the links working, but some are still broken (see <a href="https://github.com/bfroehle/ipython/wiki/Cookbook" target="_blank">https://github.com/bfroehle/ipython/wiki/Cookbook</a>, for example).<br>

</blockquote><div><br></div><div>Pretty good!  There aren't too many pages, so I think we can probably start with that, and do a bit of cleanup and be set.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
<br>
-Brad<br>
<div class="im"><br>
<br>
On Wednesday, January 9, 2013 at 8:55 PM, Bradley M. Froehle wrote:<br>
<br>
> Yes, I think this is a good idea too.<br>
><br>
> I can attempt the migration if I can get a dump of the wiki contents in some usable fashion.<br>
><br>
> -Brad<br>
><br>
><br>
</div><div class="im">> On Wed, Jan 9, 2013 at 5:28 PM, MinRK <<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a> (mailto:<a href="mailto:benjaminrk@gmail.com">benjaminrk@gmail.com</a>)> wrote:<br>
> > plus a million. I know Thomas did the moin->mediawiki migration,<br>
> > and I don't want to make him do it all over again.<br>
> > I can look into this migration next week.<br>
> ><br>
> > For now, can we 'lock' the current wiki, so there can't be any more edits?<br>
> ><br>
> > -MinRK<br>
> ><br>
> ><br>
</div><div class="im">> > On Wed, Jan 9, 2013 at 4:47 PM, Brian Granger <<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a> (mailto:<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>)> wrote:<br>


> > > I am +1 on this plan.<br>
> > ><br>
</div><div class="im">> > > On Wed, Jan 9, 2013 at 4:46 PM, Thomas Kluyver <<a href="mailto:takowl@gmail.com">takowl@gmail.com</a> (mailto:<a href="mailto:takowl@gmail.com">takowl@gmail.com</a>)> wrote:<br>


> > > > A few days ago, @dttocs on Github tipped us off that our Wiki was serving<br>
> > > > spam about prescription drugs. I cleaned it up and upgraded Mediawiki, but<br>
> > > > it's already reappeared, so evidently the loophole that was used before is<br>
> > > > still open. This isn't just the regular spam pages, which are mostly under<br>
> > > > control; something is able to modify .htaccess .<br>
> > > ><br>
> > > > I'm not a sysadmin, and we've got better uses for our time than battling<br>
> > > > malware. Unless someone feels confident they can maintain it securely, I<br>
> > > > suggest that we abandon our experiment with Mediawiki, and start moving the<br>
> > > > content to a Github wiki.<br>
> > > ><br>
> > > > Thanks,<br>
> > > > Thomas<br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > IPython-dev mailing list<br>
</div>> > > > <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a> (mailto:<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>)<br>
<div class="im">> > > > <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Brian E. Granger<br>
> > > Cal Poly State University, San Luis Obispo<br>
</div>> > > <a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> (mailto:<a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a>) and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a> (mailto:<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>)<br>


> > > _______________________________________________<br>
> > > IPython-dev mailing list<br>
> > > <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a> (mailto:<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>)<br>
<div class="im">> > > <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > IPython-dev mailing list<br>
</div>> > <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a> (mailto:<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a>)<br>
<div class="HOEnZb"><div class="h5">> > <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
><br>
<br>
<br>
<br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</div></div></blockquote></div><br>