Thread:Project:Support desk/Editing Howto realize a Userdialog after uploading a file

Hello,

I'am writing an extension which reads PDF files after uploading it to my Mediawiki 1.16. Now, I want to realize a kind auf "Userdialog" after Uploading, making the User able to select which pages to import to the wiki.

My first approach was to hook into "UploadComplete" - But after my routine is fired, I can't display anything because after the return statement, MW displays it Uploading summary. My second thought, was to run a exit / die before the return in order to display the userdialog... but thats seems to be not the right way either...

So, what's the best strategy to solve this problem?

bye

Tobi