Archive for the ‘Uncategorized’ Category

Encyclopaedia Britannica for Mediawiki

Saturday, August 9th, 2008

Here is a Python script that I cooked up some time ago that feeds the articles from the Encyclopaedia Britannica 2008 Ultimate DVD into Mediawiki, which is a MUCH better interface than the one shipped on the DVD. It supports the Encyclopaedia Britannica proper, the Britannica Books of the Year,

  • O.J. Howard Alabama Jersey
  • the Britannica Student Library,

  • Air Jordan 9 Homme
  • Air Max 2017 Donna Nere
  • and the index, Dont’a Hightower – Alabama Crimson Tide each of which goes to a separate namespace.

  • New Balance 996 Uomo
  • To use it, you need to run it from the root of your Mediawiki installation,

  • Sacramento Kings
  • which you should set up to include some additional namespaces in LocalSettings.php:

    $wgAllowExternalImages = true;
    $wgExtraNamespaces[100] = 'IndexEntry';
    $wgExtraNamespaces[102] = 'BookOfTheYear';
    $wgExtraNamespaces[104] = 'YearInReview';
    $wgExtraNamespaces[106] = 'Document';
    $wgExtraNamespaces[108] = 'BSL';
    $wgContentNamespaces[] = 102;
    $wgContentNamespaces[] = 106;
    $wgContentNamespaces[] = 108;
    $wgCapitalLinks = false;

    You will also need to change the path to your Britannica DVD at the top of the script. It takes several days to finish, Dont’a Hightower Jersey but it can be interrupted at any time and will resume operation when started again.

  • Canotta Philadelphia 76ers Make sure it is allowed to write the necessary data to your Mediawiki directory.

    The script tries its best to transform the highly inconsistent Britannica HTML code to Mediawiki markup, asics gel pulse 8 m?skie

  • NIKE AIR MAX 2016
  • including inline images and diagrams. Nike Air Max 2016 Dames grijs asics kinsei 4 gel It even adds additional links to the sparsely linked articles, Andrew Luck Stanford Football Jerseys yielding remarkable results. Goedkope Nike Air Max schoenen It is not perfect, asics gel lyte 5 mujer Nike Paris however,