WikiaLogger: pass new instance of an Exception
Moneitzation (MON-174): MonetizationModule - added maintenance script to set wiki factory variable.
Monetization (MON-174): MonetizationModule - updated maintenance script for setting wiki factory variable
Monetization (MON-175): MonetizationModule - updated request
adding Util::Assert and tests
better comment
added AssertionException, and moved Assert and AssertionException to a subfolder in the util directory
Merge pull request #4690 from Wikia/wfdebug-log-improved

WikiaLogger: pass new instance of an Exception
change to Assert:true
remove ErrorChecking part of namespace
(CE-1030) Add support for "stay logged in" to RestrictSessions

Adds support for the "stay logged in" login option to RestrictSessions.
This option sets a token cookie which is checked against the user's
current token to determine whether or not to restore the session data
from the cookie. This cookie is only set on the login request as part
of User::setCookies.

In this change, if the user is staff and this cookie is set and matches
the user token but the session isn't set, we set the current IP on the
session. IP changes on the current session will still prevent the
session from loading.

This change also prevents staff sessions from being restored from
just a session cookie. At present, the session can be restored from
just the session cookie, even if none of the user cookies set on
login are available.

In order to compare the cookie in a way that isn't vulnerable to timing
attacks, I backported the PHP 5.6 hash_equals function from the current
version of MediaWiki. This can also be used elsewhere if needed.
Merge pull request #4732 from Wikia/assertion-guidelines

adding Util::Assert and tests
allow image requests to specify a language, and default to teh current wiki language
Monetization (MON-174): MonetizationModule - renamed class
Escape funky image names
Merge pull request #4747 from Wikia/EscapeName

Escape funky image names
Merge pull request #4709 from Wikia/MON-174

Monetization (MON-174): MonetizationModule - added maintenance script to enable and disable the extension
Merge pull request #4746 from Wikia/vignette-lang

allow images to specify a language
Merge pull request #4716 from Wikia/MON-175

Monetization (MON-175): MonetizationModule - used Http::request() function
Merge pull request #4741 from Wikia/CE-1030

(CE-1030) Add support for "stay logged in" to RestrictSessions