Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread יגאל חיטרון
I think I was not clear enough. I know the code is broken, and I know noone should use it. I show it as a symptom of the system problem - wrong precedence order implemented in the parser. Igal ‫בתאריך יום ה׳, 13 בדצמ׳ 2018 ב-19:03 מאת ‪Thiemo Kreuz‬‏ <‪ thiemo.kr...@wikimedia.de‬‏>:‬ > > I

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread Thiemo Kreuz
> I expect from the parser to parse wiki markup before parsing html tags […] As I said. As neither the wiki markup nor the XML tags in the given example are valid, one can't expect anything. Seriously. Code like {{cite|}} is just broken. It's like having two nested Klein bottles. Both structural

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread יגאל חיטרון
N3: The lonk you provides expects the transclusion (preprocessor 3.4) before tags (processor 2.2). So the follow parameter behavior is broken. Igal ‫בתאריך יום ה׳, 13 בדצמ׳ 2018 ב-18:25 מאת יגאל חיטרון <‪ khit...@post.bgu.ac.il‬‏>:‬ > The problem is the precedence, once again. I expect from the

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread יגאל חיטרון
The problem is the precedence, once again. I expect from the parser to parse wiki markup before parsing html tags, because templates can create new tags by transclusion. If the ref tag is parsed first, glueing the unbalanced parts to one proper template call, that means that (1) the template can't

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread Thiemo Kreuz
The wikitext snippet you posted appears to be seriously broken. More precisely: It is unbalanced. Technically, there is no such thing as "broken" wikitext. The parser will always output something (as he does in the example). However, this doesn't mean such wikitext is ok. Sure, nobody is stopping

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread יגאל חיטרון
Thank you. But even so, what about the weird order of precedence? I really do not like that this code actually works: text1{{citetext3|title=google|url= http://google.com}}text5 Or it's implemented like this in purpose? Igal ‫בתאריך יום ה׳, 13 בדצמ׳ 2018 ב-12:58 מאת ‪Thiemo Kreuz‬‏ <‪

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-13 Thread Thiemo Kreuz
> […] why the tag parameter follow= is not turned off in wiki sites that > are not wikisource? As the Technical Wishes team at Wikimedia Germany is currently working on the Cite extension, I had a look to find an answer to your question. The follow="…" feature was introduced in 2010[1] as part

Re: [Wikitech-l] The ref tag parameter follow in non wikisource wikis

2018-12-12 Thread billinghurst
Presumably because it is part of Extension:Cite, not part of Extension:Proofread; and the two extensions operate individually, and Cite is independent of any particular wiki. -- billinghurst -- Original Message -- From: "יגאל חיטרון" To: "Wikimedia developers" Sent: 13/12/2018