Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

jnwatts
Copy link

@jnwatts 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
@nakal
Copy link
Owner

nakal commented Nov 15, 2018

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.

@jnwatts
Copy link
Author

jnwatts commented Nov 15, 2018

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.

@nakal
Copy link
Owner

nakal commented Nov 19, 2018

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?

@jnwatts
Copy link
Author

jnwatts commented Nov 19, 2018

That'd be fine by me :-)

Josh Watts and others added 7 commits February 12, 2019 15:11
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
Update Split function and remove unused frame from function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants