D10184: Port mediawiki runner to Plasma5/Qt5
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Mon Jan 29 18:15:07 UTC 2018
kossebau created this revision.
kossebau added reviewers: broulik, jriddell, davidedmundson, sebas.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
kossebau requested review of this revision.
REVISION SUMMARY
Straight initial port of existing logic, with separate plugin metadata files
for different services. Perhaps could be changed to have just one normal
plugin, but with a config UI where the user can edit a list of
mediawiki-running servers and individual trigger words per server.
Left for another step/developer for now.
TEST PLAN
A bug in Milou (kde #389611) prevents normal testing for now.
One can increase that reset timeout to some big value, e.g.
m_resetTimer.setInterval(3000);
in the Milou::SourcesModel constructor to work around the bug.
Then enable the mediawiki plugins you want to test, e.g. the
Wikipedia one, and enter in KRunner "wiki kde plasma"
REPOSITORY
R114 Plasma Addons
BRANCH
portmediawiki
REVISION DETAIL
https://phabricator.kde.org/D10184
AFFECTED FILES
runners/CMakeLists.txt
runners/mediawiki/CMakeLists.txt
runners/mediawiki/mediawiki.cpp
runners/mediawiki/mediawiki.h
runners/mediawiki/mediawikirunner.cpp
runners/mediawiki/mediawikirunner.h
runners/mediawiki/plasma-runner-techbase.desktop
runners/mediawiki/plasma-runner-userbase.desktop
runners/mediawiki/plasma-runner-wikipedia.desktop
runners/mediawiki/plasma-runner-wikitravel.desktop
To: kossebau, broulik, jriddell, davidedmundson, sebas
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180129/6b8759d4/attachment.html>
More information about the Plasma-devel
mailing list