Francesco Negri
b138bf3873
Create subtask for wikireplicas view creation
2024-12-20 13:11:29 +01:00
Amir Sarabadani
3af446ee71
new_wikis_handler: Adopt the checklist to make config patches
...
Reduces the chance of typos and oopsies
2024-12-13 19:27:39 +01:00
Tim Starling
ecb1d5e8f4
Update suggested commands for the new addWiki.php
...
* You can push the new configuration out everywhere, with the new DB in
preinstall.dblist, rather than pulling into a maintenance host. It's
probably slower but it will work with k8s.
* No need for dummy wiki or configuration details on the command line
* No need to run UpdateSearchIndexConfig after Ic6b2bda46b548a271ef5811
* Fix typo
Bug: T352113
2024-11-27 17:06:49 +11:00
MSantos
8b084a355b
Introduce Parsoid Read Views config as new post-creation step
...
* Add link to an example for how to enable parsoid read views
* Introduce Parsoid Read Views config as new post-creation step
Bug: T376827
2024-10-22 20:14:48 +00:00
Ladsgroup
973557299e
Merge branch 'zabe-master-patch-75214' into 'master'
...
Replace mwmaint1002 with "maintenance host"
See merge request ladsgroup/Phabricator-maintenance-bot!8
2024-08-21 11:12:00 +00:00
Pppery
ae681d3b6b
Add timezone, reorder
...
Per https://meta.wikimedia.org/wiki/User_talk:Ladsgroup#Consider_adding_more_info_to_new_wikis_handler.py
2024-08-20 19:53:43 -04:00
Zabe
77ceb41fc9
Replace mwmaint1002 with "maintenance host"
2024-07-10 22:20:48 +00:00
Amire80
d894935512
Add "Project name" to Phab task boilerplate
2024-07-08 17:05:08 +00:00
Ladsgroup
652751a2a4
new_wikis_handler: Add creating ticket for incubator import
2024-02-04 15:51:28 +00:00
MSantos
3f1c419893
new wikis: change tag to content-transform-team
2023-11-22 14:23:50 +00:00
Martin Urbanec
732a52052a
new wikis handler: No need to ask stewards for a wikiset
...
The global bot wikiset is now an opt-out one and lists wikis
that do NOT allow global bots, while previously it used to be
an opt in wikiset, including wikis that DO allow global bots.
Because of that change, no manual changes of the wikiset
should be required, and stewards do not need to change the global bots
wikiset in any way.
2023-11-01 22:44:56 +01:00
Amir Sarabadani
118444088f
new_wikis_handler: Adapt to the new paradigm of creating new wikis
...
Bug: T345230
2023-10-15 22:30:16 +02:00
Alexander Vorwerk
1c4f40ec17
Use sync-world durign wiki creation
...
we no longer need to sync file by file
2023-08-18 11:10:10 +02:00
Meno25
01301705c1
Update whitelist link ( #59 )
2023-03-25 12:52:27 +01:00
MarcoAurelio
344ab2c641
new_wikis_handler: Tag Countervandalism-Network instead of posting to Meta
...
On advice of CVN staff, and given that they're now using Phabricator to track their work, make the bot tag the post-creation Task with the CVN project instead of telling people to go to Meta and post to their talk page.
Tweaks re Stewards Noticeboard for Bot Policy activation.
2023-02-02 02:30:59 +01:00
MarcoAurelio
41fb56f9bc
new_wikis_handler: Modify wording about bot policy
...
See <https://meta.wikimedia.org/w/index.php?oldid=24449416#Global_bots >. BP is automatically enabled on all content wikis by default so there's no need to propose its implementation. Rather, we need to notify them that we've added the wiki to the wikiset and if they wish to opt-out, they shall have a local discussion and let us know.
2023-01-29 15:36:25 +01:00
Erik Bernhardson
4c9676579c
new_wikis_handler: Write Cirrus maint script output to log file
...
This script hasn't been working as expected lately, search indices are
not being created for the new wikis. Adding a bit to the command to
log the output into a file so it can be reviewed for errors
post-creation.
2023-01-10 11:53:00 -08:00
Amir Sarabadani
de1420c278
new_wikis_handler: Update puppet's apache path for special wikis
...
See T320890#8390951
2022-11-13 19:20:35 +01:00
Martin Urbanec
3e9e77e4f0
new_wikis_handler: Automatically tag post-creation task with platform-engineering
...
Discussed at
https://wikimedia.slack.com/archives/C01R06P8D1B/p1649147661951379 .
2022-04-05 11:59:54 +02:00
Amir Sarabadani
439c7716cc
new_wikis_handler: Fix post-creation checklist
...
This breaks the bot before it gets to wikistats/wikidata/pywikibot
2022-03-27 01:42:46 +01:00
Nintendofan885
dccae07688
Fix typo
...
wikiata_help_page -> wikidata_help_page
2022-03-25 20:04:10 +00:00
Martin Urbanec
4d427fafff
Merge pull request #37 from ZabeMath/patch-1
...
Replace deploy1001 with deployment host
2022-01-12 20:24:23 +01:00
Alexander Vorwerk
723dffe006
Replace deploy1002 with deployment host
2022-01-12 20:17:55 +01:00
Kunal Mehta
68add5a6dc
Update for consolidated db-production.php file
...
Bug: T260297
2021-12-23 15:52:51 -08:00
Amir Sarabadani
0b7f942ae9
Fix new_wiki_handler
2021-09-29 16:50:35 +02:00
Amir Sarabadani
39dee489ea
Migrate post-wiki-creation checklist to its own ticket
...
It has been confusing and causing all sorts of issues.
Bug: T279233
2021-07-24 09:01:53 +02:00
ZabeMath
7cc444a538
Replace deploy1001 with deploy1002
...
deploy1001 was decommissioned and was replace with deploy1002
2021-07-20 15:27:36 +02:00
Martin Urbanec
d06543b8c3
new_wiki_handler: Fix description
2021-03-16 11:00:28 +01:00
Martin Urbanec
4571490a53
new_wikis_handler: search index should be updated after sync-wikiversions
2021-03-16 10:57:54 +01:00
Martin Urbanec
d3d04b5fcd
new_wikis_handler: Add sync logos.php part
2021-02-22 13:17:35 +01:00
Amir Sarabadani
5cc8d091fe
More fixes
2020-12-20 17:30:28 +01:00
Amir Sarabadani
5c3e10ffd0
Make wikistats a parent ticket
...
Handling wikistats is blocked until the wiki is created, meaning this
would be a parent ticket of creating the wiki
2020-12-19 17:40:27 +01:00
Martin Urbanec
b20ad6cd31
Add handle_subticket_for_wikistats
2020-12-18 01:35:15 +01:00
MarcoAurelio
3058683000
new_wikis_handler: Inform CVN
2020-12-13 19:35:16 +01:00
MarcoAurelio
737ae7de87
new_wikis_handler.py: BPI implementation
2020-11-25 12:22:59 +01:00
Amir Sarabadani
6929f56b9b
Add creating parent tickets for new wiki creations
...
Bug: T253439
2020-10-08 04:39:10 +02:00
Amir Sarabadani
0c97322d2e
More improvements on new wikis handler
...
Preparing for the part of creating parent tasks.
2020-09-29 14:12:43 +02:00
Martin Urbanec
501463b05c
new_wikis_handler: Fix a typo
...
To avoid this:
[urbanecm@mwmaint2001 ~]$ mwscript extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php --wiki=arbcom_ruwiki --cluster=all
The MediaWiki script file "/srv/mediawiki/php-1.36.0-wmf.10/extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php" does not exist.
Lowercase "maintenance" seems to be the correct version.
2020-09-28 14:36:14 +02:00
Martin Urbanec
6cadc7147b
new_wikis_handler: Include UpdateSearchIndexConfig in creation instructions
...
Bug: T254331
2020-09-23 00:11:05 +02:00
Martin Urbanec
600ea016df
new_wiki_handler: For now, do not expect the wiki will be public
...
this can cause serious issues if unnoticed,
making the code to allow for passing visibility,
I'll fix the template etc. and make the code to fetch
the visibility from task soon.
2020-09-14 22:28:17 +02:00
Martin Urbanec
f086d0a15a
new_wiki_handler: Try to fix handle_analytics
2020-09-14 22:21:27 +02:00
Martin Urbanec
b2f86ee5f8
Disable handle_analytics for now
...
it throws a fatal error, will fix later
2020-09-14 21:54:55 +02:00
Amir Sarabadani
47c00f28ba
Make CX and Analytics patches too
2020-08-29 23:51:34 +02:00
Amir Sarabadani
bd6ee7e894
Clean up the new_wikis_handler.py code
...
Splitting large functions to smaller one, DRY, PEP8, ...
2020-08-29 21:53:23 +02:00
Amir Sarabadani
0617aa1b9b
Add ability to override dbname
...
Some wikis have a different dbname than what can be found from their
urls, like T246945
2020-08-24 19:40:42 +02:00
Amir Sarabadani
1d784027bb
Create subticket and patch for new wikis
...
Create DNS and Wikimedia Messages patches for the new wikis
Most of the gerrit code is copied from library upgrader library:
https://gerrit.wikimedia.org/r/plugins/gitiles/labs/libraryupgrader
Bug: T253439
2020-08-15 19:15:58 +02:00
Martin Urbanec
78113030dc
new_wikis_handler: Wikis with different shard s3 needs db-*.php to be synced too
2020-08-11 11:23:41 +02:00
Amir Sarabadani
e04aa3a936
Use the closed wikis on s5 for creating new wikis
2020-08-11 10:49:08 +02:00
Martin Urbanec
9b8c348e29
new_wikis_handler: Remove debug code
2020-08-02 18:48:16 +02:00
Martin Urbanec
7d1748b68d
new_wikis_handler: Do not assume wiki will be always created at s3
2020-08-02 18:45:41 +02:00