Issue:Addlasteditor crashes new article

From FollowTheScore
Revision as of 21:16, 15 March 2010 by Maiden taiwan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Description: addlasteditor crashes when saving a new article
Extension / Version: DPL   /   1.8.9
Type / Status: Bug   /   open

Problem

Edit a new article and add a DPL query that contains addlasteditor. Save. The page will crash on save, probably because there is no last editor yet. error_log says:

[Mon Mar 15 16:12:26 2010] [error] [client nn.nn.nn.nn] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/w/extensions/Cite/Cite_body.php on line 658, referer: http://mysite/w/index.php?title=Template:Lasteditor&action=edit&redlink=1

Test case:

{{#dpl:
|namespace={{NAMESPACE}}
|titlematch={{PAGENAME}}
|skipthispage=no
|addlasteditor=true
|mode=inline
}}

Take away "addlasteditor=true" and the save works. Then add "addlasteditor=true" again, and everything is fine. It's only for new articles.

Reply