Extension talk:SendToTwitter2

for configuration help or consulting, feel free to contact me at http://www.wikiexpert.com/contact

--Phalseid 19:24, 8 December 2009 (UTC)

I needed to change this line in the LocalSettings:

$wgSendToTwitterWikiURL      = 'http://www.yourdomain.com/wiki/'; #don't forget trailing slash!

to this

$wgSendToTwitterWikiURL      = 'http://www.yourdomain.com/wiki/index.php?title=';

in order for this extension to work.

--LCaruana 18:25, 9 February 2010 (UTC)


 * probably depends if you are using prettyurls or not --Phalseid 17:58, 18 February 2010 (UTC)

Same Error As "SendToTwitter"
PHP Fatal error: Call to undefined function curl_init in /var/www/htdocs/extensions/SendToTwitter2/SendToTwitter2.php on line 65

Any ideas? Thanks --John Thomson 02:57, 2 March 2010 (UTC)
 * You likely don't have CURL enabled on your webspace --Frantik 15:54, 3 March 2010 (UTC)


 * Hi Frank - That did it! Bit of a "doh" moment there.  Thanks very much, I appreciate your help!! --John Thomson 23:27, 3 March 2010 (UTC)

Send to Twitter and Captcha allows TwitterSpam
I enabled SendToTwitter2 this evening, and within minutes I received a tweet where the summary was "Accutane", it was promptly followed by a similar tweet. Seeing nothing in my RecentChanges, I tried the following:


 * 1) I logged out of my wiki
 * 2) I attempted to edit a page and added a comment
 * 3) I was prompted to enter my captchas, but by that point, STT2 had already fired, and the tweet was sent.

Relevant captcha config:

// Fix the default captcha behaviour $wgGroupPermissions['*'           ]['skipcaptcha'] = false; $wgGroupPermissions['user'        ]['skipcaptcha'] = true; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true; $wgGroupPermissions['bot'         ]['skipcaptcha'] = true; // registered bots $wgGroupPermissions['sysop'       ]['skipcaptcha'] = true; # $wgCaptchaTriggers['edit']         = true; $wgCaptchaTriggers['create']       = true; $wgCaptchaTriggers['createaccount'] = true;

For the time being, I disabled captcha and disabled anonymous edits altogether. It's not an important feature for me anyways. --John Thomson 23:35, 3 March 2010 (UTC)