Or is wanted to get really hacky, preg_replace everything that is not
part of the $wgExtensionCredits tag out and just send the tag to eval
(). :)
-X!
On Aug 9, 2010, at 7:02 AM, Roan Kattouw wrote:
2010/8/9 Jeroen De Dauw
<jeroendedauw(a)gmail.com>om>:
Hey,
I'm looking for a way to collect existing extension meta-data from
the SVN
repo and maybe also the extension pages on
MediaWiki.org. Does
anyone know
of scripts/tools that already do this?
Depending on what metadata you need, the $wgExtensionCredits variable
could be your friend. Note that the extension doesn't need to actually
be installed: in most cases you can get away with just locating the
file that contains the $wgExtensionCredits assignment and require()ing
that file. This will probably fail in some cases, but most setup files
only contain assignments.
Roan Kattouw (Catrope)
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l