Thread:Project:Support desk/A html input text box to fetch the value/reply

Where you want to add this input field? Normally there are two possible ways:

Through a hook:

If you're using a Hook you can add contents to the output of MediaWiki on several places with an extension. Here you normally have a way to get the actual instance of OutputPage (e.g. through a class inherited from IContextSource and the method IContextSource::getOutput or, if there is really no way (what i don't think) with the global variable $wgOut). With OutputPage::addHtml you can add plain html content, which will be visible on the page the user see.

On a special page:

With a special page extension you will do your stuff in the execute function of your SpecialPage class. There you can get the output page through SpecialPage::getOutput and add Html content with OutputPage::addHtml.

To create the input field i suggest to use the Html and Xml classes provided by MediaWiki, e.g. with Html::input. If you want to create a full form (i think you want) i suggest to use HTMLForm.