interesting. My problem is a bit different, in that when my "Edit with form" link is missing, it's BECAUSE the page isn't showing in the category correctly; (there's no entry in categorylinks for this page).

and runJobs.php tends to FIX it, because it creates the missing page. Somehow the missing page and the missing category link seem to be related.

Don


From: Neill Mitchell <neill@nlkmitchell.com>
To: semediawiki-devel@lists.sourceforge.net
Sent: Thu, December 9, 2010 4:50:19 AM
Subject: Re: [SMW-devel] Semantic forms not "Edit With Form"-ing?

Hi Don.

I'm seeing something similar. Random pages lose the Edit with Form tab.
The page is showing in the Category correctly. The category has a
default form directive.

If I do a raw edit and save the offending page the Edit with Form tab
re-appears.

Unfortunately I can't see any pattern to it other than it seems to
happen after running runJobs.php manually.

This has only started happening in the last few months and it is
occurring on more than one of my sites. The version of MW doesn't seem
to be the cause. I've seen 1.15.3, 1.15.5 and 1.16 sites doing it. SMW
version is 1.4.3, 1.5.0 and 1.5.2. SF is always 2.X though.

Sorry I can't be of much help, I'll continue to try to narrow it down. I
thought I was going mad, so it is interesting that someone else is
seeing this too.

Cheers
Neill.
On 08/12/10 23:49, don undeen wrote:
> ok, so I ran a bunch of tests, and it seems like,
> if I add a new "highlights object" object number, and that page doesn't
> exist yet, then the category for that page doesn't get registered, or
> disappears from the categorylinks table, and I don't get an "Edit with
> form" link.
>
> that "Highlights Object" property is one that "creates pages with form"
> AND "has default form" so there's a lot going on there that could cause
> screwy behaviour, I bet.
>
> However, once I do a runJobs, which automatically creates that page, and
> I re-save the original page, I get the categorylinks entry back.
>
> this seems like a strange edge case, but still, it indicates some wierd
> interactions in the code...
>
> Don
>
> ------------------------------------------------------------------------
> *From:* don undeen <donundeen@yahoo.com>
> *To:* don undeen <donundeen@yahoo.com>; smw dev list
> <semediawiki-devel@lists.sourceforge.net>
> *Sent:* Wed, December 8, 2010 6:01:51 PM
> *Subject:* Re: [SMW-devel] Semantic forms not "Edit With Form"-ing?
>
> to add a little more detail:
> I was lookign at the categorylinks table, and noticed that the category
> information for the new article is dropped, after the page is saved
> again, or if I do a runJobs after editing the template (hence causing a
> SMWUpdatejob)
>
> Any idea why that would happen? Maybe there's an erro in my template
> code? I can't figure it out.
> Any and all help would be greatly appreciated.
>
> Thanks very much!
>
>
> ------------------------------------------------------------------------
> *From:* don undeen <donundeen@yahoo.com>
> *To:* smw dev list <semediawiki-devel@lists.sourceforge.net>
> *Sent:* Wed, December 8, 2010 5:33:40 PM
> *Subject:* [SMW-devel] Semantic forms not "Edit With Form"-ing?
>
> Hey guys,
> I've got a simple semantic form and template, which I can use
> successfully to create a new page.
> Then, I can click "Edit With Form" and edit (or not) and re-save the page.
> However, once I've done that, I can no longer "Edit with form"; the link
> isn't there, and when I try to just enter the original "edit form form"
> link, I'm told it's not a valid URL.
>
> Any idea what could be going on?
> Version Info (the latest supported by SMWHalo):
> MW 1.15.3
> SF 1.9.1_1 (w/ halo patches)
> Header Table 0.6.6
> SMW 1.5.1_1 (w/ halo patches)
> SMWHalo /Version 1.5.1_4-for-SMW-1.5.1 [B47]
>
>
> My Form Code is:
> <noinclude>
> This is the "Thematic Tour" form.
> To create a page with this form, enter the page name below;
> if a page with that name already exists, you will be sent to a form to
> edit that page.
>
>
> {{#forminput:form=Thematic Tour}}
> </noinclude><includeonly>
> {{{info|add title=Add a new Thematic Tour|page name=<Thematic
> Tour[Thematic Tour Name]>}}}
>
> <div id="wikiPreview" style="display: none; padding-bottom: 25px;
> margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
> {{{for template|Thematic Tour}}}
> {| class="formtable"
> ! Thematic Tour Name:
> | {{{field|Thematic Tour Name}}}
> |-
> ! Highlights Objects:
> | {{{field|Highlights Objects|autocomplete from url=met_objects}}}
> |-
> ! Related Activities:
> | {{{field|Related Activities|input type=textarea}}}
> |}
> {{{end template}}}
>
> '''Free text:'''
>
> {{{standard input|free text|rows=10}}}
>
>
> {{{standard input|summary}}}
>
> {{{standard input|minor edit}}} {{{standard input|watch}}}
>
> {{{standard input|save}}} {{{standard input|preview}}} {{{standard
> input|changes}}} {{{standard input|cancel}}}
> </includeonly>
>
> And My template code is:
> <noinclude>
> This is the "Thematic Tour" template.
> It should be called in the following format:
> <pre>
> {{Thematic Tour
> |Thematic Tour Name=
> |Highlights Objects=
> }}
> </pre>
> Edit the page to see the template text.
> </noinclude><includeonly>
> __SHOWFACTBOX__
>
> {| class="wikitable"
> ! Thematic Tour Name
> | [[ThematicTourName::{{{Thematic Tour Name|}}}]]
> |-
> ! Highlights Objects
> | {{#arraymap:{{{Highlights Objects|}}}|,|x|[[HighlightsObject::x]]}}
> |-
> ! Related Activities
> | {{{Related Activities|}}}
> |}
>
> [[Category:Thematic Tour]]
> </includeonly>
>
> Any Ideas?
>
> Thanks all!
>
> /
>
>
>
> ------------------------------------------------------------------------------
> This SF Dev2Dev email is sponsored by:
>
> WikiLeaks The End of the Free Internet
> http://p.sf.net/sfu/therealnews-com
>
>
>
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel