Difference between revisions of "Mediawiki bot notater"
From Teknologisk videncenter
m (New page: tilføj nedenstående til LocalSettings.php <pre> <#Enable api.php (bot) $wgEnableAPI=true; $wgEnableWriteAPI=true; </pre> Accesscontrol skal være disabled medens bot kører. <pre> #re...) |
m |
||
Line 1: | Line 1: | ||
tilføj nedenstående til LocalSettings.php | tilføj nedenstående til LocalSettings.php | ||
<pre> | <pre> | ||
− | + | #Enable api.php (bot) | |
$wgEnableAPI=true; | $wgEnableAPI=true; | ||
$wgEnableWriteAPI=true; | $wgEnableWriteAPI=true; |
Revision as of 08:32, 4 October 2010
tilføj nedenstående til LocalSettings.php
#Enable api.php (bot) $wgEnableAPI=true; $wgEnableWriteAPI=true;
Accesscontrol skal være disabled medens bot kører.
#require_once("extensions/accesscontrol/accesscontrolSettings.php"); #include("extensions/accesscontrol/accesscontrol.php");