1
0
Fork 0
mirror of https://bitbucket.org/vertlach/iusethis.git synced 2024-06-26 03:50:48 +03:00
Commit graph

9 commits

Author SHA1 Message Date
Jack Phoenix 33f5015197 Version 2.7: various JS fixes and stuff
* CSS and JS are now separate RL modules
* JS rewritten to use jQuery instead of sajax
* Fixed a scoping bug from the previous patchset
* Fixed other scoping bugs so that you can revoke your vote w/o reloading the page, no matter what
* JS module is not loaded for users w/o the 'voteny' user right
* JS is not loaded on Special:TopRatings anymore, it was only loaded there ever back when this extension had inline JS to prevent over 9000 JS errors, plus it wouldn't have worked because wgArticleId is 0 for special pages
* Special page alias file added

Change-Id: I6668238a0ab6272b0a7b3b167832ebb2d3abe2c2
2015-05-14 00:00:34 +03:00
umherirrender 3a86d86bc2 Use Parser::SFH_NO_HASH class const
Instead of the global const

Change-Id: Iea2b72ab5d7d18cf9c198af1a2a71b6670331d2f
2014-11-18 19:31:56 +01:00
Jack Phoenix 7678ee7c4b Ran stylize.php, manually fixed documentation, etc.
Change-Id: I8e684d00bf5142eff70d45d64e4c29cfc380749d
2014-09-21 20:00:51 +03:00
UltrasonicNXT 2eb2ad2057 Add {{NUMBEROFVOTESPAGE}}
With an optional parameter for the page to check the number of votes for.
Partially copied from the {{NUMBEROFVOTES}} and Comments'
{{NUMBEROFCOMMENTSPAGE}}

Change-Id: Ia19f63fe5894a407ad5826720199b9e24d141951
2014-02-08 22:13:54 +00:00
saper 5daeba21b7 PostgreSQL support for VoteNY
Use integer value for votes to count averages.

Initial contributor: Sebastian Fiedler <basti@unix-solution.de>

Bug: 51441

Change-Id: I9c09b84d3652449d3328586332c636a7a676273a
2013-12-01 00:27:55 +01:00
MarkAHershberger 836963a1b5 Make it work even on imports when title is null.
Change-Id: I75acf8860d15f5f47f16e1f35a5ea07cc88bac85
2013-05-10 22:54:21 -04:00
Siebrand Mazeland a7aea465ae Remove use of deprecated LanguageGetMagic hook.
Update $wgExtensionCredits here and there, renamed descriptionmsg key for UKGeocodingForMaps.
Remove a few globals that were used for magic words.
Trim trailing whitespace and update indentation in a few places.
Updated examples.
2012-01-19 14:02:15 +00:00
Jack Phoenix a3c82a518b VoteNY: actually make this work under 1.18+, not just in ResourceLoader's debug mode.
Changelist:
*removed backwards-compatibility code
*used HTML5 data attributes to store various information that we access in the JS file
*incremented the extension's version number
*removed ancient vote key stuff (the "vote key" was being passed to the AJAX function but it wasn't used in any of the functions)
*updated Linker class, that class is now static
*killd $wgTitle

Some things are now a bit slower, i.e. if you click on the green voting box, then click again when the unvote link appears, it doesn't seem to change back to "vote" again...but at least it should work now.
2012-01-04 19:51:44 +00:00
Jack Phoenix ae507a6ca3 phase II social tools: VoteNY. Tested and built against MW 1.16.0. Can be used without the core social tools package (SocialProfile extension). 2011-09-14 15:26:09 +00:00