On 8/26/10 6:46 PM, Tim Starling wrote:
On 27/08/10 03:57, Trevor Parscal wrote:
> It got me thinking that [the CSSmin class] would be
> pretty useful to non-MediaWiki projects too, but sadly we don't have a
> history of sharing in this way...
You should put
it in PEAR. Very few people are going to find it if
it's just in the MediaWiki core, regardless of what directory you put
it in.
So, you suggest we maintain it in 2 places (where we
use it in
MediaWiki core and where people have access to it), and ask that others
push changes back to where?
Tim's right...putting it in PEAR is a great way to signal "this is a
reusable component; please reuse this".
PEAR isn't a source of truth; it's a distribution channel. In order to get
discovered and used, libraries need to be in a distribution channel that
people use. Many people use PEAR, other people use Linux distribution
repositories.
svn.wikimedia.org would continue to be the original source repository for
the library, but PEAR would be one of many distribution channels. The PEAR
version would only get updated each time you release the library.
Rob