Rush has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/363851 )

Change subject: Add ar_content_format and ar_content_model to labs views
......................................................................


Add ar_content_format and ar_content_model to labs views

Bug: T89741
Change-Id: Ie6bbe2c416b3569603c25082ba971b3022e30d5c
---
M modules/role/templates/labs/db/views/maintain-views.yaml
1 file changed, 4 insertions(+), 2 deletions(-)

Approvals:
  Brian Wolff: Looks good to me, but someone else must approve
  Rush: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/role/templates/labs/db/views/maintain-views.yaml 
b/modules/role/templates/labs/db/views/maintain-views.yaml
index 4bca8fa..92c42bb 100644
--- a/modules/role/templates/labs/db/views/maintain-views.yaml
+++ b/modules/role/templates/labs/db/views/maintain-views.yaml
@@ -217,14 +217,16 @@
       if(ar_deleted&4,null,ar_user) as ar_user, 
if(ar_deleted&4,null,ar_user_text) as
       ar_user_text, ar_timestamp, ar_minor_edit, ar_flags, ar_rev_id, 
if(ar_deleted&1,null,ar_text_id)
       as ar_text_id, ar_deleted, if(ar_deleted&1,null,ar_len) as ar_len, 
ar_page_id, ar_parent_id,
-      if(ar_deleted&1,null,ar_sha1) as ar_sha1
+      if(ar_deleted&1,null,ar_sha1) as ar_sha1, 
if(ar_deleted&1,null,ar_content_model) as ar_content_model,
+      if(ar_deleted&1,null,ar_content_format) as ar_content_format
   archive_userindex:
     source: archive
     view: >
       select ar_id, ar_namespace, ar_title, NULL as ar_text, NULL as 
ar_comment, ar_user,
       ar_user_text, ar_timestamp, ar_minor_edit, ar_flags, ar_rev_id, 
if(ar_deleted&1,null,ar_text_id)
       as ar_text_id, ar_deleted, if(ar_deleted&1,null,ar_len) as ar_len, 
ar_page_id, ar_parent_id,
-      if(ar_deleted&1,null,ar_sha1) as ar_sha1
+      if(ar_deleted&1,null,ar_sha1) as ar_sha1, 
if(ar_deleted&1,null,ar_content_model) as ar_content_model,
+      if(ar_deleted&1,null,ar_content_format) as ar_content_format
     where: (ar_deleted&4)=0
   ep_courses:
     source: ep_courses

-- 
To view, visit https://gerrit.wikimedia.org/r/363851
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie6bbe2c416b3569603c25082ba971b3022e30d5c
Gerrit-PatchSet: 11
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Brian Wolff <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Marostegui <[email protected]>
Gerrit-Reviewer: Rush <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to