Jump to content

Extension talk:AddThis

Add topic
From mediawiki.org
Latest comment: 2 years ago by GrizzlyBee in topic Notice of Termination of AddThis Services.

No previous topics.

Thank you

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Thank you for your job.

I tested this and I get PHP notice:

PHP Notice:  Undefined variable: wgScriptPath in /srv/http/wiki/extensions/AddThis/AddThis.body.php on line 15

PHP 5.3.8 (FastCGI), MW 1.18.

Ruusian translation of the AddThis.i18n.php:

$messages['ru'] = array (
  'addthis'      => 'Поделиться',
  'addthis-desc' => 'Добавляет кнопку AddThis на боковую панель и в заголовок статьи.'
);

Also I think you should add option to disable page header button. Unikum111 17:10, 22 November 2011 (UTC)

Thank you for the language submission and FYI on the error! I'm working on a new revision now to fix that. Also working on more options, a tag and moving to Wikimedia's subversion. Varnent 07:21, 24 November 2011 (UTC)Reply
The fix, a setting for the page header, language fix for the toolbar and other revisions are now live on the subversion I'm currently using. Will be switching to MW subversion server soon (current server will forward to MW server once move is completed) Varnent 06:09, 26 November 2011 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Address Bar Sharing

[edit]

In my website's "code checkup" at Addthis it says the "Address Bar Sharing is not enabled" and I'm trying to figure out if this is implemented in the extension ? (I could be looking right at it and not see it :P), any input would be appreciated. Mlpearc powwow 01:23, 5 January 2012 (UTC)Reply

It is not - but that is something I can work on enabling. Adding a few other AddThis tracking features as well. Will be coming in version 1.0.1 - hopefully in the next week.  :) Varnent 08:19, 5 January 2012 (UTC)Reply
Cool, thank you very much. Mlpearc powwow 04:40, 6 January 2012 (UTC)Reply
Version 1.0.1 is now available. To enable the address bar sharing set $wgAddThis['addressbarsharing'] = true; Varnent 10:01, 6 January 2012 (UTC)Reply
Thank you for the fast fix. Mlpearc powwow 01:47, 7 January 2012 (UTC)Reply
After adding updated version to my wiki I now get
Fatal error: Call to undefined method Title::isMainPage() in /home/every821/public_html/w/extensions/AddThis/AddThis.body.php on line 67
AddThis.body.php line 67
|| ( $article->getTitle()->isMainPage() && !$wgAddThisMain )
I edited out the new call
//$wgAddThis['addressbarsharing'] = true;
and still get this error. Everything I tried short of //require_once("$IP/extensions/AddThis/AddThis.php"); gets this error.
Current set in LocalSettings.php
require_once("$IP/extensions/AddThis/AddThis.php");
$wgAddThispubid                             = 'ra-xxxxxxxxxxxxxxx';
$wgAddThisMain                              = true;
$wgAddThisHeader                            = true;
$wgAddThisSidebar                           = true;
$wgAddThis['addressbarsharing']             = true;
Mlpearc powwow 19:39, 9 January 2012 (UTC)Reply
Try now - should be okay. Varnent 02:06, 22 January 2012 (UTC)Reply
Very good, all seems well. Thank you. :) Mlpearc powwow 05:57, 22 January 2012 (UTC)Reply

Some trouble...

[edit]

From what I can tell, I've followed everything correctly, but I'm still getting a Servor Error. We don't need to do anything to AddThis.php in the extension file right? I left that unaltered. Frank Muraca 17:07, 20 January 2012 (UTC)Reply

