<div dir="ltr">Hah. Well, I'm not entirely sure how this is setup to manage code changes.  I looked in GitHub and just see the puppet configs.  Not sure where or how I could push changes into LocalSettings.php, otherwise I'd be happy to do it :D   Gotta catch a little rest now, but will check in on this in a few hours. <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">J.P. Maxwell / <a href="http://www.tipit.net" target="_blank">tipit.net</a> <br><br></span></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Feb 23, 2016 at 1:43 AM, Tom Fifield <span dir="ltr"><<a href="mailto:tom@openstack.org" target="_blank">tom@openstack.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Cheers, that's exactly what we need someone to do.<div><div class="h5"><br>
<br>
On 23/02/16 15:34, JP Maxwell wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
OK - so per the info here, you have to set the type of Captcha and add<br>
in editing and create page as triggers requiring Captcha.<br>
<br>
As an example to use QuestyCaptcha a the bottom of the LocalSettings.php<br>
file:<br>
<br>
<a href="https://www.mediawiki.org/wiki/Extension:ConfirmEdit#QuestyCaptcha" rel="noreferrer" target="_blank">https://www.mediawiki.org/wiki/Extension:ConfirmEdit#QuestyCaptcha</a><br>
<br>
And make sure the triggers are set:<br>
<br>
<a href="https://www.mediawiki.org/wiki/Extension:ConfirmEdit#Configuration" rel="noreferrer" target="_blank">https://www.mediawiki.org/wiki/Extension:ConfirmEdit#Configuration</a><br>
<br>
So, for example (you might want to change the questions), but the below<br>
should at least stop the bleeding?<br>
<br>
require_once "$IP/extensions/ConfirmEdit/ConfirmEdit.php";<br>
<br>
// Use this line ONLY if your MediaWiki version is 1.25 or newer:<br>
//wfLoadExtension( 'ConfirmEdit/QuestyCaptcha' );<br>
// Use this line ONLY if your MediaWiki version is older than 1.25:<br>
require_once "$IP/extensions/ConfirmEdit/QuestyCaptcha.php";<br>
<br>
$wgCaptchaClass = 'QuestyCaptcha';<br>
<br>
// Add your questions in LocalSettings.php using this format<br>
$wgCaptchaQuestions[] = array( 'question' => "A question?", 'answer' =><br>
"An Answer");<br>
$wgCaptchaQuestions[] = array( 'question' => 'How much wood would a<br>
woodchuck chuck if a woodchuck could chuck wood?', 'answer' => 'as much<br>
wood as...' );<br>
$wgCaptchaQuestions[] = array( 'question' => "What is this wiki's<br>
name?", 'answer' => "$wgSitename" );<br>
// You can also provide several acceptable answers to a given question<br>
(the answers shall be in lowercase):<br>
$wgCaptchaQuestions[] = array( 'question' => "2 + 2 ?", 'answer' =><br>
array( '4', 'four' ) );<br>
<br>
$wgCaptchaTriggers['edit']          = true;<br>
$wgCaptchaTriggers['create']        = true;<br>
<br>
<br></div></div>
J.P. Maxwell / <a href="http://tipit.net" rel="noreferrer" target="_blank">tipit.net</a> <<a href="http://www.tipit.net" rel="noreferrer" target="_blank">http://www.tipit.net</a>><span class=""><br>
<br>
<br>
On Tue, Feb 23, 2016 at 12:55 AM, Tom Fifield <<a href="mailto:tom@openstack.org" target="_blank">tom@openstack.org</a><br></span><div><div class="h5">
<mailto:<a href="mailto:tom@openstack.org" target="_blank">tom@openstack.org</a>>> wrote:<br>
<br>
    For wiki.o.o, I believe this is at:<br>
<br>
    <a href="https://wiki.openstack.org/wiki/Special:Version" rel="noreferrer" target="_blank">https://wiki.openstack.org/wiki/Special:Version</a><br>
<br>
    On 23/02/16 14:51, JP Maxwell wrote:<br>
<br>
        I did setup a wiki and have a look at this briefly.   Can you<br>
        confirm<br>
        what extensions you are loading?  When you setup the wiki it<br>
        generates a<br>
        localsettings.php file that lists the extensions:<br>
<br>
<br>
<br>
        Inline image 1<br>
<br>
        # Enabled Extensions. Most extensions are enabled by including<br>
        the base<br>
        extension file here<br>
        # but check specific extension documentation for more details<br>
        # The following extensions were automatically enabled:<br>
        wfLoadExtension( 'ConfirmEdit' );<br>
        wfLoadExtension( 'InputBox' );<br>
        wfLoadExtension( 'SpamBlacklist' );<br>
        wfLoadExtension( 'TitleBlacklist' );<br>
        wfLoadExtension( 'WikiEditor' );<br>
<br>
        I think if you have that ConfirmEdit extension you can enable<br>
        captcha<br>
        when creating new pages / editing existing ones.  In addition,<br>
        there do<br>
        seem to be some spam extensions that come built in.<br>
<br>
<br>
</div></div></blockquote>
<br>
</blockquote></div><br></div>