Project:Procedure

Revision as of 20:22, 5 March 2024 by MLavazza (talk | contribs)

One-time

For each Ms or Ts

  • Upload files (PNGs and SVGs) using importImages.php: in wiki root directory run sudo php maintenance/importImages.php import --comment="{{Graphic}}" --summary="{{Graphic}}" --user="MLavazza" --limit=1
  • Generate description pages:
    • Download HTML source code of the relevant Ms or Ts and substitute single quotes
    • Create file descriptions.txt by running custom script process.php on local machine
  • Add description pages using pagefromfile.py: in ~/Documents/pywikibot/ run sudo python3 pwb.py pagefromfile -notitle -showdiff -force -putthrottle:2 -file:/home/michele/Documents/Nachlass\ Graphics\ website/Description\ files/pages.txt

Notes

  1. pywikibot installed in /home/michele/.local/bin