[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18687: mw: modular MediaWiki interface for Emacs
From: |
Ivan Shmakov |
Subject: |
bug#18687: mw: modular MediaWiki interface for Emacs |
Date: |
Fri, 20 Feb 2015 07:09:35 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Some of the changes to the code are now went public [1, 2].
(Note the s/2014/2015/ year change in the URIs.)
[1] https://am-1.org/~ivan/archives/git/mw-el-2015.git
[2] https://am-1.org/~ivan/archives/git/gitweb.cgi?p=mw-el-2015.git
There, I’ve decided to rewind ‘master’ by three revisions (back
to 05d33edc); then put one of them (with the commit message
edited for better correctness), as well as 4 revisions formerly
of ‘fixes-x54a46898’ (see [3]), and 8 more fresh ones, to the
new ‘exp-x54e65706’ branch.
One of the changes (17ebb542) introduces the “top-level” mw.el
file, which provides a ‘defgroup’, and is required by GNU ELPA.
I hope someone could review if I’ve done this part correctly.
[3] news:87sifu43io.fsf@violet.siamics.net
http://debbugs.gnu.org/18687#msg44
This still leaves some code I’d like to add before pushing the
Git history to GNU ELPA, but I feel I’m roughly halfway of what
I’ve planned for 0.2.
A summary of the changes is as follows.
2fd573e0 New ‘mw-info-princ-alist’ and ‘mw-info-princ-voa’ functions.
The latter generalizes the former ‘vc-mw-print-revisions’.
6d740471 New ‘vc-mw-revision-query-alist’ customizable variable.
This one allows for an empty “continuation cookie” to be
added to all the vc-mw.el queries in order to silence a
warning emitted by newer MediaWiki versions. Also, it
allows for the set of entries shown by vc-print-log to be
customized, – to the extent supported by the remote
MediaWiki instance.
76b50f8c Fixed token logic in ‘vc-mw-buffer-page-info’ and
‘vc-mw-find-revision’.
Now the tokens will be correctly requested whenever the
remote is queried, /except/ for the log (IOW,
‘vc-mw-print-log’.)
b3a39473 New ‘mw-xapi-adjoin-token-request’ function.
bf8a70ce Promote several variables to customizable status.
Namely: ‘mw-api-response-hook’ (which is also marked for
autoloading, as a hook variable with a non-nil default
value), ‘mw-buffer-associate-page-hook’,
‘mw-buffer-endpoint-safe-hook’,
‘mw-buffer-try-file-name-hook’.
215e4a07 Split token handling into new mw-xapi.el off mw-api.el.
Which means that ‘mw-xapi-token’ is the new name for
‘mw-api-token’. Also introduces ‘mw-api-response-hook’.
21f8d096 Bump the version to 0.2 and update copyright years.
This does /not/ include mw.el, as updating that would
(I presume) trigger a release on GNU ELPA.
17ebb542 New mw.el replaces mw-pkg.el, anticipating the forthcoming
GNU ELPA inclusion.
Also introduces ‘mw-buffer’, ‘mw-api’, and the package’s
top-level ‘mw’ customization groups.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
- bug#18687: mw: modular MediaWiki interface for Emacs,
Ivan Shmakov <=