This example shows how you can import a MediaWiki XML database dump with the
InfoRapid KnowledgeBase Builder. The diagram is interactive - click on an item to focus it or use the search field
to find a specific item.
Please
click here to browse back to the initial root item.
The text excerpts are from the free encyclopedia
Wikivoyage and are available under the
Creative Commons Attribution-ShareAlike License; additional terms may apply.
An XML database dump for importing in InfoRapid KnowledgeBase
Builder can be created with the script
dumpBackup.php, which
is located in the
maintenance directory of your
MediaWiki installation. A description of the command can
be found at
http://www.mediawiki.org/wiki/Manual:DumpBackup.php in the
internet.
The following call creates the file "databasedump.xml", which can be
imported in InfoRapid KnowledgeBase Builder.
php dumpBackup.php
--current > datenbankdump.xmlThere is also an
interactive way for exporting
individual pages or
entire categories as XML dump. To do so, please
open the special page "Export" in your wiki. The URL of this page is
http://your_wiki_installation/wiki/Special:Export, for
example in the English Wikipedia it is
http://en.wikipedia.org/wiki/Special:Export. You can enter the
names of the pages, that should be exported, directly or you can
enter an category name and press the "Add" button in order to add
all pages of this category to the list of page names. By the way,
you can do this many times with different categories. Finally,
select the options "Include only the current revision, not the full
history" and "Save as file" before you press the "Export" button,
which starts the download. Save the downloaded XML file on your hard
disk. This file can be imported afterwards with InfoRapid
KnowledgeBase Builder.
The command to
import a MediaWiki XML database dump can be found in the File menu
under Import.
It opens a dialog in which you can enter the
path to the MediaWiki database dump file.
Additionally you can set the following parameters:
File |
Path to the MediaWiki database dump file, which should
be imported |
Wiki Base URL |
Base URL of your MediaWiki installation, at which the
page names are appended for directly linking them |
Evaluate all Links |
Specifies whether all links (that means also those which
are not in the context of a sentence) or only those, which
are contained in whole sentences, will be evaluated |
During import, links between pages are analyzed and added as
relation lines to the diagram. Hyperlinks in whole sentences have a
greater weight than those in lists. If there are many hyperlinks
contained in your articles, then you can choose to ignore hyperlinks
in lists.
After import, you have to adjust the settings for the diagram view.
It is best to choose the maximum number of child elements for the
levels 1/2/3/4 as 11/8/2/1 and turn the display of cross links off.
Then you can save your view settings with the command "Save View"
from the View menu in the database.
Please let me know if you have any questions regarding InfoRapid
KnowledgeBase Builder. You can send your questions by email to
info@inforapid.de.