[Mediawiki-api] Previewing pages modifications in a Java program

Platonides platonides at gmail.com
Tue Jan 22 23:08:20 UTC 2008


nvervelle at numericable.fr wrote:
> Hi,
> 
> I would like to preview pages modifications in a Java program (http://en.wikipedia.org/wiki/User:NicoV/Wikipedia_Cleaner/Documentation).
> 
> Currently, I am using the following :
> * API parse function to retrieve the HTML code
> * Cobra for rendering the HTML code in my Java program (http://lobobrowser.org/cobra.jsp)
> 
> The only think I am missing is a basic set of CSS styles for the page to be rendered like on Wikipedia by default.
> 
> Is there a way to retrieve the list of CSS files that should be used for rendering ?
> Otherwise, do you know what are the CSS files that I should use ?
> 
> Nico

XX.wikipedia.org/skins-1.5/common/shared.css
XX.wikipedia.org/skins-1.5/common/main.css
XX.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400
XX.wikipedia.org/w/index.php?title=MediaWiki:Monobook.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400







More information about the Mediawiki-api mailing list