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

File usage statistics are not transitively propagated #5545

Open
manuel-hegner opened this issue Oct 23, 2023 · 0 comments
Open

File usage statistics are not transitively propagated #5545

manuel-hegner opened this issue Oct 23, 2023 · 0 comments
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error

Comments

@manuel-hegner
Copy link

Setup

  • SMW version: 4.1.2
  • MW version: 1.39.5
  • PHP version: 8.1.24 (fpm-fcgi)
  • DB system (MySQL, Blazegraph, etc.) and version: MariaDB 10.6

Issue

Detailed description of the issue:

We have a page Facts that contains a semantic property storing the name of a non-existing image. Facts also displays this image (which creates a redlink at this point). Another page Book queries information from Facts via an ask query and shows the image from the property if it exists (via {{#ifexist:). If you now upload the image, the file usage of the image will only show Facts, but not Book, even though both now show the image in the rendered page. After a dummy edit is made on Book the file usage now shows both pages correctly.

Links to the specific wiki:

@manuel-hegner manuel-hegner added the bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error
Projects
None yet
Development

No branches or pull requests

2 participants
@manuel-hegner and others