-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modernize for MW 1.31 and PHP 7 #4
base: master
Are you sure you want to change the base?
Conversation
jnwatts
commented
Nov 15, 2018
- Move to extension.json style
- Replace class constructors with __construct
- Replace addHeadItem with addModules
- Update parser hook callback
- Default to SSL database connection
* Move to extension.json style * Replace class constructors with __construct * Replace addHeadItem with addModules * Update parser hook callback * Default to SSL database connection
I don't use this extension anymore and cannot test your changes, because I don't have this setup. If you want to take over the repo (it isn't even originally my code), I can forward users to your fork. |
Did you ever make contact with the original author? In their stead, I'd be happy to take up the "semi-official" repository as I've been relying on the extension for a few years now. |
I have not really contacted the original author, but as far as I've seen, @ianhomer is aware that the forked repo exists and that it has been maintained a bit longer. I'll add a link to your fork, so people can use your improvements. I'll keep the old repo for some time, but I'll remove it in a year or so. Is it ok? |
That'd be fine by me :-) |
The previous modernization commit incorrectly called setHook instead of setFunctionHook. Further, it was apparently not tested at all. This change adds the intended parser function support and corrects the erronous implementation of the tag extension. Invocation can now be either: {{#bugzillareports arg=val|arg2=val2}} or <bugzillareports arg=val arg2=val2 />
PHP 7 removed split function
arg no longer needed
Update Split function and remove unused frame from function