Extension talk:WikiLove

Jump to navigation Jump to search

About this board

See also talk:WikiLove 1.0.


Required line in LocalSettings.php?

1
AhmadF.Cheema (talkcontribs)

For some reason this extension works for me when I use:

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

instead of:

wfLoadExtension( 'WikiLove' );

even though I am using MediaWiki 1.26.2. Otherwise my Wiki gets broken.

Reply to "Required line in LocalSettings.php?"
This post was hidden by 166.176.59.136 (history)
Reach Out to the Truth (talkcontribs)

The WikiLove form started displaying the licensing text in r101548. I've checked out that exact revision and enabled the extension, and it works perfectly for me. I then updated to the latest revision, and it still works (though I've discovered another issue unrelated to this one). I'm not sure why that's not working for you.

Navigate to MediaWiki:Wikilove-terms-link and MediaWiki:Wikilove-terms-url on your wiki. What is on those pages? It should be the same text as on this wiki.

96.35.42.62 (talkcontribs)
Reach Out to the Truth (talkcontribs)

Then it should work. Hm.

96.35.42.62 (talkcontribs)

It's still not working for me. Shouldn't "terms" be a link to something? 96.35.42.62 13:58, 10 December 2011 (UTC)

Reach Out to the Truth (talkcontribs)

No, the software is supposed to do the work of creating the link from the text in wikilove-terms-link and the URL in wikilove-terms-url. The messages are the same here, and you can see it works on this wiki. The content of the messages aren't the issue here.

Maybe rebuild messages? I don't know if it will work, but it's worth a shot.

Reply to "Possible bug or oversight"

How do I allow only moderators/admins to give wikilove ?

1
This post was hidden by 166.176.59.136 (history)
Reply to "How do I allow only moderators/admins to give wikilove ?"
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"

Please add 'Socratic Barnstar' to menu

2
Lklundin (talkcontribs)

A couple of days ago I [https://en.wikipedia.org/w/index.php?title=User_talk:Iryna_Harpy&diff=prev&oldid=667469188 gave] a user the 'Socratic Barnstar'.

I had expected to do so via the 'Wikilove' button on the Talk page, but as far as I can see the barnstar in question is not listed on the menu in the pop-up window.

Would it be possible to add this barnstar to the menu?

Thanks, ~~~~

He7d3r (talkcontribs)
Reply to "Please add 'Socratic Barnstar' to menu"
Pablocardellino (talkcontribs)

Hi, I've installed the extension, run the update (through the web, since I have no root access) and the extension seems to be working: at least, the checkbox in preferences appears. But if I check the box, as I visit an user page the server returns nothing. Other pages are ok.

THe production wiki is MW 1.19.11, but I have a local installation for tests wich works fine, and it's 1.24.

Does anybody knows if this is a known problem and how to make the extension run?

Pablocardellino (talkcontribs)

I've found the answer myself: the current version is MW 1.20+ compatible. So, I just used a previous version, compatible with the MW 1.19 version, wich is about to be updated, anyway. Now WikiLove is working.

Reply to "Not working in MW 1.19.11"
Sebculture (talkcontribs)

I would love to give some love to an editor for a particular action. For example I would love to give a quick "thanks" to a revision directly inside the history of the page.

For example, I made some changes yesterday on and someone corrected a typo error here by user Pom445. I would love to give him a quick "thank you" for that simple action.

I think that the WikiLove button is great, but it's more something for big actions. In real life, using the "Wikilove" button for a syntax error would be like buying flowers for someone who picked up a coin you lost in the street.

He7d3r (talkcontribs)

+1

ACVVisitor (talkcontribs)

I would love to have a simple "Thank you" Button at the Bottom of all pages. Showing a hide-able lists of users that have said thank you. Sometimes it's nice to know that people found the information useful on a page.

SPage (WMF) (talkcontribs)

Extension:Thanks lets you do this, building on top of the new Echo notifications system! Coming soon, I think.

Daisy Londa (talkcontribs)

oh

Reply to "Wiki - Thank You - Button"
Whym (talkcontribs)

It might be obvious or answered somewhere, but I couldn't find the answer, so I'm asking... Is the default WikiLove.js compatible with CC-BY-SA so that we can copy and modify it on Wikimedia Wikis?

It is my understanding that as stated in Extension:WikiLove WikiLove is distributed under GPL. If that applies to WikiLove.js, it might make reusing difficult. Because GPL is incompatible with CC-BY-SA, I think it violates the license of WikiLove if you copy the deafult WikiLove.js to a CC-BY-SA wiki, like Wikipedia.

He7d3r (talkcontribs)

Good point.

Whym (talkcontribs)

If such incompatibility does exist, I'd suggest to put the js file in public domain.

Kaldari (talkcontribs)

The license has been changed to MIT, which should be compatible with CC-BY-SA.

Whym (talkcontribs)

Thank you, Kaldari. That would help localizing WikiLove in Wikimedia wikis a lot.

He7d3r (talkcontribs)
Kaldari (talkcontribs)

Ack, I guess that doesn't work then. Since I'm personally the author of that file, I hereby dual-license it as MIT and CC-Zero. I'll add a note to the file to that affect at some point. Kaldari (talk) 23:02, 28 September 2012 (UTC)

Reply to "Reusing the default WikiLove.js"
Yutsi (talkcontribs)

I noticed that there was no pizza template, which upset me (I love pizza), so I made one over at w:Template:Pizzapie. I was wondering if it would be possible to incorporate it into WikiLove; I believe that it could become quite popular. ;)

Reply to "Pizza"
He7d3r (talkcontribs)

Does this extension works with Extension:LiquidThreads which is in use on Portuguese Wikibooks? Is there any chance of testing the compatibility of both extensions on test.wikipedia?

Reply to "WikiLove and LQT"