In this article on wikipedia the templates stop rendering at some point during the article. Is there a limit to article size or the number of templates that is causing this? Or is it just a syntax error which has so far eluded me?
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
This page is still not rendering correctly on Wikipedia. I ran some experiments and have ruled out a syntax error in the article source. It is either a bug in mediawiki or a resource limit on article rendering.
It isn't article size because on Special:Longpages it is in position 158.
Does anyone know if there are limits on cpu usage on wikipedia? Could that explain the problem?
Any suggestions welcome...
On 24/05/07, HumanCell. org humancell@gmail.com wrote:
In this article on wikipedia the templates stop rendering at some point during the article. Is there a limit to article size or the number of templates that is causing this? Or is it just a syntax error which has so far eluded me?
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
hi all,
I know this isn't strictly in the mediawiki domain, but have any of you worked on the Ajax rating script for mediawiki? I was having a few issues implementing it and would really appreciate it if i could get some help with this..
thanks in advance, Arjun.
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org on behalf of HumanCell.org Sent: Fri 5/25/2007 4:13 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [Mediawiki-l] Templates stop rendering mid-page on largearticle on WP
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
This page is still not rendering correctly on Wikipedia. I ran some experiments and have ruled out a syntax error in the article source. It is either a bug in mediawiki or a resource limit on article rendering.
It isn't article size because on Special:Longpages it is in position 158.
Does anyone know if there are limits on cpu usage on wikipedia? Could that explain the problem?
Any suggestions welcome...
On 24/05/07, HumanCell. org humancell@gmail.com wrote:
In this article on wikipedia the templates stop rendering at some point during the article. Is there a limit to article size or the number of templates that is causing this? Or is it just a syntax error which has so far eluded me?
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
HumanCell.org:
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
This page is still not rendering correctly on Wikipedia. I ran some experiments and have ruled out a syntax error in the article source. It is either a bug in mediawiki or a resource limit on article rendering.
It isn't article size because on Special:Longpages it is in position
158.
The page source isn't massive -- but with all those templates, the parsed version of the page would be huge (700k or so). I'm guessing you're right, that you're hitting some kind of limit.
Check the "view source" for that Wikipedia page, and you'll see this comment near the end...
<!-- Pre-expand include size: 292580 bytes Post-expand include size: 119256 bytes Template argument size: 20186 bytes Maximum: 2048000 bytes -->
Parser.php adds this if the template expansion goes over a certain size. So it may be a limit in the parser.
I have to say, I think your basic problem is that the page is just too darned big and complex. From a Wikipedia point of view, it looks a lot like original research, which doesn't belong in Wikipedia, but in some other site which [[Prolog]] can refer to. (See
http://en.wikipedia.org/wiki/Wikipedia:OR
From a technical point of view, yes, MediaWiki should be able to handle
this... check out Parser.php, see if there's a limit that can be tweaked. (I couldn't see one on a quick scan.)
Ian
Thanks for pointing me to the comment in the html source and Parser.php. Is there any chance of increasing maximum page size just a little to make the article render completely?
P.S. not sure why it'd be WP:OR the data is from a peer-reviewed article (see the reference).
On 25/05/07, Ian Smith ismith@good.com wrote:
HumanCell.org:
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
This page is still not rendering correctly on Wikipedia. I ran some experiments and have ruled out a syntax error in the article source. It is either a bug in mediawiki or a resource limit on article rendering.
It isn't article size because on Special:Longpages it is in position
The page source isn't massive -- but with all those templates, the parsed version of the page would be huge (700k or so). I'm guessing you're right, that you're hitting some kind of limit.
Check the "view source" for that Wikipedia page, and you'll see this comment near the end...
<!-- Pre-expand include size: 292580 bytes Post-expand include size: 119256 bytes Template argument size: 20186 bytes Maximum: 2048000 bytes -->
Parser.php adds this if the template expansion goes over a certain size. So it may be a limit in the parser.
I have to say, I think your basic problem is that the page is just too darned big and complex. From a Wikipedia point of view, it looks a lot like original research, which doesn't belong in Wikipedia, but in some other site which [[Prolog]] can refer to. (See
http://en.wikipedia.org/wiki/Wikipedia:OR
From a technical point of view, yes, MediaWiki should be able to handle this... check out Parser.php, see if there's a limit that can be tweaked. (I couldn't see one on a quick scan.)
Ian
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
In case anyone has been following this thread with interest: I spoke to someone on #Mediawiki and they kindly explained that there is no parameter that can be adjusted as this is a hard limit (ie platform dependant). So that explains why I couldn't find the parameter in the source...
Thanks again to all on this list and #Mediawiki.
HumanCell.org escribió:
In this article on wikipedia the templates stop rendering at some point during the article. Is there a limit to article size or the number of templates that is causing this? Or is it just a syntax error which has so far eluded me?
http://en.wikipedia.org/w/index.php?title=Prolog_standards_compliance
Yes, there is. You can check it by viewing the html source: <!-- Pre-expand include size: 2047926 bytes Post-expand include size: 474340 bytes Template argument size: 17753 bytes Maximum: 2048000 bytes --> I substed some hundreds of {{Yes}}, so now it almost renders. (It got <!-- WARNING: template omitted, pre-expand include size too large -->) A single page shouldn't need so many templates. They make it 4 times bigger!
mediawiki-l@lists.wikimedia.org