User talk:The Transhumanist/Cat2List.js


 * I'm using this page as a workspace. The talk page portion of it starts at, below.

(Script under development - not yet functional)

When completed, this script will take a single category, copy its article entries to a new list page, format them as list items, and then add the appropriate top and bottom material to the page.

= Script's workshop =
 * This is the work area for developing the script and its documentation. The talk page portion of this page starts at, below.

Description / instruction manual
(Script under development - not yet functional)

Cat2List = Copy and convert category to list.

When completed, this script will take a single category, copy its article entries to a new list page, format them as list items, and then add the appropriate top and bottom material to the page.

Development notes
How does AWB make a list from a category?

This script needs to check for an existing list of the same name, first in the main namespace, then in draftspace.

If there is no such list, then it should create one.

It then scrapes the category page's html for li elements and saves those to an array.

From the array it copies them onto the new list page.

Then it adds the appropriate top and bottom material to the page.

When done, remove the title from the list wishlist, if it is there.

Script dependencies
= Discussions =