The key difference in your econometrics reference with the usual MLE/CE is the non-IID assumption in econometrics time series as mentioned on the same page.
There is a subscript $i$ on $f$ to allow for the possibility that each $Y_i$ has a distinct probability distribution... In time series and panel data problems there is often dependence among the $Y_i$’s.
Therefore there's a need to introduce a new random vector $Y_{i−}=\{Y_1, . . . , Y_{i−1}\}$ to account for such temporal dependence where each actually observed value for this new random vector is notated as $y_{i−}$.
Based on this background knowledge, it's now straightforward by simple substitution of above definition to your concerned RHS of the equation to arrive at LHS's joint density (mass) function $f(y)$ of the random vector $Y$, where $y$ is a generic outcome from the sample space $\Omega$ of the random vector $Y=\{Y_1, . . . , Y_i\}$ in measure-theoretic formal language of probability space.
Finally $L$ is usually the notation for likelihood function in statistics. Since the above LHS is nothing but joint distribution of the random series $Y$, it of course makes sense to notate as (joint) likelihood with the global parameters $\theta$ which is already employed on the same page of your reference. Because it's a non-IID time series, each conditional distribution term $f_i$ in your quoted equation may be different and more importantly as discussed in your another recent post to form meaningful MLE/CE loss function in non-IID cases for inference purpose you need to sample many cross-sectional data vector to get IID MLE. Then the final IID MLE for a very random and long time series in reality based on all those cross-sectional data could be very small and thus bounded above. With further simplified state-space model assumptions such as $f_i(y_i|x_i;θ)=f(y_i|x_i;θ)$ mentioned on your same referenced page and universal function approximators such as deep neural networks MLE will likely converge to find at least some local minimum in the parameters landscape to minimize its equivalent NLL/CE approximately.
To summarise, the notation $L(y;\theta) = \prod_{i=2}^{n} f_{i}(y_i|y_{i-};\theta) f_{1}(y_1)$ for non-IID sequential data and $L(y;\theta) = \prod_{i=1}^{n} f_{i}(y_i;\theta)$ for INID cross sectional data can be simplified $L(y;\theta) = \prod_{i=2}^{n} f(y_i|y_{i-};\theta)g(y_1)$ for a stationary sequence and $L(y;\theta) = \prod_{i=1}^{n} f_{i}(y_i;\theta)$ for IID cross-sectional data.