Benutzer Diskussion:NetAction/WikiTrust/WikiPraise

aus Wikipedia, der freien Enzyklopädie
(Weitergeleitet von Benutzer Diskussion:NetAction/WikiTrust)
Letzter Kommentar: vor 10 Jahren von Jason Quinn in Abschnitt broken?
Zur Navigation springen Zur Suche springen
  • Deutsch: Bitte schreibt mir, was euch nicht passt.
  • Englisch: Please write down what you don't like.

Lizenz?[Quelltext bearbeiten]

Vorschlag/Idee: Da das Skript extern liegt, untersteht es ja nicht automatisch unseren Lizenzen hier. Magst du nicht vielleicht in den Kopf von https://toolserver.org/~netaction/wikitrust.js etwas wie in commons:MediaWiki:Gadget-HotCat.js schreiben? :-)

Viel bringt das Skript natürlich ohne den Server-Code nicht (außer für Codeschnipsel). Steht der unter einer freien Lizenz? Viele Grüße --Saibo (Δ) 06:18, 30. Jul. 2011 (CEST)Beantworten

WikiTrust soll unter der üblichen freien Lizenz in Wikipedia integriert werden. Federführend wird die Wikimedia Deutschland sein. Über die genaue Planung bin ich nicht informiert. Fragt bitte Wikimedia. Im Moment gibt es keine Freigabe dieses Scripts, damit der Wikimedia alle Optionen bezüglich Namensnennung offen stehen. -- NetAction 19:08, 1. Aug. 2011 (CEST)Beantworten
Ah, okay. Gut - in allen verhindern würde eine jetzige lizenzierung eine spätere Lizenzwahl nicht. Aber es macht es einfacher. Dann ist ja alles bestens und falls du inaktiv wirst geht dein Code nicht verloren, wenn die Lizenzierung noch ansteht. :) Viele Grüße --Saibo (Δ) 02:13, 2. Aug. 2011 (CEST)Beantworten

Fataler Vector-Fehler[Quelltext bearbeiten]

Ich als Vector-User habe einen Fehler entdeckt, der richtig stört. Du hast ja das hinzugefügt, was ich auch übernommen habe. Doch dann habe ich mich total erschreckt: auf einmal wurden einige Skinfeatures "deaktiviert". Angefangen von der Suchleiste, dessen Vorschläge wie bei Monobook angezeigt werden, bis hin zum Editor, der ohne Bedienleisten (aber mit wikiEd, weil ichs aktiviert habe) auskommen muss. Nach diesem schlimmen Anblick habe ich das quittiert. Und noch was: neuerdings fehlen fehlt auch das Schliessensymbol - man bekommt das aber zu. Bei der Autorenliste ist es aber da. VG, --IWorld@ 09:02, 8. Aug. 2011 (CEST)Beantworten

Danke für deinen Bericht. Hinter dem Befehl jQuery.isReady = true; steht ein komplexes Problem. Wikipedia enthält einen wilden Haufen an Scripten. Manche gehören zu Mediawiki, manche zu Vector, manche sind wikipedia-de-weit definiert, und wieder andere werden von den Usern selbst eingebunden. Leider besteht keine vernünftige Kontrolle, in welcher Reihenfolge die Teile ausgeführt werden. WikiTrust muss vor den meisten anderen laufen. Mit isReady = true bastele ich etwas zusammen, das einige Scripte aufhalten und später ausführen soll. Wie du siehst, funktioniert das nicht richtig. Für eine ordentliche Lösung sind Änderungen nötig, die mit einem UserScript nicht gehen. Ich versuche, mit den Admins eine Lösung zu finden. Noch einmal vielen Dank für den Test! -- NetAction 10:27, 8. Aug. 2011 (CEST)Beantworten
Der Fehler sollte mittlerweile behoben sein. -- NetAction 21:29, 30. Dez. 2011 (CET)Beantworten

question regarding using your script[Quelltext bearbeiten]

Hi,

My name is Rosta Farzan, I am a researcher at Carnegie Mellon University. We are developing tools for supporting faculty in classroom who would like to use Wikipedia as an assignment.

I would like to use your script for showing the contribution of editors, but I was wondering how difficult would be to change it in a way that would accept a particular list of users and shows that list in the author list instead of everyone or somehow highlight those in that list and also if I want it to be preloaded with showing the contribution of a particular user

I do appreciate your help.

