Heh... I thought he said something about it being editredlink, not
&action=edit&redlink=1, ok, that's fine... It'll just end up as
&action=create&redlink=1 instead, and the title will be a suggest not hard.
Hmmm... actually, perhaps we should add a bit more restriction to
&redlink=1.
It's quite possible for someone to click a redlink after a page has
already been created. And when someone clicks a redlink to create a
page, they are expecting to create that page, not another. So perhaps
when coming from a redlink we should add in an extra message if the page
already exists saying something like "A page with this title has
recently been created. It's likely that you want to edit that page
rather than create a new one. Do you wish to switch to editing that page
instead of creating a new one under a different title?" And give them a
link to switch to that page's edit mode instead.
Never said that the user would never be notified: "and we'll probably
give the user notification that a title they are using is already in
use... Probably on each submit to the form (ie: Preview, etc...) and
through some AJAX for those who have it";
But when a user goes to a &action=create page, we should probably assume
they are expecting to create something new rather than expecting to edit
something that already exists.
~Daniel Friesen(Dantman) of:
-The Gaiapedia (
On Thu, Mar 13, 2008 at 10:13 PM, DanTMan
<dan_the_man(a)telus.net> wrote:
Hmmm... though, redlinks actually use
editredlink rather than edit.
No, it uses &action=edit&redlink=1. I don't see any conflict.
Ok
then, &action=create will be a overriding action. Rather than being like
a simple alias of edit which is meant for creation, it'll use an edit
form, but it'll never throw an error if the suggested title already
exists when you go to the page
Why not? Of course it shouldn't be an error that prevents you from
continuing, but there should be a clear notice that an article by that
name already exists and you may want to edit it instead.
(Actually if
no-one minds, it would be a beautiful opportunity to change the "edit"
tab on non-existent pages into a "create" tab for a more intuitive
interface)
That's an easy change, someone could do that right now. In fact I've
committed it in r31973.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l