Extension talk:SocialRewarding

From mediawiki.org

Once this extension is installed, it'll add some tags to all the existing article. if you wish to discontinue with this extension at a later stage, the tags inserted will be displayed on the article page.

Collateral problems with LiquidThreads extension[edit]

I have installed the LiquidThreads extension with the SocialRewarding extension, but I disabled the SocialRewarding extension because it originated problems with LiquidThreads extension.

When I want to add a new discussion theme, a PHP Warning is originated: "Call to a member function articleFromTitle() on a non-object in /var/www/wiki/extensions/SocialRewarding/SocialRewardingOtherFunctions.php on line 126, referer: http://localhost/wiki/index.php/Discussion:Forum" and I can't add the new discussion theme.

I'm working with the lastest version of SocialRewarding installed in MediaWiki 1.16.4, with the LiquidThreads version for this MediaWiki obtanied from "REL1_16" SVN branch.

-- 10:54, 3 May 2011 (UTC)Reply[reply]

Installing with mod_rewrite used to eliminate "index.php" from urls[edit]

If you're using mod_rewrite to eliminate "index.php" from your urls, and you try to install by navigating to "Special pages==>Social Rewarding: Installation", then the install script won't work. What worked for me was to manually enter the url, including index.php. For example: http://yourwebsite.com/wiki/index.php/Special:SocialRewardingInstall . -- 21:09, 7 September 2009 (UTC)Reply[reply]

Solution to Installation Problems with Newer Versions of MediaWiki[edit]

I also ran into the same problem listed a few times below after installing the SocialRewarding extension. I followed the lead provided by the error message "should return true to continue hook processing or false to abort." and modified specific functions in SocialRewardingHooksFunctions.php to return true. It is now working on our MW 1.12 system.

I added 'return true' to the end of the following functions in SocialRewardingHooksFunctions.php:

  • SocialRewardingMostViewed
  • SocialRewardingRating
  • SocialRewardingRecommend
  • SocialRewardingAutoMarkup

-AlexanderPico 23:01, 22 October 2008 (UTC)Reply[reply]

Unable to install either[edit]

I receive this error:

Detected bug in an extension! Hook SocialRewardingMostViewed failed to return a value; should return true to continue hook processing or false to abort.


  1. 0 C:\xampp\htdocs\wiki\includes\Article.php(324): wfRunHooks()
  2. 1 C:\xampp\htdocs\wiki\includes\Article.php(342): Article->pageData('ArticlePageData...', Array)
  3. 2 C:\xampp\htdocs\wiki\includes\Wiki.php(293): Article->pageDataFromTitle(Object(DatabaseMysql), Array)
  4. 3 C:\xampp\htdocs\wiki\includes\Wiki.php(56): MediaWiki->initializeArticle(Object(DatabaseMysql), Object(Title))
  5. 4 C:\xampp\htdocs\wiki\index.php(93): MediaWiki->initialize(Object(Title), Object(WebRequest))
  6. 5 {main}

--sas daniels 13:34, 9 September 2008 (UTC)

Not possible to get Google key anymore[edit]

As of December 5, 2006, we are no longer issuing new API keys for the SOAP Search API. Developers with existing SOAP Search API keys will not be affected

I can't install the extension[edit]

I uploaded the files and set the require once in the localsettings.php and copied the special page files in the include directory

I use:

   * MediaWiki: 1.11.0
   * PHP: 5.2.4 (cgi)
   * MySQL: 5.0.32-Debian_7etch1 

This is the error I get. any idea where this could come from?

Internal error

Detected bug in an extension! Hook SocialRewardingRating failed to return a value; should return true to continue hook processing or false to abort.

#0 /home/mhd-01/www.mybeautifulwebsite.net/htdocs/mywiki/includes/SkinTemplate.php(803): wfRunHooks('SkinTemplateCon...', Array)
#1 /home/mhd-01/www.mybeautifulwebsite.net/htdocs/mywiki/includes/SkinTemplate.php(437): SkinTemplate->buildContentActionUrls()
#2 /home/mhd-01/www.mybeautifulwebsite.net/htdocs/mywiki/includes/OutputPage.php(696): SkinTemplate->outputPage(Object(OutputPage))
#3 /home/mhd-01/www.mybeautifulwebsite.net/htdocs/mywiki/includes/Wiki.php(301): OutputPage->output()
#4 /home/mhd-01/www.mybeautifulwebsite.net/htdocs/mywiki/index.php(90): MediaWiki->finalCleanup(Array, Object(LoadBalancer), Object(OutputPage))
#5 {main}

Thank you, 19:38, 25 December 2007 (UTC)Reply[reply]

  • giulio . g (at) email . it


I tried it with MW 1.13 and it didn't work.

But i have a test environment too, with MW 1.9, and there are no problems. I think that your MW 1.11 is to new for this Extension.


problem in installation[edit]

i've the same problem

The SpecialSocialRewardingAuthorsHistory cannot split the result[edit]

If there was a long list appeared, SpecialSocialRewardingAuthorsHistory and SpecialSocialRewardingAuthorsRanking could not split the list to a series subpages like SpecialSocialRewardingListUsers did.

How can we solve the problem? --Alpha3 08:15, 4 August 2008 (UTC)Reply[reply]

status of the extension[edit]

Hi dear developers! I've read your master thesis and the description is AWESOME! I dream of running the extension on the current MediaWiki version, but what's the status of it? Do you plan to release new versions? Katkov Yury 06:58, 18 January 2012 (UTC)Reply[reply]