ImageKype

From igeek2
TipsImageKype
< Help:Tips
Jump to navigation Jump to search

Steps for getting images from old-to-new wiki:

(1) Create list of Files using DPL[edit | edit source]

<DPL>
   category=Memes-Dislike
   namespace=File
   notnamespace=Template
   order=ascending
   ordermethod = title
</DPL>

(2) Export MW metadata[edit | edit source]

(copy/paste that list into): https://igeek.com/Special:Export

(3) Command Line CURL the files[edit | edit source]

> Make Text File w/file list
> go to file path that you want the files to come in with
> Replace: File:
>> With: wait
>>     curl --silent -O -L https://igeek.com/w/index.php?title=Special:Redirect/file/
> Copy/Paste all those into the command line

(4) Fix the XML file[edit | edit source]

  • The files come in with the old category tree [[Memes-Subtopic]]
  • They need to be Search/Replaced (BBedit) to [[Memes/Topic/Subtopic]]

(5) Import the Pages[edit | edit source]

(6) Upload Files[edit | edit source]

(7) Add the Display Page/Tab[edit | edit source]

{{Small|[[Memes/Feedback/Dumb]]}}{{Show Memes|[[Category:Memes/Feedback/Dumb]]}}
<noinclude>
[[Category:Memes/Feedback]]
</noinclude>