On Tue, Jun 30, 2009 at 2:09 PM, Brion Vibber<brion(a)wikimedia.org> wrote:
Just shooting out a quick thought before I forget
again -- it would be
helpful in a number of places to be able to reference "internal"
software-provided images from wikitext.
A primary example is for help pages and inline explanatory text in parts
of the UI which we want to be able to customize. This is something
that's coming up a lot in things the Usability crew is working on --
folding the wiki markup cheat sheet into mini-help pages accessible from
the editor, having screen shots for skins and features so users can see
what things are about before enabling them, etc.
One "simple" implementation could be to slip in a custom FileRepo, so
they could be referred to just like other images:
To be slightly more complex, we could give them a unique sub-namespace
of some sort, or strip out hardcoded extensions so that types can be
Skins might want/need to be able to override certain names, too... and
we might consider about needs for localized images -- whether RTL/LTR
only or actually making translations available.
Wikitech-l mailing list
A built-in FileRepo would be nice. Pretty straightforward to implement,
wouldn't require any major changes to put in place. We could easily
put some standard descriptions into the i18n files and load those for
the page's info.
Make sure to place it higher in the priority than any custom-defined
remote repos, or we'll end up loading the remote repo's images that
we already have locally.