Last modified: 2013-01-29 10:54:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36612, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34612 - Populating red-linked pages automatically broken
Populating red-linked pages automatically broken
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal with 1 vote (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-23 11:47 UTC by Neill Mitchell
Modified: 2013-01-29 10:54 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Neill Mitchell 2012-02-23 11:47:47 UTC
Hi.

I am using the populating red-linked pages automatically functionality.

I have a property with [[Creates pages with form::Interessent]] set.

On the property page I can see the red link when a new value for the property is created. 

However, the page is not being created even after running runJobs.php

If I manually click the red link and then perform a runJobs.php, then the page is then created. Obviously this is not automatic as described in the documentation.

I have a site with this working running SF 2.2.1. However sites with 2.3.2 or 2.4 do not work.

I'm running MW 1.17.2 and SMW 1.5.6.

Thanks.
Comment 1 badon 2012-03-02 00:27:09 UTC
I think this is normal behavior, and so this would be an enhancement request instead of a bug. I'm not sure of the exact reason, but SF seems to require someone to actually view the red link. As far as I know, clicking on it shouldn't be required. If clicking on it is required in your case, can you see if running SMW_refreshData.php resolves the issue?

I am using SMW 1.7.0.2, MW 1.18, and SF 2.4, and I have discovered no issues with autocreation of red links, other than someone needing to actually view a red link before it gets added to the job queue. If I remember correctly, I'm using several different methods of defining default forms - do you get different results if you change the method of defining default forms?:

http://www.mediawiki.org/wiki/Extension:Semantic_Forms/The_%22edit_with_form%22_tab
Comment 2 Neill Mitchell 2012-03-02 13:33:09 UTC
I have this working fully automatically on a site running SF 2.2.1.

The SF documentation says that the page create is placed on the job queue automatically. It should not need a person to view the page to trigger it. That would completely negate the whole point of this functionality, as the person will get presented with the normal create page screen and wonder what on earth is going on. This is no good from a usability perspective.

I have the category method set of defining the edit with form.

Cheers
Neill.
Comment 3 badon 2012-03-12 03:57:07 UTC
Now that I'm thinking about it, my experience has been that everything always went right into the job queue immediately. I'm not 100% sure of whether viewing it was required or not. Do you have something we could play with to see if the behavior you're experiencing matches what we think should be happening?
Comment 4 Neill Mitchell 2012-03-13 11:02:05 UTC
Well, it's currently on two client sites. I guess I can create an instance you can play with, but this will take a few days.

Cheers
Neill.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links