Thread:Extension talk:Scribunto/Attempt to index local 'protectionLevels' (a nil value).

I'm following https://www.mediawiki.org/wiki/Manual:Importing_Wikipedia_infoboxes_tutorial. Attempting to export Template:Infobox attraction from Wikipedia I get a Script error that says this when I go to to Template:Infobox attraction after a full export/import.

Lua error in Module:Documentation at line 409: attempt to index local 'protectionLevels' (a nil value).

Backtrace:

(tail call): ? Module:Documentation:409: in function "protectionTemplate" Module:Documentation:132: ? (tail call): ? mw.lua:553: ? (tail call): ? [C]: in function "xpcall" MWServer.lua:73: in function "handleCall" MWServer.lua:266: in function "dispatch" MWServer.lua:33: in function "execute" mw_main.lua:7: in main chunk [C]: ?

Does my version of Scribunto not know about protectionLevels?

This is from my Special:Version page. I'm using Ubuntu 12.04 LTS.

MediaWiki 	1.22.1 PHP 	5.3.10-1ubuntu3.10 (apache2handler) MySQL 	5.5.35-0ubuntu0.12.04.2 Lua 	5.1.5

Installed extensions

Parser hooks ParserFunctions (Version 1.5.1)	Enhance parser with logical functions 	Tim Starling, Robert Rohde, Ross McClure and Juraj Simlovic Scribunto 	Framework for embedding scripting languages into MediaWiki pages 	Victor Vasiliev and Tim Starling

Parser extension tags , and

Parser function hooks anchorencode, basepagename, basepagenamee, canonicalurl, canonicalurle, count, defaultsort, displaytitle, explode, expr, filepath, formatdate, formatnum, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, if, ifeq, iferror, ifexist, ifexpr, int, invoke, language, lc, lcfirst, len, localurl, localurle, namespace, namespacee, namespacenumber, ns, nse, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, pos, protectionlevel, rel2abs, replace, rootpagename, rootpagenamee, rpos, special, speciale, sub, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, switch, tag, talkpagename, talkpagenamee, talkspace, talkspacee, time, timel, titleparts, uc, ucfirst, urldecode and urlencode