Same thing here. 187.121.125.97 18:54, 21 January 2012 (UTC)Reply
Which versions of MediaWiki are you running? Also, what's the server configuration? Ubuntu, Windows, MySQL, etc. Varnent 19:48, 21 January 2012 (UTC)Reply
Try now - should be okay. Varnent 02:07, 22 January 2012 (UTC)Reply
I'm using 1.17.0 and MySQL. Still doesn't seem to work though...
I only changed LocalSettings.php by adding:
require_once( "$IP/extensions/AddThis/AddThis.php" ); Frank Muraca 21:02, 22 January 2012 (UTC)Reply
Frank: Hmmm - I'm checking into this - do you have the exact server error? I've done some test installs on MW1.17.2 and can't replicate the error after the update this week was made.. Varnent 23:09, 22 January 2012 (UTC)Reply
"HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request."
Does that help? Let me know if you need anymore information about what I've been trying. Frank Muraca 00:40, 23 January 2012 (UTC)Reply
Made some more tweaks - try re-downloading the files and trying again. Varnent 02:55, 23 January 2012 (UTC)Reply
Yes! It works. Thank you!! Frank Muraca 15:08, 28 January 2012 (UTC)Reply

Sharing option

[edit]

Can it possible make AddThis visible only on the main page, but not on other pages?

Because settings $wgAddThisHeader = false; $wgAddThisMain = true; is not working for me, or shouldn't work by design. 91.192.82.106 12:10, 27 January 2012 (UTC)Reply

Ok, I see, I will use <addthis />. 91.192.82.106 12:54, 27 January 2012 (UTC)Reply

Pinterest

[edit]

To answer your question on the extension page: Yes, a pinterest link from file description pages would be very useful for me! rotsee (talk) 21:20, 10 March 2012 (UTC)Reply

I'm pondering this more seriously now....  :) Varnent (talk) 16:09, 15 March 2012 (UTC)Reply
) Let me know if I can help you somehow! rotsee (talk) 10:42, 16 March 2012 (UTC)Reply

no icons only text "share"

[edit]

I see no icons on which I can click, there is only text "share". It redirects me to addthis sharing page, after click on the "share". I use mediawiki 1.17 and the newest version of this extensmion. Pls advise 91.127.221.173 06:01, 12 March 2012 (UTC)Reply

It looks like AddThis is changing something in their scripts - I'm looking into it. Varnent (talk) 07:10, 12 March 2012 (UTC)Reply
Hello
I have the same problem. And there is no icons at the sidebar. Also the same problem here - Article on WikiQueer. But when I log in my google+ account, icons appeared.
Safari 5.1.2, Opera 11.61, Firefox 10.0.2
MediaWiki 1.18.1
PHP 5.3.10 (apache2handler)
MySQL 5.1.49
Thanks. ZelChief (talk) 07:17, 12 March 2012 (UTC)Reply
Appears that AddThis is done with whatever they were doing and the script is working again.  :) Varnent (talk) 14:14, 15 March 2012 (UTC)Reply
Yes ... it works! I think the problem was with the service AddThis, because after refreshing the icon for google+ everything was working. Thanks again for your work!
Forgot log in. ZelChief 62.105.48.249 12:51, 18 March 2012 (UTC)Reply
Yeah - I think it had to do with Google+ button refreshes. Might have been Google's fault.  :) Varnent (talk) 14:40, 18 March 2012 (UTC)Reply
I'm actually having the same problem, nothing is coming up in my sidebar now. Is there anyway to check what's going on? There's nothing on my addthis.com page?
Allcarwiki (talk) Allcarwiki (talk) 01:30, 12 April 2012 (UTC)Reply
same here. Just text and no icons. 151.26.177.232 14:56, 13 April 2012 (UTC)Reply
I have the same problem on my FF 12.0 and 11.0. But on Internet Explorer work it. Starwhooper (talk) 11:27, 29 April 2012 (UTC)Reply
I get only the text sharing with Safari.
It seems also the HeaderTabs extension doesn't works with AddThis extension on FireFox (only the first tab is visible).
When I remove the Addthis extension, tabs are shown.
Visible on www.wikideb.org
Help is welcome.
pbj 80.201.182.151 19:21, 17 July 2012 (UTC)Reply
I had the same problem on Firefox. With IE is always works.
Now if update my MediaWiki to 1.19 and now it works with Firefox, too. Starwhooper (talk) 06:51, 10 May 2012 (UTC)Reply

