[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #6 from Neill Mitchell mitchell_ne...@hotmail.com 2010-07-14 
09:10:47 UTC ---
Hmm.

Looks like it's because the template has a category directive in it.
[[Category:Actions]]
Not sure there is a way round that.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

Neill Mitchell mitchell_ne...@hotmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |

--- Comment #7 from Neill Mitchell mitchell_ne...@hotmail.com 2010-07-14 
09:50:00 UTC ---
Not [[Category:Actions]]

Sorry to be a pain here, but grep -i finds quite a few pbr //p's in the
code.

I appreciate you are busy, so could you quickly please point me to the code
that handles multi-instance templates and I will chase this one down. My PHP
skills debug are pretty good now ;) I think it is something around table
rendering as the resulting html for a page with two multi-instance templates on
looks like this:
table
tbody
  tr
 table contents
  /tr
/tbody
/table
p
br
/p
table
tbody
  tr
 table contents
  /tr
/tbody
/table
p
br
/p

This only happens with multi-instance templates. Nowhere else. The pb/p
has to be coming from somewhere!

Many thanks
Neill.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #8 from Neill Mitchell mitchell_ne...@hotmail.com 2010-07-14 
12:23:25 UTC ---
Okay, I've re-created one of these pages manually in a MW page rather than from
SF and there are no p/b/p's between the tables. So I don't think it's
MW's parser inserting them.

Hope this isn't ticking you off. If it is then drop me an email.

Cheers
Neill.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

Yaron Koren yaro...@gmail.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||INVALID

--- Comment #9 from Yaron Koren yaro...@gmail.com 2010-07-14 13:39:55 UTC ---
This is clearly not a Semantic Forms issue - setting back to invalid. Please
stop abusing Bugzilla; it's not a general discussion forum.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #4 from Neill Mitchell mitchell_ne...@hotmail.com 2010-07-13 
08:08:04 UTC ---
Hi Yaron.

If I edit rather than edit with form then there are no br's in the page.

Here's an example:
{{Meeting Minutes Template
|Title=DB Schema meeting
|Attendees=Peter Cowan, Neill Mitchell, Simon Ford,
|Meeting Date=March 1, 2010
|Open={{PAGENAME}}
}}
{{Minute Item
|Minute Item=Started looking at the database schema but it was decided it was
too out of date. Agreed to relook at it on Weds.
}}
{{Minute Item
|Minute Item=Fixed session for Weds at PC's to review deal as well as DB schema
and enhancements
}}
{{Action Item
|Action=Simon to try and update schema diagram as much as possible for Weds
meeting
|Who=Simon Ford,
|Due Date=March 3, 2010
|Action Status=Open
}}
{{Action Item
|Action=Make sure I clean the kitchen
|Who=Peter Cowan,
|Due Date=March 3, 2010
|Action Status=Open
}}

Yet there are large gaps between the Minute Items and Action Items and
pbr/p in the html. So any idea where are they coming from?

Thanks
Neill.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

Yaron Koren yaro...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #5 from Yaron Koren yaro...@gmail.com 2010-07-13 16:41:22 UTC ---
This is definitely not a Semantic Forms issue, then; setting to invalid.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #2 from Neill Mitchell mitchell_ne...@hotmail.com 2010-07-12 
16:38:07 UTC ---
Hi Yaron.

Thanks for your reply. 

No, it is definitely not in the template. I'm looking at it in Firebug and the
pbr/p seems to be definitely coming from elsewhere. Perhaps the PHP that
generates the wiki-text is inserting a br?

Cheers
Neill.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #3 from Yaron Koren yaro...@gmail.com 2010-07-12 16:50:13 UTC ---
If you look at the wiki-text in the page source, you can see exactly what SF
generates. Are there blank lines there between the template calls?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 24340] Multiple instance templates - large gaps between instances

2010-07-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=24340

--- Comment #1 from Yaron Koren yaro...@gmail.com 2010-07-11 23:45:13 UTC ---
Hi,

As noted on the mailing list, this is probably an issue in the template itself
- as you probably know, Semantic Forms produces wiki-text, not HTML.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l