Commit graph

15 commits

Author SHA1 Message Date
Umherirrender 88d0b22359 Improve some parameter docs
Change-Id: I268aaa13d07985b0915774e83c487cd22568b161
2017-08-27 16:07:08 +02:00
Umherirrender f102194baf Add phpcs and make pass
Change-Id: I02b7f85f54ffaf8a1c9d5bed6fa20abb1627afe5
2017-05-31 16:36:45 +02:00
Fomafix 7a99c04ae5 Explicit convert the Message object to string
This prevents double HTML escaping of the messages.

Change-Id: Iafba3108490f56d20cf1fac15a43e8fe420fedc2
2016-12-28 13:51:39 +01:00
Fomafix 1a569b590b Convert PHP syntax from array() to []
Performed using:
find . -name \*.php -exec php ~/convert.php -w "{}" \;

Script from:
https://github.com/thomasbachem/php-short-array-syntax-converter

And convert syntax in comments manually.

Change-Id: I7ea9e57f9ab1250c8687885ad9e010771603bf78
2016-12-28 13:51:30 +01:00
niharika29 278e2549a9 Fix broken sorting on Special:GadgetUsage
Bug: T123659
Change-Id: Ib16e4d90f7025c94afb3e4e55dba8431c23ccf86
2016-01-22 15:17:30 +00:00
Ebrahim Byagowi 9d83fe939a i18n: Native digits on 'gadgetusage-intro'
Change-Id: I785ae348770065a9a77628938f7befd8cb72badb
2016-01-18 15:53:51 +00:00
Kaldari 01eb0ac9b9 Add more documentation to SpecialGadgetUsage::getQueryInfo()
Change-Id: I69dacb13034dd051534ff9d3700597f778f5bcb1
2015-12-18 14:48:40 -07:00
niharika29 75ae3558e7 Add a feature flag to turn off the 'active users' query on GadgetUsage
Currently takes >24 hours to complete on enwiki and thus isn't run
at all. Need a better optimised query. Until that happens, we can
turn it off on enwiki.

Bug: T121484
Change-Id: Idcf2a8a1cdf5ce4c2f6a631ef980be5a48ca547b
2015-12-18 19:30:45 +00:00
niharika29 0815999bec Append default gadgets to Special:GadgetUsage table with 'Default' in place of stats
Bug: T121133
Change-Id: I14cfb352d6dec9edfbb4d3ed7bd3e0545e4f1eab
2015-12-16 07:13:10 +00:00
niharika29 0c498ae7b6 Add column for active users to Special:GadgetUsage
Bug: T116894
Change-Id: Iea6db379064f7ea959a4f0f3d0010e92ea2f04a2
2015-12-07 19:53:33 +00:00
niharika29 ccfb869417 Remove non-existent gadgets from Special:GadgetUsage
Bug: T117120
Change-Id: I6590d625f9428b5df1e4d68d8f15e1ffc94dd324
2015-11-03 22:11:10 +00:00
niharika29 c23335fe5e Remove default gadgets from Special:GadgetUsage
The numbers for default gadgets are inconsistent and can be misleading.

Change-Id: Ib46084d617a536e4e25da80424ad70cec2a09f5a
2015-11-02 18:32:56 +00:00
Brian Wolff 246329b7fc Fix escaping in Special:GadgetUsage.
wfEscapeWikiText() is incorrect in this context. It escapes
HTML, but also escapes a whole bunch of other stuff that
is not needed here

Also: Prefer html::element for escaping, because it makes it
easier to see at a glance everything is escaped.

Change-Id: I91b0722ea98f1e20339c7e0aa839c1073b778ed5
2015-10-27 10:30:42 +00:00
Fomafix a6418d2749 Remove double whitespaces
Change-Id: Ic6c095c25b0ba80f9340254c36fc5fec911ce87d
2015-10-23 21:11:01 +00:00
niharika29 be8091a288 Add a special page to show number of users for each gadget on the wiki
Bug: T115152
Change-Id: Id1e245f8fdb2fc6a764682ae34937f35af24bd7c
2015-10-23 15:02:23 +00:00