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

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #23 from Krinkle <[email protected]> 2012-01-01 23:15:24 UTC ---
So it determines that a remove file exists by checking if it is used anywhere
according to global usage. That's a smart idea. Although maybe not semantically
correct, it should be good in practice.

If there is a link to an image on a local wiki and the image doesn't exist on
the local wiki, it's going into global usage.

One problem though, right now the system works in such a way that if a file
exists neither locally nor in the repository, globalusage catches it, not the
local wiki (meaning, it's added to GlobalUsage as a redlink, not to the local
wiki as a redlink). This is means four things.

Three good things, which would hold us back from changing this behaviour
* 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
* 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.
* It acts a little bit like a global WantedFiles, files that are wanted by
multiple wikis.

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

-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to