You can do all this in the ManipulateOtherElements() function. Just delete the authors you do not need and trigger a click to the specific author you want to be highlighted.
$('#WikiTrustUsersList li').each(function(){
  if($(this).html()=="Alice") $(this).remove();
  if($(this).html()=="Bob") $(this).trigger('click');
}

-- NetAction

Feature suggestion[Quelltext bearbeiten]

Hi! Thanks a lot for the script. One small suggestion: it would be nice if the list of authors were sorted by the percentage of text they contributed to the current article version; most important author first, etc. Cheers, AxelBoldt 23:54, 30. Aug. 2011 (CEST)Beantworten

Thanks. I added this feature two weeks ago but forgot to mention it here. The current WikiTrust UserScript sorts the authors by the amount of text and includes a tooltip with the information how many letters have been written by the specific user. The box on the left side contains the number of letters of the specific revision. -- NetAction 13:40, 12. Sep. 2011 (CEST)Beantworten

WikiTrust/WikiPraise kommt nicht[Quelltext bearbeiten]

Bei mir lädt WikiTrust/WikiPraise nicht mehr. --IWorld@ 12:29, 28. Nov. 2011 (CET)Beantworten

Ich habe es repariert. Bitte installiere es gemäß der Anleitung mit holdReady. Wenn es wieder mal nicht geht, probiere Re:Wikipedia. Das funktioniert meistens. -- NetAction 03:28, 30. Dez. 2011 (CET)Beantworten
Danke, es geht wieder! Und ich habe es mit holdReady reinstalliert. --IWorld@ 11:38, 31. Dez. 2011 (CET)Beantworten
Oha, ohne diese Variable geht es wohl gar nicht mehr!? (wohl seit letzes Jahr nicht mehr benutzt :P) -- Perhelion 15:09, 19. Jan. 2012 (CET)Beantworten
Richtig. Durch holdReady wird die Reihenfolge der Scripte geändert. -- NetAction 15:12, 19. Jan. 2012 (CET)Beantworten

Feature request/bug about citations[Quelltext bearbeiten]

Thanks for the wikipraise script. The script currently assigns all the text in the references to the editor who inserted the reflist template. Can the behaviour be changed so each reference is associated with the editor who added the cite template/reference. Thanks. en:user:Staticd Staticd (Diskussion) 20:55, 9. Apr. 2012 (CEST)Beantworten

WikiPraise is based on CollaborativeTrust. This server does not put author information in the descriptions of references. I think it should be fixed there but nobody works on the code at the moment. -- NetAction (Diskussion) 19:25, 10. Apr. 2012 (CEST)Beantworten

Thanks Staticd (Diskussion) 09:55, 15. Apr. 2012 (CEST)Beantworten

lookup error not handled well[Quelltext bearbeiten]

On certain articles e.g. [en.wikipedia.org/wiki/Invasion_of_Tulagi_(May_1942)], the list of authors pane opens on the right hand side with the following error "Collaborativetrust server reported an error: "Revision not found in wikitrust_revision." Call: http://en.collaborativetrust.com/WikiTrust/RemoteAPI?method=wikimarkup&format=json&pageid=6236988&revid=490440365". The box containing this error cannot be closed unlike the "list of authors" box that is normally in this place. can the userscript be modified to deal with this bug so that the box always has a close button. thanks. Staticd (Diskussion) 11:52, 3. Mai 2012 (CEST) Beantworten

I am getting this error on nearly every page I edit. Is there a problem with the software? 87.194.34.196 19:20, 1. Okt. 2012 (CEST)Beantworten
I've just started using this script, and it's great for most articles. But I also get this message on some; so far every article I've edited gives me the error, and every article I've never edited does not give me the error. Mark L MacDonald (Diskussion) 17:20, 1. Mär. 2013 (CET)Beantworten

Wikipraise at Finnish Wikipedia[Quelltext bearbeiten]

Hi, i just like to notify that i got the Wikipraise / Wikitrust working and it is added to gadgets. Some notes about the installation. The Wikitrust server in running at my home server and here is some notes about the installation. ( Importing Wikipedia dump to MySQL (part1) and Install Wikitrust (part 2) ). SURE server is running at Kapsi which is finnish nerd web hosting community. I made also some changes to SURE and WikiPraise scripts. So some notes about them too.

Gadget-WikiPraise.js
  • mediaWiki.loader.load() doesn't work with Opera 12. No idea why it is broken.
  • added timeout for window.$.holdReady() in case of the error.
wikitrust.js.20120711
  • Added some AJAX error handling to release holdReady() in case of the error.
  • Finnish translation
  • Added revision edit summary to WikiTrustTooltip
  • Changed JSONP to plain JSON because JSONP have randomized/dynamical callback function names and JSON response can be static.
  • Added CTRL + click select for the userlist
Index.php.20120711
  • Access-Control-Allow-Origin: * -header for JSON
  • Added gzip compressing the output. Major speedup compared to uncompressed. However precompressed static JSON files in the filesystem would be twice as fast.
  • Changed file_get_contents to curl
  • Better wikitrust retry to get smaller delay when page is not found in Wikitrust database.

--Zache-test (Diskussion) 15:37, 11. Jul. 2012 (CEST)Beantworten

Wow that's great! Really fast. Fantastic. Thanks for your great documentation! -- NetAction (Diskussion) 18:43, 11. Jul. 2012 (CEST)Beantworten

wikipraise is broken[Quelltext bearbeiten]

Hi, this is just notification that Wikipraise is currently broken. Based on very quick look I think that $.holdReady(true); doesn't work anymore because: Calling this method after the ready event has already fired will have no effect..[1]. --Zache (Diskussion) 08:49, 30. Apr. 2013 (CEST)Beantworten

I just tried Wikipraise and couldn't get it to work. I get "WikiTrust Error loading". Anand QED (Diskussion) 07:38, 8. Mai 2013 (CEST) en:User talk:Anand QEDBeantworten

broken?[Quelltext bearbeiten]

All I get when I try this script is "WikiTrust Error loading". Ideas? I've tried in several browsers including ones with scripting and cookies allowed. Jason Quinn (Diskussion) 05:33, 11. Mai 2013 (CEST)Beantworten