Andreas Brill | 2 Apr 11:17 2014

Re: Persoid with nginx and https

Dear all,

I impemented node.js / parsoid and nginx and are able to access the mediawiki via https 443.

But when I use the button edit which appeared after I implemented visual editor I got the following error message:

 

Error loading data from server: parsoidserver-http-curl-error: Peer certificate cannot be authenticated with known CA certificates. Would you like to retry?

 

This is an “self-made” certificate and not signed by an official company. Can you help me to allow this communication.

 

Kind regards

Andreas Brill

 


Utimaco Safeware AG

Seat: Aachen – Registergericht Aachen HRB 17938
WEEE-Reg.No.: DE39805015
Managementboard: Malte Pollmann (Chairman) CEO, Dr. Frank J. Nellissen CFO
Supervisory Board: Katrin Wehr-Seiter (Chairman)



Utimaco Safeware AG

Seat: Aachen – Registergericht Aachen HRB 17938
WEEE-Reg.No.: DE39805015
Managementboard: Malte Pollmann (Chairman) CEO, Dr. Frank J. Nellissen CFO
Supervisory Board: Katrin Wehr-Seiter (Chairman)
_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Federico Leva (Nemo | 16 Mar 21:49 2014
Picon

Have multiline tags not terminate the list item until the tag is terminated

Lists in wikitext are a pain. Proof: number of duplicates of 
<https://bugzilla.wikimedia.org/1581>.
Aryeh Gregor proposed in 2007 an amendment that would IMHO solve many 
problems and find no opposers in principle, "Have multiline tags not 
terminate the list item until the tag is terminated": 
<https://bugzilla.wikimedia.org/show_bug.cgi?id=9996#c5>
Does someone disagree? How hard is it to implement? (Probably rather or 
very hard, but who knows.)

For more general context of how I was brought to this problem, and to 
discuss alternative solutions  for my specific issue, please refer to 
<https://meta.wikimedia.org/wiki/Help_talk:List#List-agnostic_markup_insertions> 
instead.

Nemo

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Gabriel Wicke | 8 Jan 21:37 2014
Picon

DOM spec input wanted: Can we do without explicit link types?

Hi,

I'd like to ask you for your input on a change to the DOM spec [1] we
are considering. The idea is to simplify links by removing the explicit
mw:WikiLink or mw:ExtLink typeof attributes:

  <a rel="mw:WikiLink" href="./Main_Page">Main Page</a>
  <a rel="mw:ExtLink" href="http://example.com">http://example.com</a>

would become just

  <a href="Main_Page">Main Page</a>
  <a href="http://example.com">http://example.com</a>

Reasons for this change are:

- The external vs. internal link distinction is pretty simple to do
  with a prefix match on the href.

- When editing, an internal link can turn into an external one and
  vice-versa. Editors should not have to deal with updating the typeof
  to reflect the information already available in the href attribute.

- The page source will be slightly cleaner and smaller.

Potential disadvantages we see are

- For ISBN links [2], we will continue to link to Special:BookSources,
  which looks internal. Matching on that to identify ISBN links should
  however not be harder than it is right now.

Are you currently relying on these typeofs? Do you see other issues with
this proposed change?

Thanks for your input,

Gabriel

[1]: https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Wiki_links

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Thomas Gulli | 14 Dec 22:12 2013
Picon

Re: Problems installing Parsoid

Aha,  I understand! Thanks you very much! I really appreciate it!

One last question; Is it possible to install git on a webhosting I have at example hostgator.com?

From: amir.aharoni <at> mail.huji.ac.il
Date: Sat, 14 Dec 2013 23:10:26 +0200
To: wikitext-l <at> lists.wikimedia.org
Subject: Re: [Wikitext-l] Problems installing Parsoid

> Yes, but I do not understand "parsoid/api" and the anonymous checkout thing.

parsoid/api is just the name of a directory in the parsoid source tree.

"Checkout" refers to getting the Parsoid code from Gerrit, which is MediaWiki's source repository. Very simply, you need to run this command on your server:
git clone https://gerrit.wikimedia.org/r/p/mediawiki/services/parsoid

This will create a parsoid directory and download the source there.

You need to have git installed before that.

If you are curious, you can find more details about how we store our source code here:
https://www.mediawiki.org/wiki/Gerrit

> it possible to install this on when the wiki is not host on my computer, but at a third-party?

If you are able to run shell commands and install some software on that server, then it should be possible.


--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬

2013/12/14 Thomas Gulli <tgg <at> live.no>
Yes, but I do not understand "parsoid/api" and the anonymous checkout thing.

From: amir.aharoni <at> mail.huji.ac.il
Date: Sat, 14 Dec 2013 22:42:33 +0200
To: wikitext-l <at> lists.wikimedia.org
Subject: Re: [Wikitext-l] Problems installing Parsoid




--
Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי
http://aharoni.wordpress.com
‪“We're living in pieces,
I want to live in peace.” – T. Moore‬


2013/12/14 Thomas Gulli <tgg <at> live.no>
Hi,

I do not understand how I could install Parsoid on the web server so I could use the new visual editor. I would really appreciate help with this.

Regards,
Thomas Gulli

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l



_______________________________________________ Wikitext-l mailing list Wikitext-l <at> lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l



_______________________________________________ Wikitext-l mailing list Wikitext-l <at> lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l
_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Thomas Gulli | 14 Dec 21:37 2013
Picon

Problems installing Parsoid

Hi,

I do not understand how I could install Parsoid on the web server so I could use the new visual editor. I would really appreciate help with this.

Regards,
Thomas Gulli
_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Emmanuel Engelhart | 2 Dec 13:30 2013

Parsoid farm HTTP 500 errors

Hi

Currently happening with pretty much different URLs.

For example:
* http://208.80.154.248/enwiki/%2F%5C?oldid=535552102
* http://208.80.154.248/enwiki/%2Fr%2F?oldid=570334525

Regards
Emmanuel

--
Kiwix - Wikipedia Offline & more
* Web: http://www.kiwix.org
* Twitter: https://twitter.com/KiwixOffline
* more: http://www.kiwix.org/wiki/Communication

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Bin Li (李斌 | 2 Dec 08:39 2013
Picon

Bugs and differences found in comparing Wikipedia Html and Parsoid Html

Hi Parsoid developers,

  I have compared Wikipedia HTML and Parsoid HTML (same title and oldid) for 500 random samples. And I found some bug examples and difference patterns that may help you. We also expect the bugs to be fixed. Thanks! Below are the examples:

Bug examples:
1. In http://parsoid-lb.eqiad.wikimedia.org/enwiki/1913_Gettysburg_reunion?oldid=581251478, References 18 is “(Pennsylvania Department of Health). http://books.google.com/books?id=swkTAAAAYAAJ&pg=PA72. Retrieved 2011-02-06.”. But in http://en.wikipedia.org/w/index.php?title=1913_Gettysburg_reunion&oldid=581251478, it’s “(Pennsylvania Department of Health). Retrieved 2011-02-06.”


3. In http://en.wikipedia.org/w/index.php?title=1973_CARIFTA_Games&oldid=473380600, every table have title line: “Event Gold Silver Bronze”. But in http://parsoid-lb.eqiad.wikimedia.org/enwiki/1973_CARIFTA_Games?oldid=473380600, the table title line disappears.


5. The figcaption not displays in wikipedia, but displays in parsoid. Example 1: see “Breg , the old part of Novo Mesto along the Krka River” in http://parsoid-lb.eqiad.wikimedia.org/enwiki/%C5%A0entjo%C5%A1t,_Novo_Mesto?oldid=542922305, it not exist in http://en.wikipedia.org/w/index.php?title=%C5%A0entjo%C5%A1t,_Novo_Mesto&oldid=542922305. Example 2: “T-6 Texan IIs over Columbus Mississippi” appears twice in http://parsoid-lb.eqiad.wikimedia.org/enwiki/14th_Operations_Group?oldid=572478542 but one time in http://en.wikipedia.org/w/index.php?title=14th_Operations_Group&oldid=572478542.


Other different patterns with examples:



4. The superscript “a b c d” etc in references of http://en.wikipedia.org/w/index.php?title=%C3%87a_plane_pour_moi&oldid=582236844 is replaced with “{num}.0 {num}.1 {num}.2 {num}.3” etc in http://parsoid-lb.eqiad.wikimedia.org/enwiki/%C3%87a_plane_pour_moi?oldid=582236844


--
Bin Li
_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Jiang BIAN | 2 Dec 03:34 2013
Picon

Plan to support language variants

Hi

I noticeced that Parsoid API cannot support language variant (e.g. simplified Chinese in mainland China (zh-cn) v.s. traditional Chinese in Taiwan (zh-tw) ) - they both hosted under zhwiki.

Do you have any plan to support them? and what's the rough timeline?


Thanks

--
Jiang BIAN

This email may be confidential or privileged.  If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it went to the wrong person.  Thanks.
_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Gabriel Wicke | 20 Nov 00:06 2013
Picon

http://parsoid-lb.eqiad.wikimedia.org/

We now have a public and cached Parsoid API available at
  http://parsoid-lb.eqiad.wikimedia.org/

It implements this interface:
  https://www.mediawiki.org/wiki/Parsoid#The_Parsoid_web_API
  http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec

GET requests are normally expected to pass the oldid parameter:
  http://parsoid-lb.eqiad.wikimedia.org/enwiki/Main_Page?oldid=574690625

Current revisions of pages will very likely be in cache (they are
pre-parsed after each edit), so you can retrieve those without causing
extra load on the Parsoid cluster.

This API is expected to be followed by a full content API by early next
year. This API will expose the same functionality and HTML+RDFa, so
consumers will only need small changes to switch to the new content API
then.

Gabriel

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Emmanuel Engelhart | 3 Nov 20:59 2013

http://parsoid.wmflabs.org/zh//dev/null

Hi,

http://parsoid.wmflabs.org/zh//dev/null gives an error:

TypeError: Cannot read property 'ns' of undefined at
Function.Title.fromPrefixedText
(/data/project/parsoid/js/lib/mediawiki.Title.js:59:40) at
MWParserEnvironment.reset
(/data/project/parsoid/js/lib/mediawiki.parser.environment.js:216:20) at
Function.MWParserEnvironment.getParserEnv
(/data/project/parsoid/js/lib/mediawiki.parser.environment.js:280:7) at
parserEnvMw (/data/project/parsoid/js/api/ParserService.js:432:22) at
callbacks
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:164:37)
at interParams (/data/project/parsoid/js/api/ParserService.js:428:2) at
callbacks
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:164:37)
at param
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:138:11)
at pass
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:145:5) at
Router._dispatch
(/data/project/parsoid/js/node_modules/express/lib/router/index.js:173:5)

But this should give a valid result like:
https://zh.wikipedia.org/wiki//dev/null

It this normal?

Regards
Emmanuel
--

-- 
Kiwix - Wikipedia Offline & more
* Web: http://www.kiwix.org
* Twitter: https://twitter.com/KiwixOffline
* more: http://www.kiwix.org/wiki/Communication

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Emmanuel Engelhart | 6 Oct 17:48 2013

http://parsoid.wmflabs.org/ really slow. Overloaded?

Hi,

It seems to me that http://parsoid.wmflabs.org/ has been really slow
since many days now. Is that normal?

What are the news regarding the MW API integration?
https://bugzilla.wikimedia.org/show_bug.cgi?id=48483
Would we have the extrem pleasure to see it implemented before the end
of the year?

Regards
Emmanuel

--

-- 
Kiwix - Wikipedia Offline & more
* Web: http://www.kiwix.org
* Twitter: https://twitter.com/KiwixOffline
* more: http://www.kiwix.org/wiki/Communication

_______________________________________________
Wikitext-l mailing list
Wikitext-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Gmane