M204wiki:Database download: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Sirius Software]] offers free copies of this wiki to anyone interested in the material.  The copies are formatted in XML, appropriate for loading to your own installation of Mediawiki, or for use in any of the after-market products designed to present Wikipedia or Mediawiki content offline.
[[Sirius Software]] offers free copies of the SirWiki wiki to anyone interested in the material.  The copies are formatted in XML, appropriate for loading to your own installation of Mediawiki, or for use in any of the after-market products designed to present Wikipedia or Mediawiki content offline.


==How to get a copy of SirWiki==
==How to get a copy of SirWiki==
 
To take a copy of SirWiki, point your browser — or other HTTP client application — at one of the following URLs:
To take a copy of the Sirius wiki, point your browser--or other HTTP client application--at one of the following URLs:
<p class="code">http://wiki.sirius-software.com/images/sirWiki_full.xml
<p class="code">http://wiki.sirius-software.com/images/sirWiki_full.xml
http://wiki.sirius-software.com/images/sirWiki_current.xml
http://wiki.sirius-software.com/images/sirWiki_current.xml
</p>
</p>


'''sirWiki_full.xml''' contains the full Sirius Wiki (minus user records, security groups and "talk" pages), including all past versions of each page.  As of December 2012, this file is approximately 225 megabytes of data, and expected to constantly increase in size.
'''sirWiki_full.xml''' contains the full SirWiki content (minus user records, security groups and "talk" pages), including all past versions of each page.  As of December 2012, this file is approximately 225 megabytes of data, and expected to constantly increase in size.


'''sirWiki_current.xml''' contains only the latest update of each Sirius Wiki page (minus users, security groups and "talk" pages).  This copy provides the latest version of all material but ''without'' the page history.  As of December 2012, this file is approximately 15 megabytes in size, and expected to increase in size but to always remain smaller than the ''full'' version.  '''This is probably the copy you want.'''
'''sirWiki_current.xml''' contains only the latest update of each Sirius Wiki page (minus users, security groups and "talk" pages).  This copy provides the latest version of all material but ''without'' the page history.  As of December 2012, this file is approximately 15 megabytes in size, and it is expected to increase in size but to always remain smaller than the "full" version.  '''This is probably the copy you want.'''


Both of the above files are refreshed every night, at midnight EST, from the Sirius Wiki.
Both of the above files are refreshed every night, at midnight EST, from SirWiki.


===Updating the Wiki===
===Updating SirWiki===
If you make changes to your local copy of SirWiki and refresh from the source at Sirius, your local changes will be lost.  The download Sirius provides is a full refresh, and no incremental option is currently offered.


If you make changes to your local copy of SirWiki and refresh from the source at Sirius, your local changes will be lost.  The download we provide is a full refresh, and no incremental option is currently offered.
If you'd like to contribute to SirWiki, please do it directly on SirWiki. You will need to obtain a user ID from Sirius, as described in the [http://sirius-software.com/support.html Sirius website].
 
If you'd like to contribute to the Wiki, please do it directly on SirWiki. You will need to obtain a user ID from Sirius, as described in the [http://sirius-software.com/support.html Sirius website].


==What to do with your copy of SirWiki==
==What to do with your copy of SirWiki==
Most likely you are taking a copy of SirWiki because your <var class="product">Model 204</var> site does not provide internet access from your site during work hours.  Keeping a local copy of the Sirius Wiki provides the Sirius documentation in a format that can be kept as up-to-date as you like.


Most likely you are taking a copy of the Sirius Wiki because your Model 204 site does not provide internet access from your site during work hours.  Keeping a local copy of the Sirius Wiki provides the Sirius documentation in a format that can be kept as up-to-date as you like.
If you want to present the Sirius Wiki in its original format, you'll want to install a local copy of Mediawiki, the software behind SirWiki:


If you want to present the Sirius Wiki in its original format, you'll want to install a local copy of Mediawiki, the software behind the Siruis Wiki:
<p class="code">http://www.mediawiki.org/wiki/MediaWiki</p>


  Mediawiki: http://www.mediawiki.org/wiki/MediaWiki
There are a variety of methods for importing the SirWiki dump, all explained at the Mediawiki site:


There are a variety of methods for importing the Sirius wiki dump, all explained at the Mediawiki site:
<p class="code">http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps</p>


  http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps
Once you have a copy of Mediawiki installed, the simplest way to load the SirWiki content in a single step is via the script in <code>maintenance/importDump.php</code> (documentation provided in "Using importDump.php, if you have shell access" at the above link). For example, issue a command like the following:
 
<p class="code">php \www\mediawiki\maintenance\importDump.php c:\users\dave\downloads\sirWiki_current.xml
Once you have a copy of Mediawiki installed, the simplest way to load the Sirius wiki content in a single step is via the script in ''maintenance/importDump.php'' (documentation provided at the above link). For example:
<p class="code">
php \www\mediawiki\maintenance\importDump.php c:\users\dave\downloads\sirWiki_current.xml
</p>
</p>
The above command can be run in Windows, if the MoWeS portable reader was installed in the root directory containing <code>\www</code> and the current SirWiki was saved in the above <code>downloads</code> directory.
The above command can be run in Windows, if the MoWeS portable reader was installed in the root directory containing <code>\www</code> and the current SirWiki was saved in the above <code>downloads</code> directory.


