Page MenuHomePhabricator

Special:FormEdit/form/page?redlink=1 should redirect to page if page exists
Closed, ResolvedPublic

Description

This is a feature request for "redlink" behavior for pages that have a form associated. (Similar to the native redlink stuff, you'd have a create link with redlink argument to action=formedit, which then will give you a form if the page does not exist, or show the page if someone already created it).


Version: unspecified
Severity: minor

Details

Reference
bz33495

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:07 AM
bzimport set Reference to bz33495.

Sorry, I don't understand - how is this different from SF's current red-link behavior?

This is now implemented, in SVN.

Will this fix allow Special:RunQuery templates to automatically create red-linked pages, as described here?:

http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Populating_red-linked_pages_automatically

I tried it previously, and it didn't work, so I was planning on making an enhancement request eventually. That capability turns out to be handy for fast data-entry of large quantities of information, especially if it already exists in other text formats.

No. Which is good, because I don't think it makes any sense for RunQuery to generate pages.

Can you explain what you mean when you say it doesn't make sense? I can think of a lot of circumstances where it would be helpful in doing a lot of data entry. Maybe you mean that's not what it was intended for?

So far, I'm finding many impressive capabilities that Special:RunQuery wasn't intended for, but it can do. Most of your work is thought-out to be very flexible like that. Branching forms is another interesting thing that Special:RunQuery enables:

https://bugzilla.wikimedia.org/show_bug.cgi?id=30536

As far as I am aware, the only distinguishing characteristic of Special:RunQuery forms is that they don't create permanent pages - the templates used to display results are ephemeral, and can be used to do all sorts of tasks, including conditionally branching out into other forms (which may also themselves be Special:RunQuery ephemeral pages).

I'm sure there's a lot of things it can do that I haven't thought of yet.

Yes, that's not what it was intended for. Anyway, this isn't a good place to discuss this topic.