Extension talk:Collection/2016


Book Disappears

are books auto deleted after some time ? (cache)? can i save a book to be always visible like a page with transluded titles? 85.28.158.38 (talk) 20:52, 18 January 2016 (UTC)

is it possible? 164.126.187.75 (talk) 06:14, 19 August 2016 (UTC)

Inhibiting spiders from attempting to generate books

We've noticed recently that our wiki server is throwing swap warnings and becoming unresponsive at times. It seems to be caused by an aggressive web spider attempting to generate books over an approximate 7 minute time frame. Is there a way to set Collection to be accessible to only logged in users?

Thanks

Bill Wmat (talk) 17:39, 1 March 2016 (UTC)

Are they actually making books and trying to save them? The only thought I have is changing the settings of $wgGroupPermissions. Go here and search for that string for more on how that may be useful: https://mwlib.readthedocs.org/en/latest/collection.html#installation-and-configuration-of-the-collection-extension Lostraven (talk) 16:45, 25 March 2016 (UTC)

Script to start local render server

maybe it will be helpful for someone.

#!/bin/sh
#
#chkconfig: 345 20 80
#
#description: mw-serve

PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin

case "$1" in
    start)
        setuid www-data mw-qserve &
        setuid www-data nserve &
        setuid www-data nslave --cachedir /tmp/mwcache/ &
        setuid www-data postman &
    ;;
  stop)
        killall nserve
        killall mw-qserve
        killall nslave
        killall postman
    ;;
  force-reload|restart)
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: /etc/init.d/mw-serve {start|stop}"
    exit 1
    ;;
esac

exit 0

added command to crontab to start/restart it automatically:

crontab -e</pre>
<pre>@reboot /path/to/file start
@daily /path/to/file restart

Ibutakov.smartec (talk) 10:16, 20 May 2016 (UTC)