[Bug 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #11 from DaSch da...@daschmedia.de 2011-08-16 08:47:30 UTC ---
I would like you to compare this two pages
http://www.wecowi.de/index.php?title=Brunnih%C3%BCtteoldid=102220
http://de.wikipedia.org/w/index.php?title=Brunnih%C3%BCtteoldid=92506027

The WikiText is identical, but in my wiki with MW 1.19 there is a break on top
of the page. Was there anything changed in the parser in the newest Version?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #12 from Bawolff bawolff...@gmail.com 2011-08-16 17:49:44 UTC ---
(In reply to comment #11)
 I would like you to compare this two pages
 http://www.wecowi.de/index.php?title=Brunnih%C3%BCtteoldid=102220
 http://de.wikipedia.org/w/index.php?title=Brunnih%C3%BCtteoldid=92506027
 
 The WikiText is identical, but in my wiki with MW 1.19 there is a break on top
 of the page. Was there anything changed in the parser in the newest Version?

It looks as if your template has an includeonly section containing an extra
new line that is not present on the Wikipedia version.


Could you please include a small (minimal preferably 3 lines or less) example
of the weird behaviour including wikitext, what the actual output is, what
you expect it to be. So far most of your examples work for me (but that is
hindered by the fact I don't really know what I'm looking for in them. I don't
see any unexpected weird spaces when I look at the page).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #13 from DaSch da...@daschmedia.de 2011-08-16 17:55:17 UTC ---
Well I deleted a line between the text and template and saved the problem this
way.
The point is, that in my wiki new lines in the wikitext are more often parsed
as new lines, paragraphs or breaks as in wikipedia and there are often included
pbr//p which is total nonsense

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #14 from Bawolff bawolff...@gmail.com 2011-08-16 18:00:31 UTC ---
Two consecutive new lines make a line break - That's the way its always been
(where new lines are added when #if's are involved gets a little confusing
because often there is an implicit extra new line, but still the same principle
applies). I think it is extremely unlikely we're going to change that
behaviour, which as far as I can tell is what you're asking for.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

DaSch da...@daschmedia.de changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||LATER

--- Comment #15 from DaSch da...@daschmedia.de 2011-08-16 18:04:11 UTC ---
The point why I opend this bug is, that after I deleted many new lines between
the #if that where in the template in wikipedia the number of newlines in my
wiki decresed, in wikipedia where I took the template from there where no
unneeded new lines.
I'll try to isolate the problem and check under what cricumstances they appear

I set this to later until I know some more about the problem

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #16 from DaSch da...@daschmedia.de 2011-08-16 20:26:12 UTC ---
I can not really find the problem, it's just strange that new lines that are
not interpreted in wikipedia are printed as pbr//p in my wiki

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

DaSch da...@daschmedia.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|LATER   |

--- Comment #17 from DaSch da...@daschmedia.de 2011-08-16 21:05:11 UTC ---
I have something to test the problem
Try this 

{| class=wikitable
| Some Text
{{!-}}
{{!}} Some Text

|-
| Some Text

{{!-}}
{{!}} Some Text

{{!-}}

{{!}} Some Text

|-

| Some Text
|}

On Wikipedia they are all displayed the same, on my wiki there are pbr//p
in den fourth and fifth although the templates are the same as in wikipedia

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #18 from DaSch da...@daschmedia.de 2011-08-16 23:10:58 UTC ---
It's really anoying, I tryed tousend of combinations like you can see in the
history
http://www.wecowi.de/history/Vorlage:Infobox_Schutzh%C3%BCtte
most of the changes adds not needed new lines or break the hole template

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #19 from DaSch da...@daschmedia.de 2011-08-16 23:19:52 UTC ---
Wiki-Text of the Template is completly identical but the output is different!
http://www.wecowi.de/wiki/West-Nil-Virus
http://de.wikipedia.org/wiki/West-Nil-Virus

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #20 from Bawolff bawolff...@gmail.com 2011-08-16 23:20:28 UTC ---
Re: Comment 17 - I can confirm that the rendering is different between vanilla
MW 1.17 and trunk.

Not sure where this was introduced, last thing to touch the table stuff seems
to be the adding of thead support. I'll test further to see if that could
have accidentally caused this.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

Brion Vibber br...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #1 from Brion Vibber br...@wikimedia.org 2011-08-15 17:19:55 UTC 
---
Site has some sort of interstitial ad thing that pops up new ad windows when
you click close button; can't get in to test. Closing INVALID.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

DaSch da...@daschmedia.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |

--- Comment #2 from DaSch da...@daschmedia.de 2011-08-15 17:26:23 UTC ---
The most helpful community I ever met -.-
And somehow nobody else had any problems before, strange thing

BTW: I removed the ad… my princess

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

とある白い猫 to.aru.shiroi.n...@gmail.com changed:

   What|Removed |Added

 CC||to.aru.shiroi.n...@gmail.co
   ||m

--- Comment #3 from とある白い猫 to.aru.shiroi.n...@gmail.com 2011-08-15 17:29:10 
UTC ---
Brion Vibber is MY princess. Hands off!

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #4 from Brion Vibber br...@wikimedia.org 2011-08-15 17:31:31 UTC 
---
Thanks; your users will appreciate that as well.

It looks like your template:

http://www.wecowi.de/edit/Vorlage:Infobox_Person

has a lot of bits like this:

---
{{#if:{{{Wohnort|}}}|{{!}}style=vertical-align:top{{!}}'''Wohnort:'''
{{!}}{{#arraymap:{{{Wohnort}}}|/|x|[[Wohnort::x]]|,nbsp;}}
{{!-
{{#if:{{{Wahlheimat|}}}|{{!}}style=vertical-align:top{{!}}'''Wahlheimat:'''
{{!}}{{#arraymap:{{{Wahlheimat}}}|,|x|[[Wahlheimat::x]]|,nbsp;}}
{{!-
{{#if:{{{Abstammung|}}}|{{!}}style=vertical-align:top{{!}}'''Abstammung:'''
{{!}}{{#arraymap:{{{Abstammung}}}|,|x|[[Abstammung::x]]}}
{{!-
---

If I'm not mistaken, that's going to leave a bunch of newlines, eg if none of
those params are there:

---



---

Those newline sequences are going to end up interpreted as 'oh you want some
extra lines between your paragraphs', I believe.

You might want to try removing the extra newlines outside of the if blocks, and
see if that helps.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #5 from DaSch da...@daschmedia.de 2011-08-15 17:41:56 UTC ---
well, but isn't that the wron behaviour? The break between the #if's is only
one and should not add breaks. That's the behaviour with normal wikitext I
think

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #6 from DaSch da...@daschmedia.de 2011-08-15 17:50:28 UTC ---
the most strange thing is, that the template in the first example is taken from
wikipedia and behaves completly other way in my wiki then in wikipedia

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

Bawolff bawolff...@gmail.com changed:

   What|Removed |Added

 CC||bawolff...@gmail.com

--- Comment #7 from Bawolff bawolff...@gmail.com 2011-08-15 17:53:59 UTC ---
(In reply to comment #6)
 the most strange thing is, that the template in the first example is taken 
 from
 wikipedia and behaves completly other way in my wiki then in wikipedia

lol, with the #arraymap and all?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #8 from Bawolff bawolff...@gmail.com 2011-08-15 17:57:23 UTC ---
(In reply to comment #7)
 (In reply to comment #6)
  the most strange thing is, that the template in the first example is taken 
  from
  wikipedia and behaves completly other way in my wiki then in wikipedia
 
 lol, with the #arraymap and all?

My apologies, I apparently don't know how to read the word first.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #9 from DaSch da...@daschmedia.de 2011-08-15 17:59:17 UTC ---
number 1: http://www.wecowi.de/wiki/Rehgrabenh%C3%BCtte
with the template: http://www.wecowi.de/wiki/Vorlage:Infobox_Schutzh%C3%BCtte

number 2: http://www.wecowi.de/wiki/Albert_Einstein
with the template http://www.wecowi.de/wiki/Vorlage:Infobox_Person

it that so difficult?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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 30384] Strange Parser behaviour when including templates

2011-08-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=30384

--- Comment #10 from DaSch da...@daschmedia.de 2011-08-15 18:16:07 UTC ---
The newline behaviour of templates is really strange
Is there a possibility to configure the behaviour?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
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