SMW 1.8 WIP
de-hardcoding a message for reuse
parsing message as it is wikitext
Merge branch 'dev' of github.com:Wikia/app into dev
PLA-1823 Disable Promote for non-staff

* Introduced new permission group ( promotedisabled )
* Rewired Promote to check for permissions to promotedisabled
* Introduced i18n message containing the informational text
* Removed AdminDashboard CSS asset
Replace thumbnail generation with vignette

Replace the thumbnail generation with vignette in the File abstraction.
This is more complicated than expected because the timestamp used to
store the archive file on disk is not the timestamp stored in the
oi_timestamp column in the oldimage table. The timestamp used on disk is
stored in the file name.
 - add getArchiveTimestamp to the file abstraction so we can extract
   the timestamp from the file name.
 - add isOld to the FileInterface to distinguish between archive
   images and current images
 - adjust the UrlGenerator to be aware of old vs not image so that
   the timestamp can be generated properly
 - add tests for the new behavior in UrlGenerator
Fix getUrl to return the UrlGenerator

All of the File urls should come from UrlGenerator.
Fix the anchor link to use the revision

Fix the anchor link to use the revision for the row it's currently
processing. This just means that we need to request the revision with
it's timestamp.
force master database connection during wiki creation process
Add the wrappers for the $wgEnableVignette flag

Add the wrappers for the $wgEnableVignette feature flag.
Include $wgEnableVignette in the local scope

Forgot to include $wgEnableVignette in the local scope for getUrl.
Extract integer from the beginning of archive name

Extract the integer from the beginning of archive name.

/cc @nmonterroso
Assert the revision doesn't change in archive file

Assert that the revision doesn't change when using an archive file. This
should be an error.

/cc @nmonterroso
Revert "Assert the revision doesn't change in archive file"

This reverts commit 682d78a39c49709698bbbf3d7ed527b2e2068445.
Remove revision()

Remove revision() from UrlGenerate. It shouldn't be needed. We should
only be toggling it when we are working with an archived version. In
which case we can set the revision using the FileInterface methods.

I also switched to using the built-in http_build_query to build the
query parameters.

/cc @nmonterroso
PLA-1941 adding de to article type languages
changes in HTTP codes returned by service and fix in PHPDoc
Return string-ified UrlGenerator in FIle::getUrl

Ensure backwards compatibility with the getUrl interface by returning
the string version of the UrlGenerator.
Fix core whitespace
Fix \Wikia\Vignette whitespace