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

extension Authremoteuser breaks maintenance/refreshLinks.php #11

Open
mattias-holm opened this issue Feb 3, 2017 · 1 comment
Open

Comments

@mattias-holm
Copy link

Hi,

With Authremoteuser loaded I'm unable to run the refreshLinks.php maintenance script unless I set the REMOTE_USER env. Relevant part of error message is "InvalidArgumentException from line 98 of /opt/web/mediawiki-1.28.0/extensions/Authremoteuser/AuthRemoteuser.body.php: Invalid user name"

Also, probably related to the above problem, setting a category([[category:test]] on a page does not add to the categorylinks table, why one have to run refreshLinks.php manually.

/Mattias

@fnk
Copy link
Contributor

fnk commented Feb 3, 2017

Yes, setting REMOTE_USER for maintenance scripts is necessary, see #7 .
I will update the README accordingly.

Unless you need to automate those actions via cron, you can also install the extension Maintenance and trigger the scripts via the page Wiki/Spezial:Maintenance.

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

No branches or pull requests

2 participants