https://bugzilla.wikimedia.org/show_bug.cgi?id=6220

--- Comment #25 from Bawolff <bawolff...@gmail.com> 2012-01-01 23:33:04 UTC ---
[mid air collision]
>This is used to fix things if a file in the repo was deleted and is restored,
>the usage in globalusage is still there and can be restored if needed

I'm not sure I understand. Do you mean If a file at commons is deleted then
restored? the outer join on image should take care of that (I'm assuming that
global usage is in the same db as commons is). If you mean the
local file was deleted/restored I assumed that would re-add/delete the entries
in global usage. Is that incorrect?


>* This is used by gadget authors to track global usage. They make a comment in
>the script with the [[File:]] syntax in it with an inexisting file name.
>Requesting global usage for it will yield locations of copies of the script.
>This one can be worked around by uploading a bogus image to the repo, were this
>behavior to change and only tracking usage of existing images.

Hmm, that is an interesting hack. At the end of the day, those would still
appear in special:wantedfiles if it was working properly. I don't really think
we should worry too much about that, having special:wantedfiles into a somewhat
working direction even with such links is an improvement over the current
situation.

>It acts a little bit like a global WantedFiles, files that are wanted by
>multiple wikis.

Well in my example query i filter by gil_wiki to do only one wiki. But we could
also make a special:globallywantedfiles which gives the most wanted file across
all the wikis.


>One bad thing that can compromise Bawolff's proposal:
>* Being in globalfileusage does not mean the file exists there...

I'm not sure I know what you mean. My proposal relies on the fact that there
are entries in globalusage for files that don't exist on the commons repo.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to