I'm using ImageMagick to render SVG images on my wiki but some of the thumbnails have problems with them. For exampled this SVG image has some pixels in the upper left hand corner that shouldn't be there: http://thecatholicguide.com/wiki/File:Arms_of_Basilica.svg
My wiki is hosted so my only image converting option is ImageMagick. Is there anything I can do to get better thumbnails?
Thanks, Caitlin
________________________________ Caitlin Dempsey Editor, GIS Lounge editor@gislounge.com http:.gislounge.com
Twitter: http://twitter.com/geospatialnews Facebook: http://www.facebook.com/gislounge
On Oct 27, 2010, at 5:00 AM, mediawiki-l-request@lists.wikimedia.org wrote:
Send MediaWiki-l mailing list submissions to mediawiki-l@lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit https://lists.wikimedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@lists.wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@lists.wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
- Accessing User's standard.js file? (Tech Geek)
- SMWCon 2011 spring pre-conference survey (Jesse Wang)
- Re: Accessing User's standard.js file? (Platonides)
- wiki.xml to wiki.txt (Jerry Van Suchtelen)
- Re: Accessing User's standard.js file? (Tech Geek)
Message: 1 Date: Tue, 26 Oct 2010 13:15:33 -0700 From: Tech Geek techgeek12345@gmail.com Subject: [Mediawiki-l] Accessing User's standard.js file? To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Message-ID: AANLkTi=1t1LxiawEotCoGQXoQeV9VNEgotzxibEV9hRN@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
I am trying to configure the "External Edit" feature in MediaWiki from [1]. One of the things mentioned (recommended) in there is to put the following piece of code in User's .js file:
addOnloadHook(function() { var editTab = document.getElementById("ca-edit"); if (!editTab) return; var editURL = editTab.getElementsByTagName("a")[0].href; addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", ""); });
I am assuming that I might have to put this code in User's standard.js file [2].
How do I access my personal standard.js file?
My User page is accessible as follow: http://myserver/wiki/index.php/User:TechGeek
Thanks
[1] http://www.mediawiki.org/wiki/Manual:External_editors
[2] http://www.mediawiki.org/wiki/Manual:Interface/JavaScript#Personal_scripts
Message: 2 Date: Tue, 26 Oct 2010 13:34:24 -0700 From: Jesse Wang wjxhome@gmail.com Subject: [Mediawiki-l] SMWCon 2011 spring pre-conference survey To: semediawiki-devel semediawiki-devel@lists.sourceforge.net, mediawiki-l mediawiki-l@lists.wikimedia.org Message-ID: AANLkTinSk_rr5zWXEJqaxnxR1V1ZKVag5T=_uT+OU=_2@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Dear all,
If you are interested in social semantic web or MediaWiki development, especially Semantic MediaWiki related stuff, you may be interested in attending SMWCon 2011 Spring, please take several minutes to finish this _pre-conference_ survey to help us make it better for you, of you, and by you.
(sorry for the multiple post if you have seen it already)
All 13 questions are choices and mostly yes/no answers, only 3 questions are required to complete the survey.
Please click the link below to begin the survey. http://www.zoomerang.com/Survey/WEB22BDFEKJWSB
Thanks, Jesse
Message: 3 Date: Tue, 26 Oct 2010 23:01:43 +0200 From: Platonides Platonides@gmail.com Subject: Re: [Mediawiki-l] Accessing User's standard.js file? To: mediawiki-l@lists.wikimedia.org Message-ID: ia7fgp$nbv$1@dough.gmane.org Content-Type: text/plain; charset=ISO-8859-1
Tech Geek wrote:
I am trying to configure the "External Edit" feature in MediaWiki from [1]. One of the things mentioned (recommended) in there is to put the following piece of code in User's .js file:
addOnloadHook(function() { var editTab = document.getElementById("ca-edit"); if (!editTab) return; var editURL = editTab.getElementsByTagName("a")[0].href; addPortletLink("p-cactions", editURL + "&externaledit=true", "EE", "ca-exted", "External editor", ""); });
I am assuming that I might have to put this code in User's standard.js file [2].
How do I access my personal standard.js file?
My User page is accessible as follow: http://myserver/wiki/index.php/User:TechGeek
Thanks
[1] http://www.mediawiki.org/wiki/Manual:External_editors
[2] http://www.mediawiki.org/wiki/Manual:Interface/JavaScript#Personal_scripts
If you are using monobook skin that would be http://myserver/wiki/index.php/User:TechGeek/monobook.js If you are using vector skin, http://myserver/wiki/index.php/User:TechGeek/vector.js and so on. There will be a common.js but that's not on a release yet.
Note that you can also choose "Use external editor" in your preferences (but if it's not configured it will look like a download!).
Message: 4 Date: Tue, 26 Oct 2010 17:40:00 -0400 From: Jerry Van Suchtelen worldgate989@gmail.com Subject: [Mediawiki-l] wiki.xml to wiki.txt To: MediaWiki announcements and site admin list MediaWiki-l@lists.wikimedia.org Message-ID: AANLkTikc67Btiy5JE8mzF09dVHt2qXsUhBjHHSO253Ue@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Is there a way to take a wiki.xml dump and export it to the individual pages (retaining wiki formatting) so that each article is its own .txt file?
Message: 5 Date: Tue, 26 Oct 2010 16:55:00 -0700 From: Tech Geek techgeek12345@gmail.com Subject: Re: [Mediawiki-l] Accessing User's standard.js file? To: MediaWiki announcements and site admin list mediawiki-l@lists.wikimedia.org Message-ID: AANLkTi=MMFXJ5OsSBWCTi3mZjvLOwL6mqONiogFiUTGK@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1
Thanks. I was able to put the code in but did not help much. For example, I uploaded a file called Test.xls on my Wiki: http://wiki.koolsolutions.com/index.php?title=File:TestFile.xls
But when I click on the link "Edit this file using an external application", all I get is a Firefox Download box (I am using Windows Machine) for index.php instead. How I can edit this excel file in place using MS Excel which is installed on my system.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
End of MediaWiki-l Digest, Vol 85, Issue 44
On 27 October 2010 22:20, Caitlin Dempsey editor@gislounge.com wrote:
I'm using ImageMagick to render SVG images on my wiki but some of the thumbnails have problems with them. For exampled this SVG image has some pixels in the upper left hand corner that shouldn't be there: http://thecatholicguide.com/wiki/File:Arms_of_Basilica.svg My wiki is hosted so my only image converting option is ImageMagick. Is there anything I can do to get better thumbnails?
Unfortunately, probably not. ImageMagick is just not very good at rendering SVGs.
You could try asking your host to install rsvg - it's in most Linux distros. If they can do that, then you can just set your wiki to use that.
- d.
On 10/27/2010 5:20 PM, Caitlin Dempsey wrote:
I'm using ImageMagick to render SVG images on my wiki but some of the thumbnails have problems with them. For exampled this SVG image has some pixels in the upper left hand corner that shouldn't be there: http://thecatholicguide.com/wiki/File:Arms_of_Basilica.svg
My wiki is hosted so my only image converting option is ImageMagick. Is there anything I can do to get better thumbnails?
I'm afraid I can't tell you what to do in general but I can say that in the case of the graphic linked to above, it's the star polygon that's the issue. Note that I don't see the polygon at all when I view the file in Inkscape but ImageMagick *tries* to render it and seems to me to have it in the right place (around the origin) but gets a little confused, apparently. Here is a much reduced version of your file which exhibits the reported behavior.
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="448.79001" height="600.44" id="svg2"> <polygon points=" 0,-1 0.58778525,0.80901699 -0.95105652,-0.30901699 0.95105652,-0.30901699 -0.58778525,0.80901699 0,-1 " transform="scale(53,53)" id="star" /> </svg>
mediawiki-l@lists.wikimedia.org