From 3561813a9846160ccc71f3cffb5681b27d95a4a7 Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Wed, 2 Jun 2021 00:47:05 +0200 Subject: [PATCH] [[snapshot]]: 2021-06-02 00:47:05 Affected files: "agora mediawiki integration.md" --- agora mediawiki integration.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/agora mediawiki integration.md b/agora mediawiki integration.md index 3d1435523..b522ac00e 100644 --- a/agora mediawiki integration.md +++ b/agora mediawiki integration.md @@ -1 +1,6 @@ -- [[metasj]] There's no RC for cat membership, but [https://www.mediawiki.org/wiki/API:Categorymembers](https://www.mediawiki.org/wiki/API:Categorymembers) returns a full current list, and for incremental updates [https://www.mediawiki.org/wiki/API:Usercontribs](https://www.mediawiki.org/wiki/API:Usercontribs) with ucshow=new returns new pages created by a user. \ No newline at end of file +- [[metasj]] There's no RC for cat membership, but [https://www.mediawiki.org/wiki/API:Categorymembers](https://www.mediawiki.org/wiki/API:Categorymembers) returns a full current list, and for incremental updates [https://www.mediawiki.org/wiki/API:Usercontribs](https://www.mediawiki.org/wiki/API:Usercontribs) with ucshow=new returns new pages created by a user. +- [[metasj]] The only schema would be (extracting local agora name from mw page-title prefix). Other processing: Link extraction would be looking at each wikilink on the MW page and a) converting to an agora link if the target is also a \[\[category:agora\]\] page, b) interpreting other \[\[localname:title\]\] links or \[[https://url](https://url) external links\] as agora links if the target agora is known (and the localname: is not also the name of a local MW namespace) + +[](https://matrix.to/#/!DfbyTwWWuvihTOSPmV:matrix.org/$5V3pmpB11o03LKXFO5ePorcdhaqy8dldWyfbK1TOBt4?via=matrix.org) + +Related MW plugin: "cascading wikilinks" -- a patch to the link-generator JS widget, which currently automatically generates the proper MW markdown for an external URL or a local wikipage, that a) recognizes a cascading list of agoras. So I can write "flancia:agora", link it, press enter, and have it resolve b) option: automatically adds a footnote w/ a "see also: \[\[article\]\]" when there's an entry in a Wikimedia-namespace w/ the same term. \ No newline at end of file