Facebook Like Button

[edit]

Many thanks for the extension I have it successfully working on my wiki. Is there a way to have the facebook like button on the bar? Stampstudy (talk) 07:39, 8 June 2012 (UTC)Reply

Up??
I'm interest too .. Ilane.nadjar (talk) 09:02, 26 April 2015 (UTC)Reply

Customize buttons in header/sidebar

[edit]

If you're like me and feel that there are too many buttons on the default header box or would like to customize which buttons appear, you can edit addthis.php. Look for: # Toolbar settings. In this example, only the Facebook, Twitter, email, and favorites buttons will be shown:
$wgAddThisHServ = array(
array(
'service' => 'facebook',
),
array(
'service' => 'twitter',
),
array(
'service' => 'email',
),
array(
'service' => 'favorites',
),
);

The sidebar can also be edited in a similar fashion. I believe the names that are used for "service" match up with the ones used by AddThis.com. 209.6.148.211 08:09, 24 June 2012 (UTC)Reply

Pin It button

[edit]

I am trying to add a 'pin it' button to my wiki site. I need to customise the code so it finds the media, description, title, url and video information from the page. So far the code I have is: <a href="http://pinterest.com/pin/create/button/?url=' . urlencode($wgTitle->getFullURL()) . '&media='&description== &is_video=" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a> I can send the url, but what code do I use to grab the media, description and video information? If you have any idea that would be AMAZING! I'm really stuck. Thanks Tech (talk) 19:27, 26 June 2012 (UTC)Reply

[edit]

Just noticed that the css is broken in the Modern skin if the sidebar is shown.

The problem is that the search box and any links under it (toobox) are forced to the very bottom of the page.

  • MediaWiki 1.18.1
  • PHP 5.3.3 (apache2handler)
  • MySQL 5.1.61
  • AddThis (Version 1.0.1)

Great extension and nicely configurable. CookipediaChef (talk) 08:05, 13 July 2012 (UTC)Reply

+1
Has someone found a workaround ? I wonder if it's better to look for a tweak in Addthis extension files, or in the Modern skin files... Varlin (talk) 22:15, 26 March 2014 (UTC)Reply
Realised the problem is because the tables have not been created.
I should have read the installation page:
  • Run the update script which will automatically create the necessary database tables that this extension needs.
Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
No more database errors! CookipediaChef (talk) 12:48, 3 December 2014 (UTC)Reply
Hi, I can't understand what you're talking about Varlin (talk) 18:38, 10 December 2014 (UTC)Reply
I had the same problem, and quick investigation shows it's AddThis service problem itself - not Wiki extension.
Directly it's because of this line
<div class="atclear"></div>
witch is injected by AddThis JS...
Anyway, solution is to add this to CSS (skin css or global "MediaWiki:Common.css")
div.atclear {
display: none !important;
}
Sauron (talk) 11:41, 12 March 2015 (UTC)Reply

Shortening With Bit.ly?

[edit]

I noticed on the AddThis site that the settings can be altered to allow URL shortening via bit.ly, but it requires some manual configuration. http://support.addthis.com/customer/portal/articles/381247-url-shortening#.UET0RyKoaSp

Is this feature compatible with the extension? CJGarner (talk) 18:32, 3 September 2012 (UTC)Reply

Incompatibilities between AddThis and HeaderTabs

[edit]

The HeaderTabs extension iseems to be not compatible with the AddThis extension. When activated, the tabs are not shown.

AddTHis and HeaderTabs are wonderful extension.

Best regards and many thanks.

Pascal (www.wikideb.org) 130.104.118.75 11:15, 5 September 2012 (UTC)Reply

I can confirm this one. I have tried just about everything - showing addthis in sidebar, header or elsewhere on the page and it doesn't matter. The moment it is displayed it breaks headertabs.
I tested a bit further by using the Widget extension to create my own addthis and that breaks too. In other words - the problem is with the javascript of the addthis button.
Final test was trying the addtoany site instead of addthis, and that one works. Guess I'll be using a widget for now :) Lbthomsen (talk) 01:44, 3 October 2012 (UTC)Reply

