mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
v4.6.2.1907
This commit is contained in:
@@ -12,13 +12,6 @@
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
<style data-source="xowa" type="text/css">
|
||||
.console {font-family: monospace; color: #EEEEEE ; background-color: black ; border: medium solid black;}
|
||||
.code
|
||||
,.path
|
||||
,.url {font-family: monospace; color: black ; background-color: #f9f9f9 ; border: medium solid #f9f9f9;}
|
||||
.bold {font-weight: 900;}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body class="mediawiki ltr sitedir-ltr ns-0 ns-subject skin-vector action-submit vector-animateLayout" spellcheck="false">
|
||||
@@ -80,10 +73,10 @@
|
||||
<a href="#Hardware"><span class="tocnumber">2.3</span> <span class="toctext">Hardware</span></a>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-6">
|
||||
<a href="#Internet-connectivity_.28optional.29"><span class="tocnumber">2.4</span> <span class="toctext">Internet-connectivity (optional)</span></a>
|
||||
<a href="#Internet-connectivity_(optional)"><span class="tocnumber">2.4</span> <span class="toctext">Internet-connectivity (optional)</span></a>
|
||||
</li>
|
||||
<li class="toclevel-2 tocsection-7">
|
||||
<a href="#Pre-existing_image_databases_for_your_wiki_.28optional.29"><span class="tocnumber">2.5</span> <span class="toctext">Pre-existing image databases for your wiki (optional)</span></a>
|
||||
<a href="#Pre-existing_image_databases_for_your_wiki_(optional)"><span class="tocnumber">2.5</span> <span class="toctext">Pre-existing image databases for your wiki (optional)</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -111,7 +104,7 @@
|
||||
<a href="#Script:_Simple_Wikipedia_example_with_documentation"><span class="tocnumber">5</span> <span class="toctext">Script: Simple Wikipedia example with documentation</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-15">
|
||||
<a href="#Script:_gnosygnu.27s_actual_English_Wikipedia_script_.28dirty.3B_provided_for_reference_only.29"><span class="tocnumber">6</span> <span class="toctext">Script: gnosygnu's actual English Wikipedia script (dirty; provided for reference only)</span></a>
|
||||
<a href="#Script:_gnosygnu's_actual_English_Wikipedia_script_(dirty;_provided_for_reference_only)"><span class="tocnumber">6</span> <span class="toctext">Script: gnosygnu's actual English Wikipedia script (dirty; provided for reference only)</span></a>
|
||||
</li>
|
||||
<li class="toclevel-1 tocsection-16">
|
||||
<a href="#Change_log"><span class="tocnumber">7</span> <span class="toctext">Change log</span></a>
|
||||
@@ -205,7 +198,7 @@
|
||||
For English Wikipedia, it still takes about 50 hours for the entire process.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Internet-connectivity_.28optional.29">Internet-connectivity (optional)</span>
|
||||
<span class="mw-headline" id="Internet-connectivity_(optional)">Internet-connectivity (optional)</span>
|
||||
</h3>
|
||||
<p>
|
||||
You should have a broadband connection to the internet. The script will need to download dump files from Wikimedia and some dump files (like English Wikipedia) will be in the 10s of GB.
|
||||
@@ -214,7 +207,7 @@
|
||||
You can opt to download these files separately and place them in the appropriate location beforehand. However, the script below assumes that the machine is always online. If you are offline, you will need to comment the "util.download" lines yourself.
|
||||
</p>
|
||||
<h3>
|
||||
<span class="mw-headline" id="Pre-existing_image_databases_for_your_wiki_.28optional.29">Pre-existing image databases for your wiki (optional)</span>
|
||||
<span class="mw-headline" id="Pre-existing_image_databases_for_your_wiki_(optional)">Pre-existing image databases for your wiki (optional)</span>
|
||||
</h3>
|
||||
<p>
|
||||
XOWA will automatically re-use the images from existing image databases so that you do not have to redownload them. This is particularly useful for large wikis where redownloading millions of images would be unwanted.
|
||||
@@ -315,7 +308,6 @@ app.bldr.cmds {
|
||||
// build commons database; this only needs to be done once, whenever commons is updated
|
||||
add ('commons.wikimedia.org' , 'util.cleanup') {delete_all = 'y';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'pages-articles';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'categorylinks';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'page_props';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'image';}
|
||||
add ('commons.wikimedia.org' , 'text.init');
|
||||
@@ -323,7 +315,6 @@ app.bldr.cmds {
|
||||
add ('commons.wikimedia.org' , 'text.term');
|
||||
add ('commons.wikimedia.org' , 'text.css');
|
||||
add ('commons.wikimedia.org' , 'wiki.page_props');
|
||||
add ('commons.wikimedia.org' , 'wiki.categorylinks');
|
||||
add ('commons.wikimedia.org' , 'wiki.image');
|
||||
add ('commons.wikimedia.org' , 'file.page_regy') {build_commons = 'y'}
|
||||
add ('commons.wikimedia.org' , 'wiki.page_dump.make');
|
||||
@@ -495,7 +486,7 @@ app.bldr.cmds {
|
||||
app.bldr.run;
|
||||
</pre>
|
||||
<h2>
|
||||
<span class="mw-headline" id="Script:_gnosygnu.27s_actual_English_Wikipedia_script_.28dirty.3B_provided_for_reference_only.29">Script: gnosygnu's actual English Wikipedia script (dirty; provided for reference only)</span>
|
||||
<span class="mw-headline" id="Script:_gnosygnu's_actual_English_Wikipedia_script_(dirty;_provided_for_reference_only)">Script: gnosygnu's actual English Wikipedia script (dirty; provided for reference only)</span>
|
||||
</h2>
|
||||
<pre class='code'>
|
||||
app.bldr.pause_at_end_('n');
|
||||
@@ -524,7 +515,6 @@ app.bldr.cmds {
|
||||
add ('commons.wikimedia.org' , 'util.cleanup') {delete_all = 'y';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'pages-articles';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'image';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'categorylinks';}
|
||||
add ('commons.wikimedia.org' , 'util.download') {dump_type = 'page_props';}
|
||||
add ('commons.wikimedia.org' , 'text.init');
|
||||
add ('commons.wikimedia.org' , 'text.page');
|
||||
|
||||
Reference in New Issue
Block a user