Page MenuHomePhabricator

Explore the non-extension/skin options of patchdemo
Open, MediumPublic3 Estimated Story Points

Description

The goal of this exploration story is to write actionable stories based on the finding of the exploration.

The options to explore are:

  • Load image from Commons
  • Method for loading images from Commons
  • Landing page
  • Language Code
  • Proxy articles from wikipedia.org
  • Build core documentation
  • Enable temporary user account creation (IP Masking)

Each one of these options should get a phabricator task for the Catalyst API to expose these as options when creating a new mediawiki environment and hints about what the helm chart might need to do to implement them

Event Timeline

thcipriani triaged this task as Medium priority.Mon, Apr 29, 3:28 PM
thcipriani set the point value for this task to 3.
thcipriani edited projects, added Catalyst (MVP Eftersome 🥉); removed Catalyst.
thcipriani moved this task from Backlog to Ready on the Catalyst (MVP Eftersome 🥉) board.

Did a run-through of new.php in office hours, here's what we found it doing:

1# Backend stuff
2# -------------
3# 1. Get patches and related changes from gerrit and validate them, make $commands array
4# 2. Gather repo data from repository-lists/all.yaml
5# 3. find repos without master and if there is main, prefer main in $repoSpecificBranches
6# 4. updaterepos.sh to fetch latest of all known repos in patchdemo
7# 5. precheckout.sh Mkdir for wiki
8# 6. checkout.sh to checkout the repos (using repoSpecificBranches as needed), does git new worktree
9# 7. submodules.sh to fetch submodules
10# 8. applypatch.sh to apply patches that we fetched earlier in $commands
11# 9. composerinstall.sh to install composer dependencies
12# 10. install.sh
13# - create database
14# - runs maintenance/install.php
15# - setup localsettings.php
16# - create virtual host in apache
17# 11. postinstall.sh
18# - maintenance/update.php
19# - creates users
20# - perwiki sql setup
21# - Does docsbuild (if requested)
22# - ooui build
23# - codex build
24# - extension-specific users
25# - import xml dumps
26# - checks proxy, instantcommons, tempuser
27# - populate interwiki table
28# - changes mainpage
29# - recentchangecache
30# - site-stats
31# - logos
32# 12. Adds a comment to link phab task if one is given

Did a run-through of new.php in office hours, here's what we found it doing:

Thanks a lot for that!