Jump to content

Project:Procedure: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 5: Line 5:


== For each Ms or Ts ==
== For each Ms or Ts ==
* Upload files (PNGs and SVGs) using [[mw:Manual:importImages.php|importImages.php]]
* Upload files (PNGs and SVGs) using [[mw:Manual:importImages.php|importImages.php]]: in wiki root directory run <code><nowiki>sudo php maintenance/importImages.php import --comment="{{Graphic}}" --summary="{{Graphic}}" --user="MLavazza" --limit=1</nowiki></code>
* Generate description pages:
* Generate description pages:
** Download HTML source cose of the relevant Ms or Ts and substitute single quotes
** Download HTML source code of the relevant Ms or Ts and substitute single quotes
** Create file <code>descriptions.txt</code> by running custom script <code>process.php</code> on local machine
** Create file <code>descriptions.txt</code> by running custom script <code>process.php</code> on local machine
* Add description pages using [[mw:Manual:Pywikibot/pagefromfile.py|pagefromfile.py]] (with <code>-appendbottom</code>)
* Add description pages using [[mw:Manual:Pywikibot/pagefromfile.py|pagefromfile.py]]: in <code>~/Documents/pywikibot/</code> run <code>sudo pwb pagefromfile -notitle -showdiff -force -file:/home/michele/Documents/Nachlass\ Graphics\ website/Description\ files/105.txt</code>


== Notes ==
== Notes ==
<references/>
<references/>