Commit Graph

135 Commits

Author SHA1 Message Date
Alexander Yakovlev c399907598 Merge remote-tracking branch 'gitea/master' 2023-08-08 12:57:23 +06:00
Alexander Yakovlev fb631f238f edit installer name 2023-08-08 12:53:12 +06:00
Alexander Yakovlev 6e0fbbe050 Merge remote-tracking branch 'bitbucket/master' 2023-08-07 16:09:54 +06:00
Alexander Yakovlev d903805e69 Update code for MW 1.40 2023-08-06 11:24:45 +06:00
Alexander Yakovlev 26a1a64270 WIP new caches 2023-08-06 10:30:55 +06:00
Alexander Yakovlev ff6fefe914 update cache resetting code
disableCache() was removed in MW 1.35
2023-08-05 12:16:10 +06:00
Alexander Yakovlev 51a131272d add composer.json 2023-07-31 20:09:27 +06:00
Alexander Yakovlev 841fd5b4e9 composer package 2018-04-27 17:23:41 +07:00
Alexander Yakovlev b431c2f796 noprint class on ratings 2017-04-09 15:18:53 +07:00
Umherirrender bfd067c9fd Add grunt-jsonlint and grunt-banana-checker
jsonlint and banana-checker will test for valid i18n files

Bug: T94547
Change-Id: I20d48d27cbca48627a8009f68c5c293da4651b9c
2017-01-17 21:30:24 +01:00
Translation updater bot 220c862f7f Localisation updates from https://translatewiki.net.
Change-Id: I2a32abf7b2301dcdbdb865e629a3152f2f8f027d
2016-12-17 22:25:57 +01:00
Southparkfan f5596b4217 Optimize amount of SQL queries for Special:TopRatings
Put the SUM(vote_value) directly in a column, instead of executing separate
queries.

Change-Id: I9fbf6b836a6e149e1cd5b16567306997a18446ed
2016-11-14 11:08:26 -05:00
Chad Horohoe 81d9a5bdd6 Whoops, track not trace
Change-Id: Ie1ea2c14ce8ce62f6691f5fe067b798c2cb881a9
2016-10-24 17:04:06 -07:00
Chad Horohoe 1598467c3a Swapping defaultbranch for trace
The former is a maintenance nightmare when branching.

Bug:T146293
Change-Id: I865e113af6cfea3dd3fd955eb90da5b56a0241aa
2016-10-24 16:38:45 -07:00
Jack Phoenix 4d4bc6c15a Fix API calls in MW 1.26 so that voting works again
Kudos to legoktm for the fix!

Change-Id: Id3bffb6f8088699ac931bcadf4dfb5cac4e80ade
2016-08-31 12:05:34 +03:00
Translation updater bot c21ec6f461 Localisation updates from https://translatewiki.net.
Change-Id: Ifa015d0ed02a0e3774e886f52f0d8f22f1f827d0
2016-08-24 10:38:28 +02:00
Translation updater bot dc2427f0b8 Localisation updates from https://translatewiki.net.
Change-Id: I31f77fffca462d0666e3b1b3785ceba90f4135c1
2016-08-21 22:56:20 +02:00
Translation updater bot d7825dc005 Localisation updates from https://translatewiki.net.
Change-Id: I41b10c16eafc447b31c2194dde331b80b1d121bf
2016-08-20 22:43:33 +02:00
Translation updater bot a0a88e7989 Localisation updates from https://translatewiki.net.
Change-Id: I0505fe890f6b4b734cef69c9d91aea2d0f0787f6
2016-08-19 22:43:57 +02:00
jenkins-bot af99d58992 Merge "Version 2.8: extension registration support, replace AJAX stuff with an API module" 2016-08-18 18:07:33 +00:00
Jack Phoenix 1e23ff6a07 Version 2.8: extension registration support, replace AJAX stuff with an API module
Also some related cleanup (removal of wfProfile* stuff, etc.).

Change-Id: Id8a993e71ddca7bfbf3452725300167698ce3135
2016-08-09 05:14:02 +03:00
Translation updater bot d34c6c66b6 Localisation updates from https://translatewiki.net.
Change-Id: I0227ac05f881bc125dcd6cf5be00fc1d261db636
2016-07-30 22:33:48 +02:00
Translation updater bot 7dab9a57f7 Localisation updates from https://translatewiki.net.
Change-Id: I1a553ce138236afbd6b5bdf38f6248db45d99c17
2016-07-26 22:57:49 +02:00
Translation updater bot 78139d5c7a Localisation updates from https://translatewiki.net.
Change-Id: Ie239cfee0a4ba66e763124fb1b47316265b61460
2016-06-24 11:19:00 +02:00
Translation updater bot 65b8619ac4 Localisation updates from https://translatewiki.net.
Change-Id: I32cf9c15cb485fea08ddb1d639f4878bb5d69e69
2016-06-15 22:42:24 +02:00
Translation updater bot 9f54e77e0f Localisation updates from https://translatewiki.net.
Change-Id: I83266110904bf1a73cb0af48ee2ef862dfbab7be
2016-03-17 23:24:04 +01:00
Translation updater bot f25c5e9174 Localisation updates from https://translatewiki.net.
Change-Id: I1472755b0318a53a65589d20f5c5951e6b58b96f
2016-03-08 22:47:13 +01:00
Translation updater bot de5e74f742 Localisation updates from https://translatewiki.net.
Change-Id: Ib63b9a99ec6c2ce7330f84d3427bfd66cf28cbff
2016-03-05 23:01:55 +01:00
Translation updater bot 81cb941fe2 Localisation updates from https://translatewiki.net.
Change-Id: I2785630b8afc08d103c2cb197c4ee2a2f953444b
2016-03-02 23:41:33 +01:00
Translation updater bot 8bd8276185 Localisation updates from https://translatewiki.net.
Change-Id: Ib06dc049c766b33b83df78ea348ed0a7ef43f618
2016-03-01 22:05:21 +01:00
IoannisKydonis 86aa7537c7 Add PLURAL support for voteny-community-score
Thread:
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Voteny-community-score/en

Change-Id: Ia6d5e902792649d193f037c75f698ee62746614e
2016-01-22 13:04:23 +02:00
Aaron Schulz 071fc82354 Remove begin()/commit() calls that can break outer transactions
The single statements are already atomic and will commit at
the end of the request in commitMasterChanges().

Bug: T120791
Change-Id: I26ca27ee0c7e98488beddc2c801a981879f6958a
2015-12-08 14:36:04 -08:00
Translation updater bot 09cd0e3af0 Localisation updates from https://translatewiki.net.
Change-Id: I54ba14bc3e9ae96243dffa61e851e0b5dc4d5f09
2015-05-20 22:20:18 +02:00
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