Commit graph

50 commits

Author SHA1 Message Date
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 ad70debaac css change . highlighting only the smaller label element looks better and not so alerting 2012-03-13 22:48:18 +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
Raimond Spekking 8900e3b1f1 Localisation updates for core and extension messages from translatewiki.net 2012-03-13 20:50:02 +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 4822adcaca follow up r113697 2012-03-13 00:38:27 +00:00
Thomas Gries 153063f3b7 follow up r113686 : added message documentation as requested. 2012-03-13 00:37:05 +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
Raimond Spekking a67f77fc58 Localisation updates for core and extension messages from translatewiki.net 2012-03-12 20:46:25 +00:00
Thomas Gries dd726ae7b6 follow up r113641 . making it backwards compatible: allow again everyone to vote by default as proposed by Ashley 2012-03-12 20:00:05 +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 ca9992ed07 typo corr 2012-03-12 18:16:22 +00:00
Thomas Gries 4ad087cd30 changing the default to nobody can vote. changing the English text to the more polite 'You are not entitled to vote' 2012-03-12 18:15:01 +00:00
Raimond Spekking d670b99b25 Localisation updates for core and extension messages from translatewiki.net 2012-03-11 20:39:18 +00:00
Raimond Spekking 5b0f04253a Localisation updates for core and extension messages from translatewiki.net 2012-03-10 22:57:43 +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 9128bfd1ed beautifying the tracking category name 2012-03-09 21:01:07 +00:00
Thomas Gries b0cc398bb9 follow up r113502 : escaped html tag brackets to make translaters happy 2012-03-09 19:51:41 +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
Raimond Spekking 8030557221 Localisation updates for core and extension messages from translatewiki.net 2012-03-08 20:35:25 +00:00
Raimond Spekking e9d073afd8 Localisation updates for core and extension messages from translatewiki.net 2012-03-07 21:06:01 +00:00
Raimond Spekking e047811907 Localisation updates for core and extension messages from translatewiki.net 2012-03-05 21:20:53 +00:00
Raimond Spekking c2a0cc2a2a Localisation updates for core and extension messages from translatewiki.net 2012-03-04 20:23:13 +00:00
Sam Reed 6cba21c57f Add some more __METHOD__ 2012-02-29 15:36:10 +00:00
Raimond Spekking 9c7a640abf Localisation updates for core and extension messages from translatewiki.net 2012-02-24 21:11:11 +00:00
Raimond Spekking b9f3e0b68a Localisation updates for extension messages from translatewiki.net
Core skipped today, conflicts with dupe messages... Will report on CR soon
2012-02-23 19:45:08 +00:00
Thomas Gries 2e6bcf6bd9 removed spurious yellow line in css stylesheet (display:none on load) 2012-02-22 19:07:58 +00:00
Raimond Spekking 980d127b25 Localisation updates for core and extension messages from translatewiki.net 2012-02-20 20:20:26 +00:00
Raimond Spekking 5cce646c68 Localisation updates for core and extension messages from translatewiki.net 2012-02-19 20:47:51 +00:00
Thomas Gries 445ebb808e Four-file version. Class moved to AJAXPoll_body.php 2012-02-19 19:31:24 +00:00
Thomas Gries 36fdb56e11 version number update 2012-02-19 17:25:22 +00:00
Thomas Gries 7164ae3bc9 wrapped into class AJAXPoll 2012-02-19 17:24:15 +00:00
Raimond Spekking d2afd14041 Localisation updates for core and extension messages from translatewiki.net 2012-02-18 20:41:29 +00:00
Thomas Gries 26d55ee8f8 code cosmetics and first step towards solution of my still to-do: fix the usage of , , and inside of a parser function. 2012-02-18 08:46:28 +00:00
Raimond Spekking d35a4c92fd Localisation updates for core and extension messages from translatewiki.net 2012-02-17 21:26:28 +00:00
Raimond Spekking 0320880cb4 r111696: Consistency tweaks in preparation for adding extension to translatewiki.net
* Add description message
* Move comments to message documentation section qqq
2012-02-17 14:57:54 +00:00
Thomas Gries 25ae0fd950 canged all class names and all message name prefixes from poll- to ajaxpoll- . jquerified everything what was possible. previous onmouseout- and onmouseover-event inline-code rewritten as two functions which will now be resued for all anwser divs. Still to do: use resourceloader; fix the usage of , , and inside of a parser function. 2012-02-16 22:55:06 +00:00
Thomas Gries 50c5d02c1d first step going jquery. changed all id and class names to be in conformity with css coding conventions lower-and-dashes. To-Do: more jQuery and refactoring html/jquery source code layout. (this version of the extension is working of course) 2012-02-16 07:59:32 +00:00
Thomas Gries 5d02237c8d follow-up r111623 . adding a newline 2012-02-16 06:29:38 +00:00
Thomas Gries f12204dad1 removing unnecessary db->addQuotes() wrappers as the extension uses standard select,update wrappers (usernames were added with quotes in the database). Breaking compatibility with older database entries of older polls. (this could be supplied in a one-time run of an updater (ToDo)). removing spaces in javascript inline. Declaring myself as maintainer of the extension. 2012-02-16 06:27:52 +00:00
Thomas Gries d217d8c942 bug fixed: marker for our own vote was not shown; green coloured border for our own vote; corrected German translation (AJAX poll extension is not in translatewiki.net for unknown reason). 2012-02-15 20:32:53 +00:00
Thomas Gries 7f932688e6 add path to ExtensionCredits so that the svn version is shown in Special:Version. BTW, this is a very neat extension. 2012-02-15 07:44:34 +00:00
Siebrand Mazeland ea6f213ff2 Rename no to nb (step 4/4): Change 'no' to 'nb' in remaining files. 2011-12-25 09:42:00 +00:00
Brion Vibber 804f94f3f9 Update a butt-ton of extension about URLs to point to https://www.mediawiki.org/ 2011-12-13 23:49:33 +00:00
Jack Phoenix 0798ccf8e1 adding AJAX Poll extension. JavaScript should be cleaned up (and maybe rewritten to use jQuery?) so that we can support ResourceLoader and functions in AJAXPoll.php should be moved into a new class instead of them being in the global scope. 2011-10-09 18:35:17 +00:00