Extension talk:Send2StatusNet

if you want to help...
some improvements for the future could be:
 * try it out with your MediaWiki/StatusNet version + add your results
 * translate (see Send2StatusNet.i18n.php)
 * restrict dents to certain pages/user(s)/edits
 * make the url shortener also configurable -> then you have also access to stats
 * make a nice box around settings in preferences, --Erkan Yilmaz 22:37, 21 September 2011 (UTC)

ur1.ca down
Hi, currently ur1.ca as short URL service is down and has been very slow in the last time. Therefore I set up another Short URL service, is.gd, as fast workaround.

As example I changed function ShortenLongUrlWithUr1dotca beginning in line 93 from Send2StatusNet.php to the following (it works for me).

--Singlespeedfahrer 19:21, 14 October 2011 (UTC)
 * BTW: @Erkan Yilmaz, thanks for this extension. --Singlespeedfahrer 19:24, 14 October 2011 (UTC)
 * Thanks for noticing + the code
 * version 1.3.2 includes the fix (by allowing in options to set one of the two URL shorteners), --Erkan Yilmaz 21:34, 14 October 2011 (UTC)

Send messages to groups
I think it would be a good feature if it would be possible to send messages directly to one or more specific groups when this is selected in preferences. --Singlespeedfahrer 19:37, 15 October 2011 (UTC)

Bug: Empty page after uploading an image
After uploading an image an empty page is shown. Images still have been uploaded. Found this on my error.log:

PHP Fatal error: Call to a member function getContent on a non-object in /var/www/mediawiki/extensions/Send2StatusNet/Send2StatusNet.php on line 186, referer: hxx://xxxx.xx/wiki/Spezial:Hochladen

Singlespeedfahrer 21:27, 22 October 2011 (UTC)
 * Fixed it with the check that no special page will be sent in Send2StatusNet.php (line 175 and 232). Therefore uploading an image is not send to the StatusNet site. Changed line 175 to:

if ( $wgUser->getBoolOption('SendToStatusNetActivate') && $wgUser->getBoolOption('SendToIdenticaNewArticles') && $wgTitle->getNamespace != NS_SPECIAL ) {


 * and line 232 to:

if ( $wgUser->getBoolOption('SendToStatusNetActivate') && $wgUser->getBoolOption('SendToIdenticaNewArticles') && $wgTitle->getNamespace != NS_SPECIAL ) {


 * --Singlespeedfahrer 18:03, 17 November 2011 (UTC)