mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 08:50:07 +00:00
06b821a451
The biggest issue with this code was that it was tracking the exact same state in two ways: Processed array elements got removed from the $argv array, *and* the $cnt was decremented the same time. This is not necessary and a potential source of confusion and errors. I carefully transformed the code. I'm sure it still does exactly what it did before. The tests should prove this. Change-Id: I642d38e7944aa3e2239179fa58e1e231b4698263 |
||
---|---|---|
.. | ||
ApiQueryReferences.php | ||
Cite.php | ||
CiteCSSFileModule.php | ||
CiteDataModule.php | ||
CiteHooks.php |