Jack Phoenix
8762715a91
Allow star rating to be used outside of the page which has the <vote type=1 /> tag
...
This ability was removed in version 2.4 (r108076) in favor of using the
wgArticleId JS global, but doing so essentially broke things like the
ImageRating extension, which rely on knowing a "remote" page's ID since
wgArticleId is obviously 0 for special: pages.
Change-Id: I644cbd57c11114758f229ca052c51328513e59a1
2015-05-14 03:59:17 +03:00
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
Daniel A. R. Werner
1dcdc71935
Fix reverting a vote without reload
...
Before it would not work to vote up and immediately vote down again
without reloading the page inbetween. Also added some TODO for cleanin
up the JavaScript into a more reusable widget.
Refactored the code a little to use a constructor for CodeNY and moving
towards a widget architecture.
Change-Id: Ia45adec001f32daf42e076381e933a9ec2cffabf
2015-05-13 19:09:44 +03:00
Translation updater bot
aa2b8ddb35
Localisation updates from https://translatewiki.net .
...
Change-Id: I91d17f6ed68d8f1debc77cbc4cc1210d090fabdf
2015-03-23 22:12:40 +01:00
Translation updater bot
81fb8be312
Localisation updates from https://translatewiki.net .
...
Change-Id: I7f0f1d17a7e4cfbb79aae1992180969b74f602ef
2015-01-30 21:53:34 +01:00
Translation updater bot
d77cc0e45d
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic3cfd2c5241efa35cfccf1a9529d15b3516fcfab
2014-12-30 21:16:06 +01:00
Translation updater bot
78c9fd8fd0
Localisation updates from https://translatewiki.net .
...
Change-Id: I9c6676e50d58d760a3c9658ce9327a530cb2550b
2014-12-14 22:26:04 +01: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
Translation updater bot
c3075062e9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd80891b76c956b86ebbc78805e91097601358a5
2014-10-28 15:21:07 +01:00
Jack Phoenix
fbee1d034f
s/four spaces/one tab/g
...
Change-Id: Ide1006da6481d5bd1fec77a8e614a5c3848ed9c8
2014-09-21 20:06:34 +03:00
Jack Phoenix
727c6d790b
Use wgExtensionAssetsPath + mw.config.get() in the JS file
...
Change-Id: Ibeaa774ebd569e2883ba9e50c6a8140aadf82c4c
2014-09-21 20:03:50 +03:00
Jack Phoenix
7678ee7c4b
Ran stylize.php, manually fixed documentation, etc.
...
Change-Id: I8e684d00bf5142eff70d45d64e4c29cfc380749d
2014-09-21 20:00:51 +03:00
Jack Phoenix
89abe6bffb
Modernization
...
Change-Id: Ie8dce7c0dc3feb16ac5311d1e3fb88ce5933363a
2014-09-21 19:54:41 +03:00
Jack Phoenix
4775836933
Removing PHP i18n file
...
Change-Id: If6aeaffece83d86e3d296e9a2d761898c828edec
2014-09-21 19:47:09 +03:00
Translation updater bot
075db96be1
Localisation updates from https://translatewiki.net .
...
Change-Id: I0c49578acb0f3a51aae0a9becc14f36e44de87a1
2014-08-30 22:44:32 +02:00
addshore
6788f6efff
Remove use of deprecated wfGetIP()
...
Change-Id: Id08e2343e13ed9d3b729e19ec181cdce5602fe8a
2014-08-29 13:43:09 +01:00
jenkins-bot
793c08d1d7
Merge "Use public instead of var in classes"
2014-08-17 21:22:42 +00:00
addshore
af68d5a66c
Use public instead of var in classes
...
Change-Id: Ic6d8f1025d43c8844ca32e34a473dbe01851bd8e
2014-08-17 22:12:52 +01:00
Translation updater bot
815fb66025
Localisation updates from https://translatewiki.net .
...
Change-Id: I20827e28467a68c4fabc7e7eb10266af16c9b897
2014-08-17 23:12:48 +02:00
addshore
a5f0ec55be
Use __DIR__ in stub entry file
...
Change-Id: I47ff24e74e890b3e79be7a9965cc23176b05a6fa
2014-08-15 20:36:31 +01:00
Translation updater bot
349b7f5ba5
Localisation updates from https://translatewiki.net .
...
Change-Id: Iadbfb751d425e60bac6e1ea5df78c0d55b8147b7
2014-08-11 23:15:57 +02:00
Translation updater bot
2543f799ac
Localisation updates from https://translatewiki.net/ .
...
Change-Id: I97411033f28ea0cf174209c37712d4d6c447cb86
2014-08-09 18:13:59 +02:00
Siebrand Mazeland
a0812713f2
Change right "vote" to "voteny" to prevent key conflicts in L10n
...
Change-Id: Ifb33bf886204845c014abfbaadb536fde95bde4e
2014-08-09 17:56:27 +02:00
addshore
77c7a4e777
Create VoteNY entry file
...
The content of the old entry file has been moved to VoteNY.php
A stub Vote.php has been create including this file
Change-Id: I6d332486bdc97c7527218e0de18452a30be56e85
2014-08-07 16:08:01 +01:00
umherirrender
4c1935d888
Replace deprecated Title::escapeFullURL call
...
Change-Id: Ib5cf73ca6ecb1ea10ddbebf9cec6ee9973c72a7a
2014-06-28 08:21:42 +02:00
Translation updater bot
12596027a9
Localisation updates from https://translatewiki.net .
...
Change-Id: I8a640c211bdfa47f3ff3d0a130e2e87531380845
2014-05-19 19:47:41 +00:00
Translation updater bot
60fb655377
Update i18n shim
...
A performance issue was fixed in the shim(s) generated by
generateJsonI18n.php, so it needed to be updated.
Change-Id: I742244681d90ae186ee969dbe9a100ba8935e1c6
2014-04-22 13:52:35 +00:00
Translation updater bot
e95c1a73c0
Localisation updates from https://translatewiki.net .
...
Change-Id: I1a33d51f022dded1fb7a8a61af2f020d6ed72096
2014-04-16 18:15:53 +00:00
Siebrand Mazeland
78daf09112
Migrate to JSON i18n
...
Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.
Change-Id: I2f860d0f9772277bf54012bf293f626ed9a2f3e8
2014-04-01 16:47:55 +02:00
Translation updater bot
f9213bc380
Localisation updates from https://translatewiki.net .
...
Change-Id: If746b72cd088a1d41ac31b9770b4ce3a083e01a3
2014-03-28 19:41:40 +00:00
Translation updater bot
2bd3c70150
Localisation updates from https://translatewiki.net .
...
Change-Id: I1f99bc0926bc6ee1523696da6ea94f382f874ae6
2014-03-19 20:45:28 +00:00
Translation updater bot
45a42fbccf
Localisation updates from https://translatewiki.net .
...
Change-Id: I7645b3a1903b7cc2e6e5dd9a33d97164e39cdec8
2014-03-15 20:13:31 +00:00
Translation updater bot
3ff2932596
Localisation updates from https://translatewiki.net .
...
Change-Id: I0d40785e760683f00614ba363f42e947871b7e55
2014-03-10 21:30:03 +00:00
Translation updater bot
c161e9088e
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia65769e19de69034f7904e4d205796d48f3430ae
2014-02-09 20:18:18 +00:00
Toni Hermoso Pulido
573d8b4e0d
Fix translation problems in files
...
Change-Id: Ib5264d0ff9ad3aeabd9fc13dec277bf3878cc0ec
2014-02-09 13:36:30 +01: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
Translation updater bot
8126bf0ce3
Localisation updates from https://translatewiki.net .
...
Change-Id: I9f06f18ff8f390f612dae117e5272ede3029fe58
2014-01-08 20:39:20 +00:00
Translation updater bot
979f7af745
Localisation updates from https://translatewiki.net .
...
Change-Id: Id4bbe66d04ae995a06564cdee283dc1552b06a47
2014-01-03 20:45:56 +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
Translation updater bot
c0269be5b3
Localisation updates from http://translatewiki.net .
...
Change-Id: I43bab7e259e29f4498e6c5ff1c1e845dcd6c75f0
2013-11-04 20:01:56 +00:00
Translation updater bot
2250d3e2f6
Localisation updates from http://translatewiki.net .
...
Change-Id: Iffe7f920062ed3c74bb5cc977696a47655599e0a
2013-10-15 20:54:09 +00:00
Translation updater bot
f9606d482e
Localisation updates from http://translatewiki.net .
...
Change-Id: I048b56942492330456b6a92b55af28a8469de575
2013-10-14 09:31:52 +00:00
Translation updater bot
1bfdfb1e1d
Localisation updates from http://translatewiki.net .
...
Change-Id: I23efd532173cd1c1739bbcb307391921390e48ae
2013-10-08 19:09:11 +00:00
Translation updater bot
e87bc634c8
Localisation updates from http://translatewiki.net .
...
Change-Id: I5e8ffda3b5ccbe3784e5fbc483de669b00125cff
2013-10-08 01:02:20 +00:00
Translation updater bot
e37dd8f2ff
Localisation updates from http://translatewiki.net .
...
Change-Id: I016d004520766e2f98e08f2a91b3b99904ef7f5e
2013-09-07 20:05:27 +00:00
Translation updater bot
17e67eadcd
Localisation updates from http://translatewiki.net .
...
Change-Id: Iad0490b7e7175d7d9cd821224c3aa273dab36993
2013-09-05 20:30:20 +00:00
Translation updater bot
5081ddf892
Localisation updates from http://translatewiki.net .
...
Change-Id: Id1d3693e8506963728ea26470f69afdca950a344
2013-08-25 13:31:34 +00:00
Translation updater bot
24024330e2
Localisation updates from http://translatewiki.net .
...
Change-Id: Id91cfe85bd6414c42c47a1b5af5888988e401111
2013-08-09 19:49:43 +00:00
Jack Phoenix
907d789bf7
VoteNY: manually work around bug #46029 for now.
...
This is so that i18n for non-English languages will actually work.
Far from the ideal solution, since chances are TWN's automated scripts
will overwrite this when they are next run, but it's better than nothing.
Change-Id: I28967a3f4f4ea7040cf8ac7abb36c300a3873d13
2013-07-29 12:05:29 +03:00
Translation updater bot
414e1273c6
Localisation updates from http://translatewiki.net .
...
Change-Id: I354e57cf1fdf98cc0b01692863be7d5704898a62
2013-06-15 21:13:23 +00:00