diff --git a/home/wiki/App/Databases/Overview.html b/home/wiki/App/Databases/Overview.html index 4fe7abd3d..011fff730 100644 --- a/home/wiki/App/Databases/Overview.html +++ b/home/wiki/App/Databases/Overview.html @@ -93,7 +93,7 @@ Wikitext databases will have -text- in the file name. For example, en.wikipedia.org-text-ns.000.xowa
  • - Users can generates this Wikitext set by using either Dashboard/Import/Online or Dashboard/Import/Offline + Users can generates this Wikitext set by using either Dashboard/Import/Online or Dashboard/Import/Offline
  • Wikitext databases have been supported since the very start of XOWA. As such, they have a full set of functionality diff --git a/home/wiki/App/Import/Download/Dump_servers.html b/home/wiki/App/Import/Download/Dump_servers.html index 35182ecff..79ea3340e 100644 --- a/home/wiki/App/Import/Download/Dump_servers.html +++ b/home/wiki/App/Import/Download/Dump_servers.html @@ -47,7 +47,7 @@ Changing the dump server

    - Please see Options/Import + Please see Options/Import

    diff --git a/home/wiki/App/Import/English_Wikipedia.html b/home/wiki/App/Import/English_Wikipedia.html index b8a65cab1..67681f95d 100644 --- a/home/wiki/App/Import/English_Wikipedia.html +++ b/home/wiki/App/Import/English_Wikipedia.html @@ -102,7 +102,7 @@

    - Import through Dashboard/Import/Online + Import through Dashboard/Import/Online

    - These menus can also be customized using the source at Options/Menus + These menus can also be customized using the source at Options/Menus

    Note that internationalization (translation by language) is only supported for German. Other languages can be supported, but translations are needed! See Help/Feedback. diff --git a/home/wiki/App/UI/Printing.html b/home/wiki/App/UI/Printing.html index 752d630e2..1621e779b 100644 --- a/home/wiki/App/UI/Printing.html +++ b/home/wiki/App/UI/Printing.html @@ -94,7 +94,7 @@ Restart XOWA

  • - Go to Options/Menus + Go to Options/Menus
  • Add the following line: add_btn_default('xowa.file.print'); diff --git a/home/wiki/App/Wiki_types/Wikia.com.html b/home/wiki/App/Wiki_types/Wikia.com.html index 69f1ab0cc..bd9870c5c 100644 --- a/home/wiki/App/Wiki_types/Wikia.com.html +++ b/home/wiki/App/Wiki_types/Wikia.com.html @@ -5,7 +5,21 @@ App/Wiki types/Wikia.com - XOWA - + + +
    @@ -17,6 +31,52 @@
    +

    Acknowledgments

    @@ -32,6 +92,17 @@

    As Wikia's wikis run on version 1.19.9 of MediaWiki, it is possible for XOWA to import their database dumps.

    +

    + Note that the same process can also be applied to other MediaWiki wikis. For example, the Nethack wiki runs on MediaWiki and makes its dumps available for offline use: +

    +

    The remainder of this walkthrough details the process to import a wiki. It assumes the following:

    @@ -43,29 +114,26 @@ A wikia of dungeons.wikia.com (Dungeons and Dragons)
  • -

    - Feel free to adjust as necessary. -

    Part 1: Set up the wikia dump

    @@ -76,21 +144,114 @@ Navigate to Dashboard/Import/Offline
  • - Change the "Wiki" choice from "Wikipedia" to "Other wiki" + Change the Wiki choice from Wikipedia to Other wiki
  • - Change "Where to get the dump" from "download" to "read from file" + Change Where to get the dump from download to read from file
  • - In the next box, click on the "..." icon. Select C:\xowa\wiki\dungeons.wikia.com\dungeons_pages_current.xml + In the next box, click on the ... icon. Select C:\xowa\wiki\dungeons.wikia.com\dungeons_pages_current.xml
  • - Click "Import now" + Click Import now
  • Wait for the import to complete
  • +

    + Part 3: Import the images +

    +

    + This part is more complicated and requires three steps: +

    +

    + Part 3a: Setup dumpgenerator.py +

    + +
    +
    + Old +
    +
    +
    +        filename3 = u'%s/%s' % (imagepath, filename2)
    +
    +
    +
    + New +
    +
    +
    +        # replace invalid windows chars
    +        filename2 = filename2.replace(" ", "_")
    +        filename2 = filename2.replace("\"", "%22")
    +        filename2 = filename2.replace(":", "%3A")
    +        filename2 = filename2.replace("?", "%3F")
    +
    +        filename3 = u'%s/%s' % (imagepath, filename2)
    +
    +

    + Part 3b: Run dumpgenerator.py +

    + +

    + Part 3c: Setup Imagemagick and Inkscape +

    + +

    + Finally, run XOWA and navigate to dungeons.wikia.com/wiki/Drow_(4e_Monster). You will see images on the page +

    Other notes

    @@ -114,18 +275,15 @@ XOWA will try to implement these custom extensions in the future, but due to time constraints, they will be prioritized after Wikimedia extensions.
    - If you have an extension that you would like to see supported, please contact me through Help/Feedback and let me know the wiki and the extension. Depending on number of requests and difficulty of implementation, I will try to include support for it. + If you have an extension that you would like to see supported, please contact me through Help/Feedback and let me know the wiki and the extension. Depending on number of requests and difficulty of implementation, I will try to include support for it.

    diff --git a/home/wiki/Change_log.html b/home/wiki/Change_log.html index 68bd4fec5..04244106c 100644 --- a/home/wiki/Change_log.html +++ b/home/wiki/Change_log.html @@ -808,7 +808,7 @@

    - Links: Wiki_setup/Spanish_wikis + Links: Wiki_setup/Spanish_wikis
    - Links: Options/Dev + Links: Options/Dev

    @@ -1106,7 +1106,7 @@

    - Links: Dashboard/Image_databases + Links: Dashboard/Image_databases

    @@ -1632,7 +1632,7 @@
    - Links: Options/Shortcuts + Links: Options/Shortcuts
    - Links: Wiki_setup/Listing + Links: Wiki_setup/Listing
    - Links: Dev/Command-line/Dumps + Links: Dev/Command-line/Dumps