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.
Contents |
[edit] Solution to Installation Problems with Newer Versions of MediaWiki
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)
[edit] Unable to install either
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.
Backtrace:
- 0 C:\xampp\htdocs\wiki\includes\Article.php(324): wfRunHooks()
- 1 C:\xampp\htdocs\wiki\includes\Article.php(342): Article->pageData('ArticlePageData...', Array)
- 2 C:\xampp\htdocs\wiki\includes\Wiki.php(293): Article->pageDataFromTitle(Object(DatabaseMysql), Array)
- 3 C:\xampp\htdocs\wiki\includes\Wiki.php(56): MediaWiki->initializeArticle(Object(DatabaseMysql), Object(Title))
- 4 C:\xampp\htdocs\wiki\index.php(93): MediaWiki->initialize(Object(Title), Object(WebRequest))
- 5 {main}
--sas daniels 13:34, 9 September 2008 (UTC)
[edit] Not possible to get Google key anymore
[edit] I can't install the extension
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.
Backtrace:
#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,
84.221.179.51 19:38, 25 December 2007 (UTC)
- giulio . g (at) email . it
Hi,
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.
LaRoca
[edit] problem in installation
i've the same problem
[edit] The SpecialSocialRewardingAuthorsHistory cannot split the result
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)

