[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pragma supplementation-page



On Mon, Sep 08, 2025 at 12:21:21PM +0100, Jonathan Dowland wrote:
> 
> Hi,
> 
> On Mon Sep 8, 2025 at 11:33 AM BST, Andrew Sayers wrote:
> > So how about we (I) convert all the existing Discussion links to
> > #pragma's before the migration?
> 
> Yes I think we should do that.
> 
> There are approximately 162 discussion pages¹  which we could treat as an
> upper-bound on the number of Discussion links; I'm working on a more
> accurate estimate based on page content but I haven't finished. I think it
> will be an order of magnitude smaller.
> 
> > https://salsa.debian.org/AndrewSayers/mediawiki-recommendations/-/tree/main#mass-editing-moinmoin-pages
> 
> This is very useful, thank you. Note: I think you have forgotten to commit
> ./bin/open-pages.py.

Ah, I forgot to update the README when I renamed it to `pages-to-links.py`.
Fixed now - thanks!

> [1] ls -1d *\(2f\)Discussion* | wc -l

I've been playing around with `bin/get-interesting-strings.pl` today.
I'll make it easier to use and add it to the README once I've slept on it,
but for now you need to create a `data` symlink in the repo's base directory,
pointing to the dump's `data` directory.  Then `make interesting-strings.txt`
will create a tab-separated value file with interesting snippets from the wiki.
The HEAD commit adds /Discussion links, and finds 1,059 of them :s


Reply to: