Umherirrender
95852cb22b
Explicit cast TS_UNIX to int for arithmetic operations and int args
...
When the called function has a doc of int, it should be cast to be
explicit here.
Also cast for arithmetic operations to be explicit about the number
Change-Id: I905b78dfb66e66443e0e3203488bab5b548db543
2022-01-11 20:13:13 +01:00
TChin
47adb6d65a
Refactor global variables to use MediaWikiServices instead
...
Automatically refactors wg prefixed globals to use MediaWikiServices config using Rector. Doesn't include files that set globals or files that fail CI.
Rector Gist: https://gist.github.com/tchin25/7cc54f6d23aedef010b22e4dfbead228
* This patch uses a modified source code rector library for our specific use case and the rector will have different effects without it.
A writeup for future reference is here: https://meta.wikimedia.org/wiki/User:TChin_(WMF)/Using_Rector_On_MediaWiki
Change-Id: I1a691f01cd82e60bf41207d32501edb4b9835e37
2022-01-10 13:55:53 -05:00
jenkins-bot
63a306c9f6
Merge "Explicit return in ChannelFeed::formatTime() implementations"
2020-05-08 22:00:41 +00:00
Reedy
b75e99a325
Explicit return in ChannelFeed::formatTime() implementations
...
Change-Id: I8b33e9c28a12a5387b8ccce504027f681e917655
2020-05-08 21:32:12 +00:00
Umherirrender
a9c55726e0
Add missing public visibility on some methods
...
RSSFeed::formatTime and AtomFeed::formatTime are private
Change-Id: I6bf081c31c92e7130ae0ae527ba4a8f4635c7de2
2020-05-08 21:25:36 +00:00
Timo Tijhof
f575721a06
Update all use of $wgVersion to MW_VERSION
...
Follows-up I04628de4152dd5.
Bug: T212738
Change-Id: I718474ec0d9fd29ac2c05477f0f2493615d8aff5
2020-02-25 02:16:12 +00:00
Timo Tijhof
04e8493822
changes: Split Feed.php into a class per file
...
Change-Id: I1f11a52871dcb249b3ba790e484dd10fe8bb049f
2019-04-13 23:29:04 +00:00