**Author:** `cyril.buttay`
**Description:**
Hi,
I'm struggling with figure numbering in articles, because it has to be done
manually at the moment. An automatic figure numbering system in the way of the
cite.php extension would make it a lot simpler and would avoid errors when
modifying an article. An identical system for equations would also be great.
The LaTeX code for this is very simple (at least from the user point of view!):
the \label{<nameoftheanchor} command is used in the equation or the figure (and
is respectively replaced during compilation by "(1)" or "Fig. 1") and the
command \ref{<nameoftheanchor>} is placed wherever you need to refer to the
label (and is respectively replaced at compilation-time by "(1)" or "figure 1").
I have no real idea of the amount of work such an extension would require (I had
a look at Cite.php, and I can imagine it is quite a lot...), but I think it is
of great importance for long wikipedia articles (and might even be mandatory for
wikibooks!).
What do you think?
Cyril
--------------------------
**Version**: unspecified
**Severity**: enhancement