So, right now, when we have a broken link in a page, it gets rendered like this:
<a class="new" href="index.php?title=New_page&action=edit"> New page </a>
The problem here is that we're not differentiating between creating a new page and editing an existing page. It's uncommon but not impossible that someone creates [[New page]] while I'm looking at this link, and when I click it to start a new page, there's text in the textarea.
IWBNI we had a *different* action for creating new pages than for editing existing pages.
<a class="new" href="index.php?title=New_page&action=new"> New page </a>
On getting action new, we could do things like:
* Show the page, if it's been created since the person fetched the referring page. * Show some set of instructions on how (or why) to start a new page, and give some other possibilities (I think the [[meta:new page page]] discusses this). * Do some cool functionality, like _new_page_templates_ (create new pages with some existing format already filled in).
But we can't do anything interesting with new pages unless we know they're new pages. So, I'd like to change action=edit to action=new for broken links.
Sound OK?
~ESP
wikitech-l@lists.wikimedia.org