Steven Walling wrote:
I'm aware that Special:CommunityHiring was built directly by WMF staff, but I was wondering if there was anyone else involved/aware of how it was built that could give me a rough spec on it? I'm considering building an equivalent but much simpler/shorter version for my own purposes and understand there's no documentation available.
It's a pretty simple extension. It's using HTMLForm,[1] which seems pretty straightforward if you take a look at the code.[2] For your purposes, you probably don't even need one of the four files (internationalization).
As you can see, there's not _no_ documentation, but it's pretty sparse. The code will be your guide and you have a clean, recent example written by someone competent with the "CommunityHiring" extension. You can always expand the documentation on MediaWiki.org after you finish your project. ;-)
As always, there's #mediawiki on freenode and the mediawiki-l mailing list if you get stuck or have other questions.
One quick thing to note: it looks like the extension stores all of its user-input data into a blob in the database (check ch_data in tables.sql). This is somewhat nicer if you don't know how many input values you're going to have and don't feel like writing a generic database backend, but the data blob method can make selecting and parsing the data much more annoying later. You might want to normalize the data in the database.
MZMcBride
[1] http://www.mediawiki.org/wiki/HTMLForm [2] http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CommunityHiring/