Last modified: 2012-04-26 22:02:23 UTC
1. Create an index page named Index:1 with a link to Page:1.png. 2. Create a page Page:1.png with the following content: <pages index="1" from="1.png" to="1.png" /> 3. Create a page in the main namespace with the following content: <pages index="1" from="1.png" to="1.png" /> You will get: Fatal error: Maximum function nesting level of '100' reached, aborting! This should be handled more gracefully.
I have submitted a change https://gerrit.wikimedia.org/r/#q,Ic4e878dec84a4cde8ebb455dee5370b1deaaa4f1,n,z for review. This change disables nested <pages> transclusion completely.
Similar case to bug 36157. It turns out MediaWiki can handle this situation (I had enabled unconfigured xdebug extension), however the result is quite ugly: https://test2.wikipedia.org/wiki/Beau%27s_playground so I recommend the fix to be merged.