Board Thread:Support Requests - Getting Technical/@comment-3271569-20130428132942/@comment-3271569-20130514155126

Sorry for the late reponse, I can't figure out the adjustment to the formule so I fear, I need to drop that script :(

Can you the example script on the w:c:dragoncity.

Secondly could you run another python script? The purpose of the script would be:

Create "Category:Dragons/ "
 * 1) Check if category exist, else create it
 * 2) Add this content to the article:
 * 3) Save the page
 * 4) "mwProtect-level-edit" = sysop (so fully secure the page)

Create "Category:Dragons/ / "
 * 1) Check if elema = elemb, else page will not be created
 * 2) Check if category exist, else create it
 * 3) Add this content to the article:
 * 4) Save the page
 * 5) "mwProtect-level-edit" = sysop (so fully secure the page)

Create "Category:Dragons/ / / "
 * 1) Check if elema = elemb = elemc, else page will not be created
 * 2) Check if category exist, else create it
 * 3) Add this content to the article:
 * 4) Save the page
 * 5) "mwProtect-level-edit" = sysop (so fully secure the page)

Elements:
 * Terra
 * Flame
 * Sea
 * Nature
 * Electric
 * Ice
 * Metal
 * Dark

Example:
 * 1) Terra


 * w:c:dragoncity:Category:Dragons/Terra/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Flame/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Sea/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Nature/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Electric/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Ice/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Metal
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Metal/Dark


 * w:c:dragoncity:Category:Dragons/Terra/Dark
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Flame
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Sea
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Nature
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Electric
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Ice
 * w:c:dragoncity:Category:Dragons/Terra/Dark/Metal