[pmwiki-users] PmWiki.org attachments cleanup
nzskiwi at gmail.com
Tue Mar 25 14:04:01 CDT 2014
I imagine that a script could be written that identified the attachments on
each page and move them to the individual page upload directory.
Actually, it would not be an insurmountable effort to do this manually,
there are few "real" attachments in PmWiki - they are disabled in most
and the cookbook ones are fairly clear.
On 26 March 2014 01:54, michael paulukonis <xraysmalevich at gmail.com> wrote:
> But there isn't a an automated migration path from
> upload-directories-per-group to upload-directories-per-page, is there?
> At 1800+ recipes and 2500+ uploads, that's a lot to handle manually.
> I've been meaning to look at the Attach: code, to see how it could be made
> to "fall-back" to one or the other if the attached-file is not found.
> Something like that would allow us to use per-page going forward, and give
> us time to clean-up the back-catalog.
> Unless that behavior already exists, and I missed it?
> -Michael Paulukonis
> <http://goog_2112721603>Interference Patterns (a blog)<http://www.xradiograph.com%5Cinterference>
> @XraysMonaLisa <https://twitter.com/XraysMonaLisa>
> Sent from somewhere in the Cloud
> (hearthrug, by the fender)
> On Tue, Mar 25, 2014 at 3:24 AM, Simon <nzskiwi at gmail.com> wrote:
>> I think that there is a good case to be made for using upload
>> directories per page<http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin#uploaddirectoryconfiguration>
>> Is there a recipe that can show uploads that are not linked to from any
>> On 25 March 2014 05:21, michael paulukonis <xraysmalevich at gmail.com>wrote:
>>> Although we can help cleanup spam and other malicious editing activities
>>> directly on the web, there's no way to remove bad images.
>>> I don't really think that THIS image illustrates any cookbook recipe:
>>> It was uploaded just the other day:
>>> - Cookbook <http://www.pmwiki.org/wiki/Cookbook/Cookbook> /
>>> sirseal.jpg<http://www.pmwiki.org/pmwiki/uploads/Cookbook/sirseal.jpg>. . . March 19, 2014, at 07:35 PM Uploaded by ? to
>>> Editing <http://www.pmwiki.org/wiki/Cookbook/Editing> (7284 bytes)
>>> Could be more in
>>> Is there a pagelist that can list all uploads in a group that don't
>>> exist as links on a page?
>>> Supposedly AttachlistEnhanced can do this:
>>> There's a HUGE list of orphan Cookbook images (included as a demo) @
>>> At least one of the "orphan" uploads in the list is linked-to from a
>>> abctunebook.zip can be found @
>>> -Michael Paulukonis
>>> <http://goog_2112721603>Interference Patterns (a blog)<http://www.xradiograph.com%5Cinterference>
>>> @XraysMonaLisa <https://twitter.com/XraysMonaLisa>
>>> Sent from somewhere in the Cloud
>>> (hearthrug, by the fender)
>>> pmwiki-users mailing list
>>> pmwiki-users at pmichaud.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users