Commit graph

22 commits

Author SHA1 Message Date
Thomas Gries f7533800ee removed the redundant code for handling tracking categories. By using '-' for the message text ajaxpoll-tracking-category , this can be disabled easily. 2012-03-19 18:45:57 +00:00
Thomas Gries bc93f4845b best version ever: fully jqueryfied. repaired non-ajax mode for wikis with wgUseAjax false 2012-03-17 21:13:10 +00:00
Thomas Gries 1aead3f25e making corresponding change as a follow up r114050 2012-03-17 08:59:18 +00:00
Thomas Gries b87b382f2f code cosmetics. jquery improvements. 2012-03-15 07:46:55 +00:00
Thomas Gries 5be0d48bfe follow up r113839 fixes the initial database creation problem. relies on r113862 . 2012-03-14 21:43:56 +00:00
Thomas Gries f52b0c916a follow up r113837 oops, i forgot to make the corresponding database changes in the code 2012-03-14 20:28:16 +00:00
Thomas Gries 1292f3b142 version 1.72 -- schema change. database rename . dropping an unused table field. follow up r113772 2012-03-14 20:19:16 +00:00
Thomas Gries 999f2e067f follow up r113772 . getText() changed to getPrefixedText() in order to store the full page name in the database for admins convenience. It does not influence the voting and rendering of polls, because this value is never read. 2012-03-14 07:18:14 +00:00
Thomas Gries 2ff68e3efe follow up r113554 . fixing a regression which was introduced in r113554. Making now all all ids unique even when you have several polls on a mw page. using, new, the resourceloader to load common methods. just a little bit ... more of jquery. fixing a forgotten wgParser to parser variable problem. introducing and moving js and css to resources. 2012-03-13 22:31:46 +00:00
Thomas Gries a213ded538 follow up r113686 . correction of algorithm for voting for the last answer, this was wrongly treated as revoke action 2012-03-13 01:04:59 +00:00
Thomas Gries 632fd5befc added method for votersto revoke their vote. 2012-03-12 23:56:59 +00:00
Thomas Gries 3efd345740 code cosmetics: master dbw, slave dbr names 2012-03-12 22:13:51 +00:00
Thomas Gries ac7f0e1401 The unique poll-id (hash) is now invisibly with color=background-color placed into the lower right corner of the poll div. This allows admins an easier maintainance of polls, if this is needed. 2012-03-12 18:26:50 +00:00
Thomas Gries 83ce31afac follow up r113554 . forgot - and fixed now - the server-side check of the ajaxpoll-vote permission. For viewers without voting permission it does not make sense to check one of the radio buttons, buttons are now unchecked on load. 2012-03-10 11:36:01 +00:00
Thomas Gries 954938f70f fix enhancement bug35118 . add new user right ajaxpoll-vote 2012-03-10 09:26:52 +00:00
Thomas Gries 8c5275bfb9 follow up r113502 . Using also here the correct parser as passed as parameter. thanks to everyone who help, I overlooked that. Please bear with me - that extension was not written initially by me. 2012-03-09 23:24:38 +00:00
Thomas Gries c9f9a68588 follow up r113503 - correction 2012-03-09 19:27:55 +00:00
Thomas Gries 5537c8dfca follow up r113502 - readded method by reedy. Lost despite of using svn up, how can this happen? 2012-03-09 19:26:20 +00:00
Thomas Gries aa21f9774c add tracking category feature (enabled by default). Each page using this extensions get automatically the tracking category with MediaWiki:Ajaxpoll-tracking-category name (= Poll). Tracking-Cat-Feature can be disabled, or a different MediaWiki message text can be assigned. Documentation of the switch is inline and follows on MediaWiki. 2012-03-09 19:23:28 +00:00
Sam Reed 6cba21c57f Add some more __METHOD__ 2012-02-29 15:36:10 +00:00
Thomas Gries 2e6bcf6bd9 removed spurious yellow line in css stylesheet (display:none on load) 2012-02-22 19:07:58 +00:00
Thomas Gries 445ebb808e Four-file version. Class moved to AJAXPoll_body.php 2012-02-19 19:31:24 +00:00