Some modernization & code cleanup

* Move the Preloader class into its own file + add $wgAutoloadClasses entry
* Coding style tweaks, as per MediaWiki's coding conventions
* Converted from PHP-based i18n to JSON i18n
* Version 1.3 with the appropriate changelog entries and whatnot
* Deprecated Preloader.php (but didn't fully remove it yet) in favor of extension.json -- MediaWiki 1.25 or newer is now required for this extension
* Added myself into authors
* Changed the Special:Version URL back to MediaWiki.org as it should be the canonical location for extension (and skin etc.) documentation; since this is an updated version of [[mw:Extension:Preloader]] it should be no problem to update that page to point to the correct repository etc.
* Tweak the README file to account for new MW requirements + extension loading method
* Fix $wgPreloaderSource so that it works again ( HT @legoktm )
This commit is contained in:
Jack Phoenix 2017-01-04 18:35:26 +02:00 committed by SamanthaNguyen
parent 3399b6cf3e
commit 3120aeb750
58 changed files with 534 additions and 462 deletions

View file

@ -1,5 +1,11 @@
Preloader Changelog
===================
## 2017-01-04 Version 1.3 - Jack Phoenix
* Code cleanup
* Support for JSON-based internationalization (i18n) files
* Support for extension registration (extension.json)
* MediaWiki 1.25 or newer is now required
## 2015-01-03 Version 1.2.2 - Troy Engel
* Add composer.json to support Composer (Pierre Rudloff)
* Submit composer package to Pkgist