Topic on Project:Support desk

How to automatically create a page in another namespace for every mainspace page?

1
Iamabigwikinoob (talkcontribs)

Okay, so say I have a mainspace article called foo, and then I store data on foo in a namespace called spreadsheet, with a preloaded table and navigation boilerplate. Except, all the actual data is stored and sorted by year. here is the code of the page:

Spreadsheet:Foo/2008 would be created by clicking the "2008" link in the second table. But when I create a page in the main space called "Foo", I want Spreadsheet:Foo to be automatically created, so that there's a root page to make the year subpages from. The Preloader extension fills them all with the boilerplate in the collapsible panel, so Spreadsheet:Foo would mainly just serve the purpose of making it easier to categorize the year subpages, but it would just be annoying to have to manually create a second page for every main page.
If you're wondering how I manually edit that complex table, I don't, I use the WYSIWYG extension, so please don't advise me on that.

Reply to "How to automatically create a page in another namespace for every mainspace page?"