Extension talk:TwitterTag

About this board

Error: No Twitter Widget ID provided. Please see usage instructions.

2
Pneuma01 (talkcontribs)

I tried to make a template to make it easier to use, but it doesn't work.

<twitter {{#if:{{{followed|}}}| likes-screen-name="{{{followed|}}}"| screen-name="{{{username|{{{1|Minecraft}}}}}}"}}{{#if:{{{statusid|{{{2|}}}}}}|tweet-id="{{{statusid|{{{2|}}}}}}"}}{{#if:{{{listed|}}}| list-slug="{{{listed|}}}"}}{{#if:{{{height|}}}| height="{{{height}}}"}}{{#if:{{{lang|}}}| lang="{{{lang}}}"}} width="{{{width|400}}}"/>

I changed the output to "span" instead of "twitter", but there seems to be no mistake in the tags.

Does anyone know the cause of this?

Thank you!

01miki10 (talkcontribs)

Tags don't work properly with parser functions inside them. Use {{#tag:twitter}} instead.

[SOLVED] Extension only showing 'Twitter'; doesn't embed timeline

3
Kettner2 (talkcontribs)
01miki10 (talkcontribs)

Seems to be working fine for me. Could be an anti-tracking or similar script blocking it.

Kettner2 (talkcontribs)

My apologies! My browser is blocking the content and just provides a link. Sorry for bothering. I'll add 'Solved' to the question. Thanks!

Is this extension still working?

2
109.253.216.196 (talkcontribs)

Tried with MW 1.30, only links to the twitter page. No display

01miki10 (talkcontribs)

I suggest updating to a newer version, 1.30 is already several years old. The extension certainly does work on a wiki using 1.34 and several Miraheze wikis.

Reply to "Is this extension still working?"

Should it work with MediaWiki 1.34.0?

2
RenéV (talkcontribs)

Can't get it working with MediaWiki 1.34.0. Only a clickable link to the Twitter account will appear on the page.

01miki10 (talkcontribs)

Sorry for the late response, this page was not on my watchlist. Yes, the extension should work with 1.34.0. The link should be converted to timeline/tweet using Twitter's widget.js library when the page is being loaded.

Possible reasons why it wouldn't work:

  • JavaScript is disabled
  • Incorrect parameters, such as wrong ID
  • JS fails to load for some reason
There are no older topics