Hello,
I am writing a special page extension that does a mass creation of articles. Since there will be a lot of articles created, the extension takes some time to finish, especially when putting in some sleep-time.
The user should have some kind of progress information, which could be a single text line.
My problem is, that the page is only displayed once before the user hits the start button and once after the code has finished.
Is there a way to place some output on the screen without exiting the extension code?
Thank you for help, GunterS
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Gunter wrote:
My problem is, that the page is only displayed once before the user hits the start button and once after the code has finished.
Is there a way to place some output on the screen without exiting the extension code?
Not really within the framework, no.
Outputting partial HTML isn't very reliable (especially when buffering and compression are used). You could maybe do some fancy AJAX system.
- -- brion vibber (brion @ wikimedia.org)
mediawiki-l@lists.wikimedia.org