Move the box with CSS?

[edit]

Hi I like the extension, but don't like the position of the header on the page. It would be great if I could put it on the RHS above the line of the Page Title. Is there a way to do this using CSS or by messing with the PHP file? Sparkzilla (talk) 21:08, 30 November 2012 (UTC)Reply

Top right Alignement instead of top left alignement

[edit]

The Add This extension is now appearing and aligned on the top left of the articles page , instead of the default top right that it used to be. how can i force it to always appear on the top right and not the top left. 92.151.68.180 21:29, 10 July 2013 (UTC)Reply

Floating box conflict

[edit]

Hi, I have a problem in pages that use a floating box on the right.
I'd like to have the AddThis bar before the box, but it goes on the right, so pages are not well formatted.
For example: http://www.vafud.com/wiki/Chimay_blu
I was thinking to display the bar just in the sidebar, but it goes under google adsense. Any advice to make it works fine with these boxes? Lucazeo (talk) 10:21, 8 September 2013 (UTC)Reply

$wgAddThispubid not working

[edit]

I written the profile code in addthis and there is default setting. I tried with profile name and frofile number. I have latter MediaWiki version. Atomjani (talk) 16:03, 9 December 2013 (UTC)Reply

how to localize social network button

[edit]

Facebook like button and other buttons are displayed in English always . Eg: For russian , <a class="addthis_button_facebook_like" fb:like:layout="box_count" fb:like:locale="ru_RU"></a> display in English 125.18.106.145 05:45, 2 January 2014 (UTC)Reply

Twitter attributes

[edit]

How do I configure the attibutes for the twitter button? I'd like it to display the name of the article, the short link and "via" @my-username. Is there a way to config the attributes in the php extension file? I can't find any documentation to do it. Thanks! 181.167.205.224 14:41, 17 January 2014 (UTC)Reply

Asynchronous Loading

[edit]

Thanks so much for creating this extension, it's a huge help. Is there any way to enable asynchronous loading for AddThis? I'm seeing a lag in rendering the page because of loading the AddThis javascript.

I'm happy to help in development or tuning. 71.61.182.101 15:52, 5 February 2014 (UTC)Reply

I didn't go for this extension, but I inserted AddThis using JQuery, which now loads asynchronously:
$.getScript("URL", function(){
addthis.layers({
'theme' : 'transparent',
'share' : {
'position' : 'right',
'numPreferredServices' : 5
}
});
});
Stuartbman (talk) 14:56, 12 March 2014 (UTC)Reply

HTTPS support (please merge)

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi!

I have modified AddThis extension to support HTTPS wikis (use protocol relative URLs, otherwise AddThis javascripts were unavailable via HTTP from HTTPS wikis). I am using the modified version on my own wiki.

I have created code review on Gerrit: https://gerrit.wikimedia.org/r/#/c/141266/ How can I get it reviewed and merged? DavisNT (talk) 17:02, 28 June 2014 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Edit position of the Who's Here tab

[edit]

Hey there, I'd like to know how to modify the position of the Who's Here tab. By that, I mean that I want to control where it comes in among the content of a page.

Website in question: http://www.adventuretimecardwars.com/

-Jake the Dog 76.71.165.56 03:05, 21 August 2014 (UTC)Reply

AddThis makes the wiki extremely slow

[edit]

Hi. For several monthes now, AddThis makes the loading of pages on my wiki very slow. I have to deactivate it. Is the same for other users ? Any idea ? Maybe a calling to an external server that causes that ? Varlin (talk) 15:07, 22 February 2015 (UTC)Reply

Suggestion for Header placement

[edit]

If the button bar appeared justified right on the same line as the page title, the flow would be improved on many of my pages. DulcetTone (talk) 17:23, 10 April 2015 (UTC)Reply

BradLeeBH (talk) 08:35, 29 September 2015 (UTC)Reply

Development?

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

