(V2.1 on MW1.23)
Upon first loading of the page, the thumbs in the gallery do not get opened with FancyBox but instead link to the respective file page. Only after re-loading the page with the gallery does it work.
This is what I see at first in the Java-Console of Firefox:
<code>ReferenceError: fbtFancyBoxOptions is not defined ReferenceError: fbtFancyBoxOptions is not defined</code> <code>Stack-Trace:</code> <code>@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=ext.FancyBoxThumbs%7Cext.gadget.HotCat%7Cjquery.checkboxShiftClick%2Chidpi%2ChighlightText%2CmakeCollapsible%2Cmw-jump%2Cplaceholder%2Csuggestions%2CtabIndex%7Cmediawiki.action.view.postEdit%7Cmediawiki.api%2Ccldr%2Chidpi%2CjqueryMsg%2Clanguage%2CsearchSuggest%2Cuser%7Cmediawiki.api.watch%7Cmediawiki.language.data%2Cinit%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cskins.vector.collapsibleNav&skin=vector&version=20151019T075613Z&*:33:843</code> <code>@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=ext.FancyBoxThumbs%7Cext.gadget.HotCat%7Cjquery.checkboxShiftClick%2Chidpi%2ChighlightText%2CmakeCollapsible%2Cmw-jump%2Cplaceholder%2Csuggestions%2CtabIndex%7Cmediawiki.action.view.postEdit%7Cmediawiki.api%2Ccldr%2Chidpi%2CjqueryMsg%2Clanguage%2CsearchSuggest%2Cuser%7Cmediawiki.api.watch%7Cmediawiki.language.data%2Cinit%7Cmediawiki.libs.pluralruleparser%7Cmediawiki.page.ready%7Cmediawiki.page.watch.ajax%7Cskins.vector.collapsibleNav&skin=vector&version=20151019T075613Z&*:32:1</code> <code>runScript@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:156:934</code> <code>execute/</checkCssHandles@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:157:353</code> <code>execute/</cssHandle/<@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:157:483</code> <code>jQuery.Callbacks/fire@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:13:1</code> <code>jQuery.Callbacks/self.fireWith@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:15:253</code> <code>jQuery.Callbacks/self.fire@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:15:296</code> <code>addEmbeddedCSS@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:152:1</code> <code>addEmbeddedCSS/<@http://my.wiki.net/load.php?debug=false&lang=de-ch&modules=jquery%2Cmediawiki&only=scripts&skin=vector&version=20151019T072552Z:151:453</code>
After re-loading the page there is no Java-error at all.
Does this mean that one '''has''' to define fbtFancyBoxOptions
? This would make options non-optional. :) I cannot check right now but will get back with my findings.