Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Maintaining (and thus editing) SVGs' text like wiki text-pages

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


achim at uni-bielefeld

Jul 9, 2012, 7:17 AM

Post #1 of 5 (141 views)
Permalink
Maintaining (and thus editing) SVGs' text like wiki text-pages

Hello

It is now quiet silent, since 19. June, after I opened this topic about on 6th
june on wikipedia. The latest discussion is stored at
URL http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2012/06#Maintaining_.28and_thus_editing.29_SVGs.27_text_like_wiki_articles

I wonder what has happened. This was also the 3rd different try/community on
wikimedia where I opened this subject but noone felt responsible. I hope I'm
not too impatient to get a response here about the current status, don't I?

Thanks,
achim

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


z at mzmcbride

Jul 9, 2012, 5:27 PM

Post #2 of 5 (128 views)
Permalink
Re: Maintaining (and thus editing) SVGs' text like wiki text-pages [In reply to]

Achim Flammenkamp wrote:
> It is now quiet silent, since 19. June, after I opened this topic about on 6th
> june on wikipedia. The latest discussion is stored at
> URL
> http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2012/06#Maintai
> ning_.28and_thus_editing.29_SVGs.27_text_like_wiki_articles
>
> I wonder what has happened. This was also the 3rd different try/community on
> wikimedia where I opened this subject but noone felt responsible. I hope I'm
> not too impatient to get a response here about the current status, don't I?

Hi.

I looked into this for you. It's not a very complicated situation.

<https://bugzilla.wikimedia.org/show_bug.cgi?id=5899> is a bug titled "Allow
on-wiki editing of SVG images". This bug was marked resolved/fixed by Brion
in 2010 because the original bug was about having the _ability_ for such a
feature (editing SVGS on-wiki) while using the MediaWiki software. This was
implemented in the SVGEdit extension
(<https://www.mediawiki.org/wiki/Extension:SVGEdit>; cf. Brion's comment
here: <https://bugzilla.wikimedia.org/show_bug.cgi?id=5899#c24>. You can
also read the bug's full history (except comments) here:
<https://bugzilla.wikimedia.org/show_activity.cgi?id=5899>.

Where this got off the tracks is that you don't want to re-open bug 5899.
That was a mistake. I marked bug 5899 resolved/fixed again; it should stay
in that state. I filed a separate bug about reviewing and deploying the
SVGEdit extension to Wikimedia wikis here:
<https://bugzilla.wikimedia.org/show_bug.cgi?id=38271>.

CAVEAT: Getting an extension deployed to Wikimedia wikis is usually an
enormous pain in the ass, especially if it's not a priority for the
Wikimedia Foundation. You'll likely need to either commit to fixing the code
yourself or providing the necessary resources to fix the code, assuming you
can get it reviewed by the appropriate person (there are few people in a
position to do this). It's often a very arduous and frustrating process.
Just a fair warning before you get too invested in the idea.

MZMcBride



_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


achim at uni-bielefeld

Jul 10, 2012, 3:04 AM

Post #3 of 5 (126 views)
Permalink
Re: Maintaining (and thus editing) SVGs' text like wiki text-pages [In reply to]

Hi

> I looked into this for you. It's not a very complicated situation.
I agree -- but I get really desperate now, because

*** It is NOT Bug 5899 (editing SVGs on-wiki or similar)! *** :-(

In contrast, it is in principle a simple to solve issue, because
everything already exists:

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* SVG-files should be treated like article-, template-, */
/* user-, category-, talk- ... pages on wikimedia/pedia! */
/* */
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

Thus means version-control tools are usable for SVG-file/SVG-text
and administration of these *svg is like the just listed, NOT like
other (bitmap-/binary-)graphic-files, because SVGs are effectivly
human-readable language-text in strict (XML-) syntax!

WHY do mostly people missunderstand this subject? ;-/
(The thread on wikimedia is so long, because in 80% *I* had to
emphazise, that this is no SVG-editor feature!)

Thanks for giving my posting a thought, even if sadly (once more) a miss-
understanding resulted. :-/ Do I get a new try of someone(somefews) here?
Achim

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


achim at uni-bielefeld

Jul 10, 2012, 4:55 AM

Post #4 of 5 (128 views)
Permalink
Re: Maintaining (and thus editing) SVGs' text like wiki text-pages [In reply to]

What is expected to do next from me regarding this topic?

[. I think it would have been a bit more helpful for all other interested
developpers, if we haven't communicated personaly, but publicly, Merlin. ]

Achim

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


csteipp at wikimedia

Jul 10, 2012, 7:24 AM

Post #5 of 5 (127 views)
Permalink
Re: Maintaining (and thus editing) SVGs' text like wiki text-pages [In reply to]

>> I looked into this for you. It's not a very complicated situation.

There is a security consideration that unfortunately will add some
complexity, if this is going to be deployed on wmf sites. It may be
part of the reason 5899 was never deployed. SVGs can include
javascript which is a security concern, and remote images and css
references which can violate our privacy policy.

So at minimum, we would need to re-run the image through our filtering
(currently UploadBase::detectScript()) before it's saved, and throw an
error if any scripts are detected. Or, we can do what we do with
wikitext and convert/filter the output just before we display it,
according to a set of rules of what entities and attributes are
allowed, which will be very different from the set that are used for
html.

So because of that, I think it will be a bit of work-- but at the same
time I think it's great someone is tackling the issue! Maybe you would
be able to leverage the work that's going on with content type
handling (http://meta.wikimedia.org/wiki/Wikidata/Notes/ContentHandler)?

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.