Changes

Jump to navigation Jump to search
653 bytes added ,  13:57, 9 June 2017
no edit summary
Line 183: Line 183:  
<pre>
 
<pre>
 
<nnowiki>This page was last modified on $1, at $2</nnowiki>
 
<nnowiki>This page was last modified on $1, at $2</nnowiki>
 +
</pre>
 +
 +
== Create Static Mediawiki Snapshot ==
 +
How to host Mediawiki on a Raspi ? You can put the /var/www to a RAM TMPFS! and
 +
do:
 +
<pre>
 +
nohup wget --recursive --page-requisites --html-extension \
 +
      --convert-links --no-parent -R "*Special*" -R "*action=*" \
 +
      -R "*printable=*"  -R "*oldid=*" -R "*title=Talk:*" \
 +
      -R "*limit=*" "http://wiki.linuxonlinehelp.de/wiki/index.php\?title=Main_Page.htm"
 +
</pre>
 +
copy Skins:
 +
<pre>
 +
$ cp skins/common/shared.css?207  skins/common/shared.css
 +
$ cp skins/monobook/main.css\?207 skins/monobook/main.css
 +
$ sed -i 's/shared\.css\%3F207/shared.css/g' *.html
 +
$ sed -i 's/main\.css\%3F207/main.css/g' *.html
 
</pre>
 
</pre>

Navigation menu