Project:Procedure: Difference between revisions

no edit summary
(Created page with "== One-time == * Remove subdirectories of directory <code>images</code> (see $wgHashedUploadDirectory) * Configure User:Nachlass Graphics Bot == For each Ms or Ts == * Upload files (PNGs and SVGs) using importImages.php * Generate description pages: ** Download HTML source cose of the relevant Ms or Ts and substitute single quotes ** Create file <code>descriptions.txt</code> by running custom scr...")
 
No edit summary
Line 1: Line 1:
== One-time ==
== One-time ==


* Remove subdirectories of directory <code>images</code> (see [[mw:Manual:$wgHashedUploadDirectory|$wgHashedUploadDirectory]])
* Remove subdirectories of directory <code>images</code> (see [[mw:Manual:$wgHashedUploadDirectory|$wgHashedUploadDirectory]]) '''Done'''
* Configure [[User:Nachlass Graphics Bot]]
* Configure [[User:Nachlass Graphics Bot]]<ref>pywikibot installed in <code>/home/michele/.local/bin</code></ref> '''Done'''


== For each Ms or Ts ==
== For each Ms or Ts ==
Line 10: Line 10:
** 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]] (with <code>-appendbottom</code>)
== Notes ==
<references/>