MW V 1.26 throws "Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.addThis ResourceLoaderFileModule Called from OutputPage::getModuleStyles "

[edit]

in the latest stable release of Mediawiki 1.26. this extensions throws the following warning:

Warning: OutputPage::getModuleStyles: style module should define its position explicitly: ext.addThis ResourceLoaderFileModule [Called from OutputPage::getModuleStyles in \w\includes\OutputPage.php at line 621] in C:\xampp\htdocs\w\includes\debug\MWDebug.php on line 300

According to this page this can be fixed via editing the Extensions extension.json, which is currently not existing. Does anoyone know how to fix this? CayceP (talk) 09:34, 26 November 2015 (UTC)Reply

I am getting the same error after upgrading from 1.18 to 1.26 and installing the Syntaxhighlighter_Geshi extension. 193.200.80.2 (talk) 16:18, 26 November 2015 (UTC)Reply
Im experiencing the exact same thing. Nickro~svwiki (talk) 07:30, 30 December 2015 (UTC)Reply
I will look into this - but am also working on a newer extension that does not depend on AddThis. Varnent (talk)(COI) 10:01, 27 November 2015 (UTC)Reply
Thanks Varnent. I as using AddTHis as well, and am also receiving this error.
Is the new thing you are working on a replacement for AddThis? Trunzoc (talk) 00:34, 29 November 2015 (UTC)Reply
In the file extensions/AddThis/AddThis.php, I added the line 'position' => 'top' and this worked for me.
$wgResourceModules['ext.addThis'] = array(
'position' => 'top',
'styles' => 'addThis.css',
... 62.83.76.117 (talk) 19:50, 8 March 2016 (UTC)Reply
That's great mate, worked well, cheers! 5.81.78.37 (talk) 17:17, 9 May 2016 (UTC)Reply

adding custom services

[edit]

Is there a way I can add custom url's? I want to add bookmax which isn't available 74.71.215.113 (talk) 19:36, 13 January 2016 (UTC)Reply

Facebook share image

[edit]

hi ,

using extension add this by default when i share a page on facebook the default image is always the logo "Powered by Mediawiki"

How is possible change this option in order to show, when I share an article, the image used in the article and when I share the wiki using the share buttons on the left menu, the logo of my wiki? Rdelloro (talk) 16:00, 13 March 2016 (UTC)Reply

Facebook uses metadata from the Open Graph Protocol to find images and then tries to do automatic detection if the data is missing. I suggest looking for an Open Graph extension to automatically add the correct <meta> tags to <head>. James Martindale (talk) 01:44, 25 October 2016 (UTC)Reply

How to get different button style

[edit]

I get small sqzare facebook and Twitter buttons, having this configuration setting:

require_once "$IP/extensions/AddThis/AddThis.php";

$wgAddThisMain = false;

$wgAddThisHeader = false;

$wgAddThisSBServ[0]['service'] = 'facebook';

$wgAddThisSBServ[1]['service'] = 'twitter';

$wgAddThisSBServ[2]['service'] = '';

$wgAddThisSBServ[3]['service'] = '';

$wgAddThisSBServ[4]['service'] = '';

$wgAddThisSBServ[5]['service'] = '';

$wgAddThisSBServ[6]['service'] = '';

$wgAddThisSBServ[7]['service'] = '';

What do I have to do to get buttons like "f share" "(bird) tweet"  ?

No counters desired. Aloist (talk) 14:22, 14 April 2016 (UTC)Reply

Issue with icons

[edit]

Since a couple of weeks icons of social networks do not are shown in order. Before, they were perfectly aligned, now they leave spaces and are arranged chaotically. It happened to someone else? How can I fix? I use MediaWiki 1.22.6 185.5.60.134 (talk) 15:51, 6 July 2016 (UTC)Reply

Latest AddThis buttons

[edit]

You can display the latest and greatest AddThis buttons without this extension. All you have to do is add the following line to your LocalSettings.php

$wgHooks['SkinAfterContent'][] = function ( &$data, Skin $skin ) {
	$pubid = 'ra-4e36cd3a05e2e1a2'; // Your public AddThis id
	$data .= "<script src='//s7.addthis.com/js/300/addthis_widget.js#pubid=$pubid'></script>";
};

You're welcome. ;-) Sophivorus (talk) 21:43, 11 July 2016 (UTC)Reply

Doesn't work for me. 2804:7F5:7187:7DA9:0:0:0:1 (talk) 20:18, 18 July 2016 (UTC)Reply
My bad, $pubid should've been inside the hook. Fixed it now, try it out! Sophivorus (talk) 01:08, 19 July 2016 (UTC)Reply
Now it loads as I can see it by inspecting the HTML, but nothing is displayed. 2804:7F5:7187:7DA9:0:0:0:1 (talk) 18:55, 20 July 2016 (UTC)Reply
Well, it works for me on all my sites. Link? Sophivorus (talk) 23:17, 17 August 2016 (UTC)Reply
This code does not work for me either. I have Mediawiki 1.22.6 185.5.60.134 (talk) 00:20, 13 October 2016 (UTC)Reply

Issues with Google Plus button

[edit]

The Google Plus button creates problems, it leaves an empty space widening the line of social buttons. The only solution I found so far was to eliminate it... But I would like it to be present, does anyone know how to fix it? 185.5.60.134 (talk) 17:21, 8 November 2016 (UTC)Reply

I've also experienced the same issue and found a workaround. Add the following line to you LocalSettings.php after the require_once statement:
$wgAddThisSBServ[3]['attribs'] = 'g:plusone:count="false" style="margin-top:1px; width: 25px;"';
The key bit is width: 25px; which is an addition to the default value, constraining the social button size. Dariomarcelino (talk) 16:15, 3 January 2017 (UTC)Reply
It works! Thank you very much for helping! 87.13.171.200 (talk) 16:48, 7 January 2017 (UTC)Reply
For me it works too. Thank you B.Shapoval (talk) 04:28, 22 August 2017 (UTC)Reply

uBlock blocks this script

[edit]

This script is blocked by uBlock Origin. 74.131.4.253 (talk) 05:51, 28 January 2017 (UTC)Reply

That's a uBlock issue, not an extension issue. Add your wiki to the uBlock whitelist. James Martindale (talk) 01:23, 29 January 2017 (UTC)Reply

Adjustments for the addthis bar

[edit]

Hi

How to adjust the height of the addthis bar and to round the corners of the addthis bar.

wiki-shangri-la.com 185.156.173.48 (talk) 09:18, 18 September 2017 (UTC)Reply

Facebook has changed his code

[edit]

Hi…

few weeks ago FB changed its code. Now we do not see the picture in the preview box. Can you fix it then user could see and choose the picture they want in there post Giby the kid (talk) 21:58, 9 October 2017 (UTC)Reply

Category Pages

[edit]

Nice extension!

Is there a way to get this to appear on specified Category: pages? 86.153.162.174 (talk) 10:33, 12 December 2017 (UTC)Reply

I haven't bothered to test this as I currently don't have a test wiki, but does adding <addthis /> to the category page work? James Martindale (talk) 00:09, 13 December 2017 (UTC)Reply
Thank you.
<addthis /> works on category pages!
I should have read the documentation more carefully. 86.153.162.174 (talk) 21:07, 13 December 2017 (UTC)Reply

Facebook share button issue

[edit]

Hi! The Facebook share button on my wiki keeps returning this message "Sorry, this feature isn't available right now: An error occurred while processing this request. Please try again later" while the other share buttons work great. Any idea on how to fix this? Thank you! EhcanreB (talk) 04:43, 3 August 2018 (UTC)Reply

Move AddThis widget to title?

[edit]

Hi! The AddThis extension is great, but sometimes the widget interfers with article content. To avoid this I'll suggest to move it up to the title field, or at least make it an option.

If I could code I would just change the code myself or copy from the Pluso extension.

Hope this is possible and thank you in advance! Pretor~nowiki (talk) 02:01, 12 September 2018 (UTC)Reply

Default Parameters Replacement Not Working

[edit]

I'm on MediaWiki 1.33 using the MobileFrontend skin. The default parameter buttons do not go away when you replace them with one's own parameters. Instead, the ones specified are just added to the default buttons and you end up with two buttons for some services Onesimok (talk) 02:01, 25 July 2019 (UTC)Reply

My solution so far has been to just hide the buttons using CSS selectors
.at300b:nth-child(2),
.at300b:nth-child(3),
.at300b:nth-child(4),
.at300b:nth-child(5),
.at300b:nth-child(6),
.at300b:nth-child(7),
.at300b:nth-child(8),
.at300b:nth-child(9),
.at300b:nth-child(10){
    display: none;
}
Onesimok (talk) 02:35, 25 July 2019 (UTC)Reply
My solution was to replace AddThis.php by one from older version for MW 1.30 B.Shapoval (talk) 03:48, 14 January 2020 (UTC)Reply

How to Disable on Mobile

[edit]

I would like to use AddThis on Desktop, but not on mobile. How can I do that? 128.125.52.100 (talk) 01:19, 17 September 2019 (UTC)Reply

Latest release (for MW 1.34) does not contain AddThis.php

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


It stopped MW because of file absence. So I took file from old version to solve the problem B.Shapoval (talk) 15:57, 13 January 2020 (UTC)Reply

For me that was AddThis.pup from MW 1.30, because from 1.33 it did not replace default icons but add custom to them only. B.Shapoval (talk) 03:51, 14 January 2020 (UTC)Reply
use
{wfLoadExtension( 'AddThis' );}
instead 148.252.132.179 (talk) 15:48, 15 June 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

How to change widget position from article to page title ?

[edit]

i want AddThis widget in page title. Extension:Pluso is at exact location which i want but it has many missing social websites and i can't add own. 150.129.166.124 (talk) 17:07, 22 October 2020 (UTC)Reply

the number of icons is multiplied by two

[edit]
Produit Version
MediaWiki 1.31.12
PHP 7.4.14 (litespeed)
MariaDB 10.3.27-MariaDB-cll-lve
ICU 63.1
LuaSandbox 3.0.3
Lua 5.1.4
Habillage Version Licence
Timeless 0.8.1 GPL-2.0-or-later
Vector GPL-2.0-or-later


But with the version for Mediawiki 1.27 LTS it works

AddThis 1.1.1 (048fff5) 4 mai 2016 à 15:36

Gribouillot (talk) 11:07, 13 February 2021 (UTC)Reply

in MediaWiki 1.35

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


it is still working, you just have to invoke it with

wfLoadExtension( 'AddThis' );

instead of require_once Krabina (talk) 13:51, 30 June 2021 (UTC)Reply

The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Not working with MW 1.38

[edit]

This extension needed to be commented out as this was giving me this error:

Deprecated: Use of MWNamespace::isContent was deprecated in MediaWiki 1.34. [Called from AddThis::AddThisHeader in /home/vikasnd/public_html/w/extensions/AddThis/AddThis.body.php at line 70] in /home/vikasnd/public_html/w/includes/debug/MWDebug.php on line 377

Also this one was issue in 1.38: Use of MWNamespace::isContent was deprecated in MediaWiki 1.34. [Called from AddThis::AddThisHeader in /home/vikasnd/public_html/w/extensions/AddThis/AddThis.body.php at line 70] in /home/vikasnd/public_html/w/includes/debug/MWDebug.php on line 377 [07-Aug-2022 22:26:36 Asia/Kolkata] PHP Deprecated:


Is there an update to this issue? Vikasnd (talk) 05:04, 8 August 2022 (UTC)Reply

Notice of Termination of AddThis Services.

[edit]

As part of a periodic product portfolio review, Oracle has made the business decision to terminate all AddThis services effective as of May 31, 2023. GrizzlyBee (talk) 23:39, 26 April 2023 (UTC)Reply