Yuvipanda has submitted this change and it was merged.

Change subject: Normalize titles better
......................................................................


Normalize titles better

Change-Id: I57c8b775c910cc46114db63654f4a61d00fe8d4a
---
M mobile/deleted-uploads.py
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Yuvipanda: Verified; Looks good to me, approved



diff --git a/mobile/deleted-uploads.py b/mobile/deleted-uploads.py
index dbe0732..618fdb1 100644
--- a/mobile/deleted-uploads.py
+++ b/mobile/deleted-uploads.py
@@ -63,7 +63,7 @@
     cur.execute(dg.render(sql))
 
     for row in cur:
-        titles.append(row[0].replace("File:", ""))
+        titles.append(row[0].replace("File:", "").replace(" ", "_"))
 
     return titles
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I57c8b775c910cc46114db63654f4a61d00fe8d4a
Gerrit-PatchSet: 1
Gerrit-Project: analytics/limn-mobile-data
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>

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

Reply via email to