Index: trunk/extensions/MetavidWiki/includes/MV_MetavidInterface/MV_Overlay.php |
— | — | @@ -548,7 +548,7 @@ |
549 | 549 | //@@todo update for other smw types: |
550 | 550 | if($key=='smw_Spoken_By'){ |
551 | 551 | //update the request wpTextBox: |
552 | | - $_REQUEST['wpTextbox1']="[[".$swmTitle->getText().':='.$val.']] '. |
| 552 | + $wgRequest->data['wpTextbox1']="[[".$swmTitle->getText().':='.$val.']]'. |
553 | 553 | trim($_REQUEST['wpTextbox1']); |
554 | 554 | } |
555 | 555 | } |
— | — | @@ -566,12 +566,12 @@ |
567 | 567 | //$wgOut->addHTML($out); |
568 | 568 | $mvTitle = new MV_Title($_REQUEST['title']); |
569 | 569 | |
570 | | - $parserOutput = $this->parse_format_text($_REQUEST['wpTextbox1'], $mvTitle); |
| 570 | + $parserOutput = $this->parse_format_text($wgRequest->data['wpTextbox1'], $mvTitle); |
571 | 571 | $wgOut->addParserOutput($parserOutput); |
572 | 572 | return $wgOut->getHTML() . '<div style="clear:both;"><hr></div>'; |
573 | 573 | } |
574 | 574 | |
575 | | - if($editPageAjax->edit()==false){ |
| 575 | + if($editPageAjax->edit($wgRequest->data['wpTextbox1'])==false){ |
576 | 576 | if($mvd_id=='new'){ |
577 | 577 | //get context info to position timeline element: |
578 | 578 | $rt = (isset($_REQUEST['wgTitle']))?$_REQUEST['wgTitle']:null; |