Thread:Project:Support desk/Pagecontent Help/reply (3)

@Florianschmidtwelzow Thanx for your response.Actually in mediawiki 1.12 what we did, we created one customized module like page_precontent and page_postcontent two column we added in page table, by using our module user can add what should print at the beginning of the content and what should print at end of the content can able to add and modify. For ex consider "Test_Page" is containing original content like "Hi This is test Page", by using our customized extension user have to enter only the title of the page then two text area user can able to see ,like precontent and post content, if user is adding some text in precontent text area like "This this before text" and in post content text area like "This is end of the content", if you load the page "Test_Page" it will show like

This this before text Hi This is test Page This is end of the content

In mediawiki 1.12 we customized the article.php like below in custom code you can see.,

public function outputWikiText( $text, $cache = true ) { global $wgParser, $wgUser, $wgOut, $wgEnableParserCache;

$popts = $wgOut->parserOptions; $popts->setTidy(true); $popts->enableLimitReport; /**************** CUSTOME CODE **************************/

$this->mPreContent = Title::getPreContent($this->mTitle); $this->mPostContent= Title::getPostContent($this->mTitle); $text = $this->mPreContent.$text.$this->mPostContent; /******************************************************** In mediawiki 1.21 im not able to find where to make this change.