Jump to content

Topic on Extension talk:WikiLove

Wiki Love Icons not visible

1
Rkhmnk (talkcontribs)

Hi,

this may be a very old issue, but regardless what I configure in LocalSettings.php, no WikiLove icon is visible.

- My Wiki Server is behind a firewall, so I can't use $wgUseInstantCommons.

* Is this the issue? Is internet access needed?

- On the page itself, code inspector shows: {mw.user.options.set({"date":"mdy","editsectiononrightclick":"1","enotifminoredits":"1","rows":"31","showhiddencats":"1","thumbsize":"3","watchmoves":"1","searchNs0":"","gadget-Edittools":"","gadget-DotsSyntaxHighlighter":"","timecorrection":"ZoneInfo|-240|America/New_York","usebetatoolbar":"1","usebetatoolbar-cgd":"1","wikieditor-preview":"1","wikilove-enabled":"1"});})

* is that telling me that WikiLove is enabled (I guess yes).

- I can't find any entry on that page which gives me a hint about a WikiLove image/icon.

What else can I check?

I use:

  • MediaWiki 1.25.2
  • WikiLove 1.3.0

Thanks.

Update: I did some tests debugging the WikiLove code. Here the results:

- in function: beforePageDisplay( $out, $skin )

* $skin->getTitle() returns 'Talk:<username>', which looks good.

* $skin->getUser() returns my username, good as well.

* $title is: "The username is not valid."

What can be wrong?

If I switch to my own Talk page, $title is: "You cannot send WikiLove to yourself. Sorry!"

In this case it looks like it works correct.

Thanks,

Reply to "Wiki Love Icons not visible"