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

MediaWiki Internal error with RecentChanges #923

Open
maro-21 opened this issue Aug 6, 2023 · 5 comments
Open

MediaWiki Internal error with RecentChanges #923

maro-21 opened this issue Aug 6, 2023 · 5 comments
Labels
service:wiki The project wiki on wiki.openstreetmap.org

Comments

@maro-21
Copy link

maro-21 commented Aug 6, 2023

How to reproduce the issue:

  1. Go to https://wiki.openstreetmap.org/wiki/Special:RecentChanges
  2. Go to "Namespace" field and choose any, e.g. "Talk"
  3. Click "Show"
  4. The result is https://wiki.openstreetmap.org/w/index.php?namespace=1&tagfilter=&users=&title=Special%3ARecentChanges with
Internal error
[6d04f84bbe18ec3c67845a77] 2023-08-06 13:35:09: Fatal exception of type "TypeError"

When I remove "&users=" from the URL, it will work
https://wiki.openstreetmap.org/w/index.php?namespace=1&tagfilter=&title=Special%3ARecentChanges

But the URL generated by MediaWiki doesn't work.

I think it's because the "users" parameter can't be empty. I can type any username and it works, but what if I want to browse changes from all users?

Wiki discussion

@tomhughes
Copy link
Member

What exactly do you expect us to do about it though? It sounds like it's a bug in mediawiki?

@maro-21
Copy link
Author

maro-21 commented Aug 6, 2023

I don't know, look at the server logs? We from a Wiki (or even Wiki admin) perspective can't do anything.

@tomhughes
Copy link
Member

The word TypeError does not appear anywhere in our logs for the last few weeks - most likely the exception is being caught in software reported back to the client without being logged.

As such there is little we can do beyond logging an error upstream which will be extremely painful and probably of limited benefit.

@mmd-osm
Copy link

mmd-osm commented Aug 6, 2023

I'm assuming you're talking about this one here:

image

I'm wondering why are you even pressing the "Show" button in the first place? That's only useful, in case you want to filter on one or multiple user names.

You can add a filter for namespaces: https://wiki.openstreetmap.org/wiki/Special:RecentChanges?hidebots=1&hidecategorization=1&hideWikibase=1&namespace=1&limit=50&days=7&enhanced=1&urlversion=2 and that brings up a list of all Talk-related changes for all users. There's really no need for the "Show" button.

image

@1ec5
Copy link

1ec5 commented Aug 11, 2023

The “Users” text field is provided by the CleanChanges extension. (It’ll also provide a page language filter once the Translate extension is installed: #649.)

@pnorman pnorman added the service:wiki The project wiki on wiki.openstreetmap.org label Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service:wiki The project wiki on wiki.openstreetmap.org
Projects
None yet
Development

No branches or pull requests

5 participants