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

T11699: Use jobs and hooks to automate checking that a domain is pointed #24

Closed
wants to merge 20 commits into from

Conversation

redbluegreenhat
Copy link
Contributor

No description provided.

@redbluegreenhat redbluegreenhat marked this pull request as ready for review January 21, 2024 18:35
SQL will need regenerating
@Universal-Omega Universal-Omega self-requested a review January 21, 2024 19:35
@redbluegreenhat redbluegreenhat changed the title T11699: Use jobs and hooks to automate checking that a domain is pointed [Do Not Merge] T11699: Use jobs and hooks to automate checking that a domain is pointed Jan 23, 2024
@redbluegreenhat redbluegreenhat changed the title [Do Not Merge] T11699: Use jobs and hooks to automate checking that a domain is pointed T11699: Use jobs and hooks to automate checking that a domain is pointed Jan 23, 2024
@redbluegreenhat redbluegreenhat changed the title T11699: Use jobs and hooks to automate checking that a domain is pointed [Do Not Merge] T11699: Use jobs and hooks to automate checking that a domain is pointed Jan 23, 2024
@redbluegreenhat redbluegreenhat changed the title [Do Not Merge] T11699: Use jobs and hooks to automate checking that a domain is pointed T11699: Use jobs and hooks to automate checking that a domain is pointed Jan 23, 2024
$requestSslManager->fromID( $this->params['requestID'] );
$isPointed = false;
$hookContainer = $mwServices->getHookContainer();
$hookContainer->run( 'RequestSSLDomainCheck', [&$requestSslManager, &$isPointed] );
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding hooks, I have to register this hook on extension.json before usage, I don't think this will even work.

CreateWiki registers them in HookHandler like this. https://github.com/miraheze/CreateWiki/blob/3f8003973176c2225894dc39d73f1fe3a8e8275e/extension.json#L113

https://github.com/miraheze/CreateWiki/tree/master/includes/Hooks

@redbluegreenhat
Copy link
Contributor Author

Closing. I'm going to start from zero on this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant