Hello there,
I have a bit of a problem with parsing http://www.cruiserswiki.org/wiki/ on my machine.
When I'm trying to use parsoid with this wiki then all external links at the page do not seem to be converted into <a> element.
For example for the page http://www.cruiserswiki.org/wiki/Cesme external link [http://en.wikipedia.org/wiki/Cesme Çesme] (near the bottom of the page) appears at the parsoid output as it is instead of being converted to something like: <a href="http://en.wikipedia.org/wiki/Cesme" class="external text" rel="nofollow" target="_blank">
I have Ubuntu 14.04 on my machine and initially I tried version 0.2.0 of parsoid from http://parsoid.wmflabs.org:8080/deb . Then I cloned the parsoid from the git repository. But result is the same.
Any feedback would be highly appreciated.
Regards Vadim
On Thursday, February 5, 2015 at 2:25 AM, Vadim Shlyakhov wrote:
Hello there,
I have a bit of a problem with parsing http://www.cruiserswiki.org/wiki/ on my machine.
When I'm trying to use parsoid with this wiki then all external links at the page do not seem to be converted into <a> element.
For example for the page http://www.cruiserswiki.org/wiki/Cesme external link [http://en.wikipedia.org/wiki/Cesme Çesme] (near the bottom of the page) appears at the parsoid output as it is instead of being converted to something like: <a href="http://en.wikipedia.org/wiki/Cesme" class="external text" rel="nofollow" target="_blank">
I have Ubuntu 14.04 on my machine and initially I tried version 0.2.0 of parsoid from http://parsoid.wmflabs.org:8080/deb . Then I cloned the parsoid from the git repository. But result is the same.
Any feedback would be highly appreciated.
The config request from your API is returning, http://www.cruiserswiki.org/api.php?meta=siteinfo&format=json&action=query&siprop=namespaces|namespacealiases|magicwords|functionhooks|extensiontags|general|interwikimap|languages|protocols (http://www.cruiserswiki.org/api.php?meta=siteinfo&format=json&action=query&siprop=namespaces%7Cnamespacealiases%7Cmagicwords%7Cfunctionhooks%7Cextensiontags%7Cgeneral%7Cinterwikimap%7Clanguages%7Cprotocols)
{"warnings":{"siteinfo":{"*":"Unrecognized values for parameter 'siprop': functionhooks, extensiontags, protocols”}}}
Without the list of protocols, Parsoid doesn’t know which are valid for external links.
Your special page shows a pretty old version of Mediawiki, http://www.cruiserswiki.org/wiki/Special:Version
Is upgrading a possibility? If not, it doesn’t seem like the API exposed the info in that version. We could possibly add a Parsoid config as a workaround.
Regards Vadim _______________________________________________ Wikitext-l mailing list Wikitext-l@lists.wikimedia.org (mailto:Wikitext-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/wikitext-l
Thanks for looking into this issue Arvo.
This wiki is not of mine, but I'll try to ask its administrators if they would be interested to venture into an upgrade.
How it would be difficult to make a workaround you are refering to?
{"warnings":{"siteinfo":{"*":"Unrecognized values for parameter 'siprop':
functionhooks, extensiontags, protocols”}}}
Without the list of protocols, Parsoid doesn’t know which are valid for external links.
Your special page shows a pretty old version of Mediawiki, http://www.cruiserswiki.org/wiki/Special:Version
Is upgrading a possibility? If not, it doesn’t seem like the API exposed the info in that version. We could possibly add a Parsoid config as a workaround.
On Monday, February 9, 2015 at 12:37 AM, Vadim Shlyakhov wrote:
Thanks for looking into this issue Arvo.
This wiki is not of mine, but I'll try to ask its administrators if they would be interested to venture into an upgrade.
How it would be difficult to make a workaround you are refering to?
Not difficult. I wrote a patch. We’ll see how the reviewers feel about it. https://gerrit.wikimedia.org/r/#/c/189647/
{"warnings":{"siteinfo":{"*":"Unrecognized values for parameter 'siprop': functionhooks, extensiontags, protocols”}}}
Without the list of protocols, Parsoid doesn’t know which are valid for external links.
Your special page shows a pretty old version of Mediawiki, http://www.cruiserswiki.org/wiki/Special:Version
Is upgrading a possibility? If not, it doesn’t seem like the API exposed the info in that version. We could possibly add a Parsoid config as a workaround.
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org (mailto:Wikitext-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/wikitext-l
On Tue, Feb 10, 2015 at 4:45 AM, Arlo Breault abreault@wikimedia.org wrote:
How it would be difficult to make a workaround you are refering to?
Not difficult. I wrote a patch. We’ll see how the reviewers feel about it. https://gerrit.wikimedia.org/r/#/c/189647/
Your patch looks very neat indeed! I shall try it out as soon as I can get to my test bed machine.
You were right about an upgrade of Mediawiki engine, I hope we'll manage to negotiate it anyway, but it will take some time...
Thanks a lot, Arlo!
wikitext-l@lists.wikimedia.org