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

Comments for Prevent MediaWiki showing PHP version with new extension: ControlSpecialVersion #1047

Open
phinjensen opened this issue Nov 11, 2017 · 4 comments

Comments

@phinjensen
Copy link
Contributor

phinjensen commented Nov 11, 2017

Comments for https://www.endpointdev.com/blog/2014/10/prevent-mediawiki-showing-php-version/
By Greg Sabino Mullane

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
@phinjensen
Copy link
Contributor Author

original author: Federico
date: 2015-12-30T06:59:47-05:00

If your purpose is to hide the information from potential attackers, you should probably start from the API: https://bucardo.org/bucardowiki/api.php?action=query&meta=siteinfo&siprop=general

@phinjensen
Copy link
Contributor Author

original author: Jon Jensen
date: 2015-12-30T16:41:33-05:00

Good point, Federico!

@phinjensen
Copy link
Contributor Author

original author: Greg Sabino Mullane
date: 2015-12-31T08:05:01-05:00

Thanks, Federico, I will add something to modify things via the APIQuerySiteInfoGeneralInfo hook in a future version. Until then, $wgEnableAPI = false; is the quick fix. :)

@phinjensen
Copy link
Contributor Author

original author: Greg Sabino Mullane
date: 2016-01-28T12:42:32-05:00

Version 1.4 has been released with the API changes.

See: https://www.mediawiki.org/wiki/Extension:ControlSpecialVersion

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

No branches or pull requests

1 participant