Hello, all.
I've always been a big fan of Mediawiki and of free software in general,
but one thing I struggle with in extending the wiki I work on is adding
adding code to the the head of the HTML. ResourceLoader may be terrific
from a performance perspective, but it is an absolute nightmare for this
small scale developer. I'm a self-taught programmer, and my eyes just glaze
over when I look at the documentation. Yet it is something that I often
need to do, for Google Analytics, Google Custom Search, to make a custom
media player (that does what I want it to do), etc.
I'm looking for a short snippet of code - just something that I can paste
into LocalSettings.php that will take the contents of specific variable and
paste it into the head of every HTML page on the wiki. That's it.
I bet it could be done in 10 lines of code and it would be so helpful for
our site. Yet I'm sure it would take me 5 very frustrating hours for me to
figure it out, as I find some of the documentation quite opaque. Would
anyone be willing to program this? I'm happy to pay consulting fees. If you
want to give it away for free after, more power to you.
Forest