Amir Sarabadani
b6c2caf11d
Set default of sleep time in populateChangeTagDef to zero
...
The script already has waitForReplication(), that's good for non-WMF setups
Bug: T206568
Change-Id: I020a4472796eeff2561da6c17a817091d4e9af5a
2018-12-15 17:44:14 +00:00
Amir Sarabadani
02a930d7fb
Drop $wgChangeTagsSchemaMigrationStage
...
Bug: T194163
Change-Id: Ieb6cc60cacf9dd0d86641b1be817249cdce42112
2018-11-28 23:03:41 +01:00
Amir Sarabadani
8ebb1c166b
Add part to update ctd_user_defined in populateChangeTagDef
...
Change-Id: I8fa3fa95b259ed82e78f4c3de0f5e148c3586407
2018-09-11 11:19:57 +02:00
Amir Sarabadani
da9d5c2188
Schema change for reading ct_tag_id instead of ct_tag
...
Adding unique index on ct_tag_id and making indexes on ct_tag non unique
Bug: T193874
Change-Id: I24609c57e47308d1330a97527f4ea374d0d307ba
2018-09-04 19:29:48 +02:00
Amir Sarabadani
3ea30167fb
Add option to populateChangeTagDef not to update the count
...
I need this when I'm picking this up to continue populating
Change-Id: I52c74d3c1c59ee966027d5d9cb1a2bd3cf6dfc7a
2018-08-15 14:15:51 +00:00
Amir Sarabadani
501d31060e
Append new line character to output of populateChangeTagDef.php
...
Right now, I run it in prod and it's basically useless
Change-Id: Ieb11884c3e9243df3058118cf2d581e715892595
2018-07-05 17:11:29 +02:00
Amir Sarabadani
4493944510
Add some output for progress in populateChangeTagDef.php
...
I ran it on beta cluster and all was done without one single line of output
Bug: T193871
Change-Id: I05a7c7827203eb159b5845a874b94d74f5d5e299
2018-06-25 17:38:58 +02:00
Amir Sarabadani
cfa0717d4a
Move lbFactory defintion from construct to execute in populateChangeTagDef
...
It seems the class doesn't load needed classes in construct so we get
Uncaught Error: Class 'MediaWiki\MediaWikiServices' not found
Bug: T193871
Change-Id: I0d6a49232cbc256a34ab49e8a4e41f6cc942fe4b
2018-06-18 18:34:48 +02:00
Amir Sarabadani
f1e450564f
Add maintenance to populate change_tag_def table and ct_tag_id field
...
Bug: T193871
Change-Id: I5e863ffcfad5f2b66fb8d50666494acae3480d1a
2018-06-15 17:57:27 +02:00