Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
Anyway, would it be OK to set up a PD template repository on mediawiki.org, and if so, what method(s) could be used for distributing it? 1- shipped with MW by default 2- extension???? 3- special:export
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
thanks Brianna
On Wed, Nov 5, 2008 at 8:09 PM, Brianna Laugher brianna.laugher@gmail.comwrote:
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
To answer your last question, there's been an open bug requesting image exporting for quite some time now.
As a (semi-crappy) workaround, you could theoretically point a ForeignApiRepo at commons/mw.org and get all the images you'd need, but I'd hardly suggest this feature being used en masse. It's far too fragile.
-Chad
Brianna Laugher schrieb:
Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Yes, indeed. A collection of simple, nice and clean templates, for people to import, would be quite nice.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
It would make sense to make a Bundeling/download service for this kind of stuff, based on a category that collects all pages and images of such a set. Similar to what we now have for extensions with Special:ExtensionDistributor -- perhaps make it Special:BundleExport or some such.
SVG should be allowed for upload per default, if the installer detects an appropriate renderer. That would be nice.
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or tar(gz) archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either, I suppose.
On a related note, see http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format for some thoughts about things missing from the current XML dump format.
-- daniel
Hoi, Sharing templates is a wish I have had for a long time. The biggest issue with such templates is language or better the lack of support for languages. Without this templates are useless for any language except for the original language. There are solutions for this, but they exist outside of MediaWiki but can be integrated in MediaWiki as has already been demonstrated. Thanks, GerardM
On Thu, Nov 6, 2008 at 9:54 AM, Daniel Kinzler daniel@brightbyte.de wrote:
Brianna Laugher schrieb:
Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Yes, indeed. A collection of simple, nice and clean templates, for people to import, would be quite nice.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
It would make sense to make a Bundeling/download service for this kind of stuff, based on a category that collects all pages and images of such a set. Similar to what we now have for extensions with Special:ExtensionDistributor -- perhaps make it Special:BundleExport or some such.
SVG should be allowed for upload per default, if the installer detects an appropriate renderer. That would be nice.
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or tar(gz) archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either, I suppose.
On a related note, see http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format for some thoughts about things missing from the current XML dump format.
-- daniel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
It's not really a big issue. Not everything has to be an answer for all people. I would hate to think we would hold back anything based on the limited base we can support. That means we are never better than our lowest common denominator.
---Mike
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Gerard Meijssen Sent: Thursday, November 06, 2008 4:26 AM To: Wikimedia developers Subject: Re: [Wikitech-l] Template and (icon) image packages - extensions?
Hoi, Sharing templates is a wish I have had for a long time. The biggest issue with such templates is language or better the lack of support for languages. Without this templates are useless for any language except for the original language. There are solutions for this, but they exist outside of MediaWiki but can be integrated in MediaWiki as has already been demonstrated. Thanks, GerardM
On Thu, Nov 6, 2008 at 9:54 AM, Daniel Kinzler daniel@brightbyte.de wrote:
Brianna Laugher schrieb:
Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Yes, indeed. A collection of simple, nice and clean templates, for people to import, would be quite nice.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
It would make sense to make a Bundeling/download service for this kind of stuff, based on a category that collects all pages and images of such a set. Similar to what we now have for extensions with Special:ExtensionDistributor -- perhaps make it Special:BundleExport or some such.
SVG should be allowed for upload per default, if the installer detects an appropriate renderer. That would be nice.
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or tar(gz) archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either,
I
suppose.
On a related note, see http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format for some thoughts about things missing from the current XML dump format.
-- daniel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hoi, Sorry, I do not have a clue what you are trying to say... I do not have a clue what you base it on, why should anyone hold anything back ??? Thanks, GerardM
On Thu, Nov 6, 2008 at 5:18 PM, Praising Jesus 1611kjb@gmail.com wrote:
It's not really a big issue. Not everything has to be an answer for all people. I would hate to think we would hold back anything based on the limited base we can support. That means we are never better than our lowest common denominator.
---Mike
-----Original Message----- From: wikitech-l-bounces@lists.wikimedia.org [mailto:wikitech-l-bounces@lists.wikimedia.org] On Behalf Of Gerard Meijssen Sent: Thursday, November 06, 2008 4:26 AM To: Wikimedia developers Subject: Re: [Wikitech-l] Template and (icon) image packages - extensions?
Hoi, Sharing templates is a wish I have had for a long time. The biggest issue with such templates is language or better the lack of support for languages. Without this templates are useless for any language except for the original language. There are solutions for this, but they exist outside of MediaWiki but can be integrated in MediaWiki as has already been demonstrated. Thanks, GerardM
On Thu, Nov 6, 2008 at 9:54 AM, Daniel Kinzler daniel@brightbyte.de wrote:
Brianna Laugher schrieb:
Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Yes, indeed. A collection of simple, nice and clean templates, for people to import, would be quite nice.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
It would make sense to make a Bundeling/download service for this kind of stuff, based on a category that collects all pages and images of such a set. Similar to what we now have for extensions with Special:ExtensionDistributor -- perhaps make it Special:BundleExport or some such.
SVG should be allowed for upload per default, if the installer detects an appropriate renderer. That would be nice.
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or
tar(gz)
archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either,
I
suppose.
On a related note, see http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format for some thoughts about things missing from the current XML dump format.
-- daniel
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
2008/11/6 Daniel Kinzler daniel@brightbyte.de:
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or tar(gz) archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either, I suppose.
Hey Daniel,
If I organise a bundle of, say, 20 templates, will you help/teach me to set up such scripts for an extension and/or create Special:ImportBundle?
cheers Brianna
Hi Brianna
Brianna Laugher schrieb:
2008/11/6 Daniel Kinzler daniel@brightbyte.de:
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
I suppose one sane way of doing this would be to make a (pk)zip or tar(gz) archive of a) an xml-dump of the appropriate pages and b) the images used in them. Writing a shell script to unpack the bundle, and the run importImages.php on the images and importDump.php on the XML would be trivial enough. Writing Special:ImportBundle would be nicer, and not too terribly complex either, I suppose.
If I organise a bundle of, say, 20 templates, will you help/teach me to set up such scripts for an extension and/or create Special:ImportBundle?
Hm... it's not so hard, but not quite trivial either. How much experience to you have writing extensions?
It's an interesting little project, and I'd be happy to do it -- but at the moment, I either do it on Wikimedia's time, or I don't do it. So, I'll have to ask if they want it :) I think there's a good chance, but it's not high priority, so it may take a while.
-- daniel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Daniel Kinzler wrote:
On a related note, see http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format for some thoughts about things missing from the current XML dump format.
Added a couple notes... http://brightbyte.de/page/Extending_MediaWiki%27s_dump_format#talkhere
- -- brion
OK, I started a page about it: http://www.mediawiki.org/wiki/Template_repository
If you have some idea about required templates or requirements for these templates, please add them.
thanks Brianna
2008/11/6 Brianna Laugher brianna.laugher@gmail.com:
Hi,
I was thinking last night that it might be cool if there was a kind of "template repository" for people to copy templates from for their own MediaWiki. Copying them from Wikipedia etc while possible tends to be very nasty and/or ugly due to extreme nestedness.
Actually, with the Help: pages on mediawiki.org, I had an idea that these would eventually ship by default with MediaWiki. Is that still the plan? I think it's a good idea - plenty of people may never come back to mediawiki.org after installing, and it's just so convenient to already have those pages in your wiki. And the special:export instructions are ok but kind of a pain (you have to upload the images yourself? oh and enable SVGs? joy).
Anyway, would it be OK to set up a PD template repository on mediawiki.org, and if so, what method(s) could be used for distributing it? 1- shipped with MW by default 2- extension???? 3- special:export
Could an extension avoid the need for manually uploading images? (Or, is there any prospect that files will work properly with special:export?)
thanks Brianna
-- They've just been waiting in a mountain for the right moment: http://modernthings.org/
wikitech-l@lists.wikimedia.org