Rewriting the CN UI (Part 1)

In this installment I introduce the new banner editor
based on HTMLForms. This patch relies on the following
core 1.22 patches to HTMLForm:

https://gerrit.wikimedia.org/r/#/c/55009/8
https://gerrit.wikimedia.org/r/#/c/59063/4
https://gerrit.wikimedia.org/r/#/c/59439/

Still to come in later installments:
- Inline frame previews of banners
- Banner archival
- Selection of banner mixins
- Campaign editor HTMLFormization

Change-Id: I02b1f7f5f5dff7e95528b7c55105f7447227b329
Localisation updates from http://translatewiki.net.

Change-Id: Ia8d2630493cd341ea0597d6e8a7abfabf1a4c470
Merge "Rewriting the CN UI (Part 1)"
Some Simple Cleanup in the CN Controller

Moved stuff around, code churn, that sorta thing...

We can now also declare device= for testing and variables
get populated for use on special pages.

Change-Id: Iad0cd606ee5bd392d81212b066eb92d9a9e52b1b
Banner preview is done in an iframe

Change-Id: I1baa8023d5439cee226a3d751c8402af15150c71
CentralNotice UI Message Handling ++Graceful

The edit field for missing messages will default to empty string, rather than the "<msg>" placeholders.

Messages pending approval are pulled from the correct namespace.

Change-Id: I079fe3f1289ddc865d25af8e29300ca0e0858f29
Localisation updates from http://translatewiki.net.

Change-Id: If65c857d0e3556cb024a2851b0fbce448ecb2fc8
Localisation updates from http://translatewiki.net.

Change-Id: Ife59bc5120e20b4a1af7b9a9053c9d8db23f4366
Localisation updates from http://translatewiki.net.

Change-Id: If0bf27dfc2cba72db4672bc1749f4d3df52e4f28
Make CentralNotice device aware

For time being only make it aware of iphone, ipad and android devices
(Mobile team currently wants to run campaigns for existing apps)
We can extend this in future to other devices

Bug: 47586

Change-Id: Ifbbd97830f0184eb843d616a7d2e70487169155c
Fixing some UI bugs

Links Everywhere!

Change-Id: I7e014020bddd1c06d4e25bf7d96b88134cacaf28
Forgot to Log Device Changes...

This patch makes sure we log CN device attachments to banners

Change-Id: I4218b224c4c25ea7a252ef3c75b04ab52d0dee28
stopgap so allocations doesn't melt down when banner logs are missing

Change-Id: I4d273c9b5a83a134a874a65a75267939dc9fb932
handle the empty case better

Change-Id: Ie1f5e46f7c9c02bd98b892103776a7098ecce7db
Merge "stopgap so allocations doesn't melt down when banner logs are missing"
Merge "handle the empty case better"
Translation Message Updates for CN

centralnotice-confirm-delete is deprecated and removed from translation
-- The only source file that uses it TemplatePager is itself being
   deprecated and is no longer used except as a base class. Child clases
   do not use this message.

centralnotice-start-date had Date vs. Date & Time translation issues so
it is now more clear hopefully.

Change-Id: I4ec594bf4a1b06aee3b028473f87566c4ab44073
Make Dialog Boxes Wider for TextBox

Width on the dialog is statically set because I cannot seem to figure out
how to dynamically size the dialog to the textbox, nor the textbox to the
dialog...

Change-Id: I38b7b5cb3d0fe9026e42f5b9e6f7d9505859edf2
Merge "Make Dialog Boxes Wider for TextBox"
CN Update to Master for HTMLFormUI

Head Commit: Make Dialog Boxes Wider for TextBox