Currently many users of MediaWiki are unable to use the maintenance scripts due to their hosts not providing shell or telnet access - I myself have this problem. I am writing to ask your opinions on creating a special page (or series of special pages) to combat this problem.
I could implement it as a special page in which users fill out a form and it performs the task. This would be the best solution because having multiple special pages would clutter the list and probably only one user would be using it.
Although it could easily be implemented as an extension I think that if it could be accessed via a single wg setting users would not come to the mailing lists and IRC channel asking about how they can do such a thing and improve the user experience.
Yours, Robert.
Robert Leverington wrote:
Currently many users of MediaWiki are unable to use the maintenance scripts due to their hosts not providing shell or telnet access - I myself have this problem. I am writing to ask your opinions on creating a special page (or series of special pages) to combat this problem.
I could implement it as a special page in which users fill out a form and it performs the task. This would be the best solution because having multiple special pages would clutter the list and probably only one user would be using it.
Although it could easily be implemented as an extension I think that if it could be accessed via a single wg setting users would not come to the mailing lists and IRC channel asking about how they can do such a thing and improve the user experience.
Yours, Robert.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
It would be a nice thing..but I don't think it will be needed on wikimedia wikis..
Won't it time-out if used from the web?
Have you tried php shell http://mgeisler.net/php-shell/ It time-out too
On 02/04/07, Mohamed Magdy mohamed.m.k@gmail.com wrote:
Robert Leverington wrote:
Currently many users of MediaWiki are unable to use the maintenance scripts due to their hosts not providing shell or telnet access - I myself have this problem. I am writing to ask your opinions on creating a special page (or series of special pages) to combat this problem.
I could implement it as a special page in which users fill out a form and it performs the task. This would be the best solution because having multiple special pages would clutter the list and probably only one user would be using it.
Although it could easily be implemented as an extension I think that if it could be accessed via a single wg setting users would not come to the mailing lists and IRC channel asking about how they can do such a thing and improve the user experience.
Yours, Robert.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
It would be a nice thing..but I don't think it will be needed on wikimedia wikis..
This is the main reason I am asking here, it could be enabled via a simple configuration option, e.g. $wgEnableOnlineMaintenace = true; (by default false). If this would not be accepted into the main codebase I would write an extension instead.
Won't it time-out if used from the web?
Have you tried php shell http://mgeisler.net/php-shell/ It time-out too
The php timeout can be increased via a built in MediaWiki function.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Robert.
Robert Leverington <lcarsdata@...> writes:
On 02/04/07, Mohamed Magdy <mohamed.m.k@...> wrote:
Robert Leverington wrote:
[...]
Won't it time-out if used from the web?
Have you tried php shell http://mgeisler.net/php-shell/ It time-out too
The php timeout can be increased via a built in MediaWiki function.
If it takes longer, even the browser can time out. A very simple solution to avoid this would be to just send out e.g. blanks continously. This will however produce php warnings about headers already sent (if they are enabled) when trying to send out a wiki page after that.
"Andreas R." newsgroups2005@geekmail.de wrote in message news:loom.20070403T011957-223@post.gmane.org...
Robert Leverington <lcarsdata@...> writes:
On 02/04/07, Mohamed Magdy <mohamed.m.k@...> wrote:
Robert Leverington wrote:
[...]
Won't it time-out if used from the web?
Have you tried php shell http://mgeisler.net/php-shell/ It time-out too
The php timeout can be increased via a built in MediaWiki function.
If it takes longer, even the browser can time out. A very simple solution to avoid this would be to just send out e.g. blanks continously. This will however produce php warnings about headers already
sent
(if they are enabled) when trying to send out a wiki page after that.
Well, you could send out a short header text "Working..." and periodically send another period through. At the end you add a "Completed" message and use javascript to redirect (with a NOSCRIPT tag providing a clickable link). Would that avoid a browser time-out? Add a shut-down handler to report "FAILED - Timeout" and you should deal with that issue too (assuming the shutdown handler gets called in this situation...)
- Mark Clements (HappyDog)
wikitech-l@lists.wikimedia.org