Club Penguin Archives

The Club Penguin Wiki Network was abandoned by its tech staff. This is a recreation of the original site. Your original CPWN account will not work here. Any issues, please contact Sky.

User:Lisured

From Club Penguin Archives
Jump to navigation Jump to search

Hi, I am Lisured. I occasionaly update this wiki, recently using AutoWikiBrowser.

Pastie

Add navbox group to category

  1. Get source of group
  2. Apply following regex replacement: (?:\{\{·\}\})?\[\[(.*?)(?:\|.*?)?\]\] for \1\n, manual fine-tuning of output may be required.
  3. Save to file
  4. Open file in AWB using Make listText file (UTF-8)

Autoupload music using pywikibot (bash)

for i in {766..768}; do
url="http://media1.clubpenguin.com/play/v2/content/global/music/$i.swf"
wget $url -O ../Music$i.swf
python pwb.py upload -keep ../Music$i.swf "== Source ==
* $url

== Licensing ==
{{Music}}

[[Category:Halloween Party 2014]]"
done

Autoupload rooms using pywikibot (bash)

for n in plaza park; do
url="http://media1.clubpenguin.com/play/v2/content/global/rooms/$n.swf"
name="../Rooms"`echo $n | sed -r 's/\<./\U&/g'`"-HalloweenParty2014.swf"
wget $url -O $name
python pwb.py upload -keep $name "== Source ==
* $url

== Licensing ==
{{Rooms}}

[[Category:Halloween Party 2014]]"
done