There's the following footnote on the first page of Deligne-Mumford:
The idea of enlarging the category of varieties for the study of moduli spaces is due originally, we believe, to A. Weil.
So, what could supposedly have been the definition of a moduli space according to older-style algebraic geometry? This is in contrast to the modern definition of a fine moduli space being a representable functor, and the similar but slightly more involved definition for coarse moduli space.
The idea behind moduli spaces is very, very old, and can be formulated without functors and schemes. The moduli of a geometric object are just some parameters which determine it (as far as I understand it). If the set of these parameters can be endowed with the structure of a variety, we get a (coarse) moduli space.
For example, a conic section is cut out by a polynomial of the form $A_1 x_0^2 + A_2 x_1^2 + A_3 x_3^2 + 2 B_1 x_0 x_1 + 2 B_2 x_0 x_2 + 2 B_3 x_1 x_2$. The conic section only depends on the point $[A_1:A_2:A_3:B_1:B_2:B_3]$ in $\mathbb{P}^5$. Accordingly, the moduli space of conic sections is $\mathbb{P}^5$. (This includes also the degenerate conic sections. If you want to exclude them, consider the open subset of $\mathbb{P}^5$ on which the determinant $\Delta = \det(A_1,B_1,B_2;B_1,A_2,B_3;B_2,B_3,A_3)$ does not vanish).