Fix crasher in [[es:Edad_Contemporánea]].

Works around bug 71135 in [[mw:Extension:CommonsMetadata]].

Change-Id: Iad61f165a123045ca04018c123d74cd15dabfa85