[Mediawiki-l] Editor and save article

Michael Heyder Info at hafenvolleyballer.de
Thu Sep 20 20:41:27 UTC 2007


Alexis Moinet schrieb:
> Michael Heyder wrote :
>> So i fetched some code of the editpage.php and tried to use this.
> 
> just out of curious : why don't you simply use the existing EditPage class instead of copying some part of it ? (I used to believe that re-use was one of the main point of using classes)
> 
> something probably close to :
> 
> $editor = new EditPage( $article );
> $editor->submit();
> 
> 
> 	
Once Again Mic,

could it be the problem, that I wanna integrate the editor on a 
Specialpage 'Spezial:Neue_Seite'

I'm really frustrated, that so many undefined toolbar buttons 
areproduced. Even if I ad a normal textarea with the id='wpTextbox1'
these undefined buttons are produced.

So , does really no one knows a solution
regards
mic




More information about the MediaWiki-l mailing list