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
> [email protected] (mailto:[email protected])
> https://lists.wikimedia.org/mailman/listinfo/wikitext-l




_______________________________________________
Wikitext-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Reply via email to