我要取消全部的訂單
<mediawiki-l-request(a)lists.wikimedia.org> 于 2019年9月27日周五 下午8:03写道:
Send MediaWiki-l mailing list submissions to
mediawiki-l(a)lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
or, via email, send a message with subject or body 'help' to
mediawiki-l-request(a)lists.wikimedia.org
You can reach the person managing the list at
mediawiki-l-owner(a)lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
1. three tips hoped (JFC Morfin)
2. Re: three tips hoped (Brian Wolff)
3. Re: three tips hoped (Gregory Rundlett)
----------------------------------------------------------------------
Message: 1
Date: Fri, 27 Sep 2019 02:01:08 +0200
From: JFC Morfin <jefsey(a)jefsey.com>
To: site admin list <mediawiki-l(a)lists.wikimedia.org>
Subject: [MediaWiki-l] three tips hoped
Message-ID:
<mailman.80.1569585604.1093.mediawiki-l(a)lists.wikimedia.org>
Content-Type: text/plain; charset="us-ascii"; format=flowed
Hi!
For more than a decade I publish my own working groups, personnal
uses, etc. wikis. I have hundreds of "bliks": I mean a mediawiki
under SQLite + mailman + side services. Each wiki under SQLite can
be easily transfered to other machines (privare or on line) and
replicated on several local machines (for private use and backup) in
using dropbox. The configuration is set-up with a script creating the
directories, most of them being symbolic links to a main wiki
configuration, one per machine.
This may sound crazy but it works well. Now, not being a PHP nor SQL
programmer I would need help on three issues:
* what is the command to know the mediawiki version I use?
* on different "bliks", i.e. these SQLite supported wikis, I need to
get the same page (a glossary) to be locally present. Is there a way
to maintain a page on a single SQLight wiki and to get it replicated
on others (I just need the current version of the page, not its history) ?
* is there a command I could use (also in a script) to enter
references to pdf or image files I could then click form wikipages.
Thanks a lot for any help.
jfcm
------------------------------
Message: 2
Date: Thu, 26 Sep 2019 18:27:11 -0700
From: Brian Wolff <bawolff(a)gmail.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] three tips hoped
Message-ID:
<
CA+oo+DWT6qz9V-QYT8XPS4LfOx75sCxRjzi2vD_i0NwtbQpqtw(a)mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
To get the version, the easiest is just looking at special:version.
From a script you could probably do something like
echo 'echo $wgVersion' | php eval.php
If you are in the maintenance directory. Or just grep
includes/DefaultSettings.php
Alternatively you can use the mediawiki api (possibly using curl if from
the command line) e.g.
https://www.mediawiki.org/w/api.php?action=query&meta=siteinfo
For replicating id suggest special:import and special:export (or the api or
maintenance script equivs)
You can edit pages from script by using edit.php maintenance script (or of
course the api & curl)
--
Brian
For replicating a page i would s
On Thursday, September 26, 2019, JFC Morfin <jefsey(a)jefsey.com> wrote:
Hi!
For more than a decade I publish my own working groups, personnal uses,
etc. wikis. I have hundreds of "bliks": I mean a mediawiki under SQLite +
mailman + side services. Each wiki under SQLite can be easily transfered
to other machines (privare or on line) and replicated on several local
machines (for private use and backup) in using dropbox. The configuration
is set-up with a script creating the directories, most of them being
symbolic links to a main wiki configuration, one per machine.
This may sound crazy but it works well. Now, not being a PHP nor SQL
programmer I would need help on three issues:
* what is the command to know the mediawiki version I use?
* on different "bliks", i.e. these SQLite supported wikis, I need to get
the same page (a glossary) to be locally present. Is there a way to
maintain a page on a single SQLight wiki and to get it replicated on
others
(I just need the current version of the page, not
its history) ?
* is there a command I could use (also in a script) to enter references
to
pdf or image files I could then click form
wikipages.
Thanks a lot for any help.
jfcm
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
Message: 3
Date: Fri, 27 Sep 2019 06:04:32 -0400
From: Gregory Rundlett <greg(a)equality-tech.com>
To: MediaWiki announcements and site admin list
<mediawiki-l(a)lists.wikimedia.org>
Subject: Re: [MediaWiki-l] three tips hoped
Message-ID:
<
CACNkPPaFUViTcyh4GYMGN9+Fxj2h3jRVL6E5GbEQFp8MXhKz9A(a)mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
On Thu, Sep 26, 2019, 8:02 PM JFC Morfin <jefsey(a)jefsey.com> wrote:
Hi!
For more than a decade I publish my own working groups, personnal
uses, etc. wikis. I have hundreds of "bliks": I mean a mediawiki
under SQLite + mailman + side services. Each wiki under SQLite can
be easily transfered to other machines (privare or on line) and
replicated on several local machines (for private use and backup) in
using dropbox. The configuration is set-up with a script creating the
directories, most of them being symbolic links to a main wiki
configuration, one per machine.
This may sound crazy but it works well. Now, not being a PHP nor SQL
programmer I would need help on three issues:
* what is the command to know the mediawiki version I use?
Visit the Special:Version page on your wiki.
* on different "bliks", i.e. these SQLite supported wikis, I need to
get the same page (a glossary) to be locally
present. Is there a way
to maintain a page on a single SQLight wiki and to get it replicated
on others (I just need the current version of the page, not its history)
?
You want the Lingo extension (
https://www.mediawiki.org/wiki/Extension:Lingo)
and a default database that has the content.
* is there a command I could use (also in a script) to enter
> references to pdf or image files I could then click form wikipages.
I'm not sure what you're asking for here. But if you install the PdfHandler
extension (
https://www.mediawiki.org/wiki/Extension:PdfHandler), you'll
have previews of your PDF files. If you're trying to enter references to
these files from the page editor, then all the editor's I'm aware of
support inserting files.
~ Greg
------------------------------
Subject: Digest Footer
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
------------------------------
End of MediaWiki-l Digest, Vol 192, Issue 15
********************************************