Alternately, you can forgo the local installation of Mediawiki and use one of the aftermarket readers designed to import and display the Mediawiki XML dump.  The most popular one is ''Wikitaxi'' (Windows only; no Linux or OS/X version is provided):
Alternately, you can forgo the local installation of Mediawiki and use one of the aftermarket readers designed to import and display the Mediawiki XML dump.  The most popular one is Wikitaxi (Windows only; no Linux or OS/X version is provided):


  http://en.wikipedia.org/wiki/Wikipedia:Database_download#WikiTaxi
<p class="code">http://en.wikipedia.org/wiki/Wikipedia:Database_download#WikiTaxi</p>


A number of other viewing options are explained at the above page.
A number of other viewing options are explained at the above page.


==Copyright==
==Copyright==
All material in SirWiki is copyright 2012 by Sirius Software, Inc., of Cambridge, Massachusetts.  The material is provided here as reference material for our clients, for users of <var class="product">[[Model 204]]</var>, and for educational purposes in the technical community.


All material in the Sirius Wiki is copyright 2012 by Sirius Software, Inc., of Cambridge, Massachusetts.  The material is provided here as reference material for our clients, for users of [[Model 204]] and for educational purposes in the technical community.
==See also==
 
<ul>
==References==
<li>The Sirius Homepage: http://sirius-software.com
 
<li>Mediawiki: http://www.mediawiki.org<
The Sirius Homepage: http://sirius-software.com<br />
<li>Wikitaxi: http://www.wikitaxi.org
Mediawiki: http://www.mediawiki.org<br />
<li>Wikimedia XML dump importing: http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps
Wikitaxi: http://www.wikitaxi.org<br />
<li>Mediawiki XML dump format: http://meta.wikimedia.org/wiki/Help:Export
Wikimedia XML dump importing: http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps<br />
<li>Wikipedia's information page on using XML database dumps: http://en.wikipedia.org/wiki/Wikipedia:Database_download
Mediawiki XML dump format: http://meta.wikimedia.org/wiki/Help:Export<br />
</ul>
Wikipedia's information page on using XML database dumps: http://en.wikipedia.org/wiki/Wikipedia:Database_download

Revision as of 19:43, 19 December 2012

Sirius Software offers free copies of the SirWiki wiki to anyone interested in the material. The copies are formatted in XML, appropriate for loading to your own installation of Mediawiki, or for use in any of the after-market products designed to present Wikipedia or Mediawiki content offline.

How to get a copy of SirWiki

To take a copy of SirWiki, point your browser — or other HTTP client application — at one of the following URLs:

http://wiki.sirius-software.com/images/sirWiki_full.xml http://wiki.sirius-software.com/images/sirWiki_current.xml

sirWiki_full.xml contains the full SirWiki content (minus user records, security groups and "talk" pages), including all past versions of each page. As of December 2012, this file is approximately 225 megabytes of data, and expected to constantly increase in size.

sirWiki_current.xml contains only the latest update of each Sirius Wiki page (minus users, security groups and "talk" pages). This copy provides the latest version of all material but without the page history. As of December 2012, this file is approximately 15 megabytes in size, and it is expected to increase in size but to always remain smaller than the "full" version. This is probably the copy you want.

Both of the above files are refreshed every night, at midnight EST, from SirWiki.

Updating SirWiki

If you make changes to your local copy of SirWiki and refresh from the source at Sirius, your local changes will be lost. The download Sirius provides is a full refresh, and no incremental option is currently offered.

If you'd like to contribute to SirWiki, please do it directly on SirWiki. You will need to obtain a user ID from Sirius, as described in the Sirius website.

What to do with your copy of SirWiki

Most likely you are taking a copy of SirWiki because your Model 204 site does not provide internet access from your site during work hours. Keeping a local copy of the Sirius Wiki provides the Sirius documentation in a format that can be kept as up-to-date as you like.

If you want to present the Sirius Wiki in its original format, you'll want to install a local copy of Mediawiki, the software behind SirWiki:

http://www.mediawiki.org/wiki/MediaWiki

There are a variety of methods for importing the SirWiki dump, all explained at the Mediawiki site:

http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps

Once you have a copy of Mediawiki installed, the simplest way to load the SirWiki content in a single step is via the script in maintenance/importDump.php (documentation provided in "Using importDump.php, if you have shell access" at the above link). For example, issue a command like the following:

php \www\mediawiki\maintenance\importDump.php c:\users\dave\downloads\sirWiki_current.xml

The above command can be run in Windows, if the MoWeS portable reader was installed in the root directory containing \www and the current SirWiki was saved in the above downloads directory.

Alternately, you can forgo the local installation of Mediawiki and use one of the aftermarket readers designed to import and display the Mediawiki XML dump. The most popular one is Wikitaxi (Windows only; no Linux or OS/X version is provided):

http://en.wikipedia.org/wiki/Wikipedia:Database_download#WikiTaxi

A number of other viewing options are explained at the above page.

Copyright

All material in SirWiki is copyright 2012 by Sirius Software, Inc., of Cambridge, Massachusetts. The material is provided here as reference material for our clients, for users of Model 204, and for educational purposes in the technical community.

See also