summaryrefslogtreecommitdiff
path: root/swext/mediawiki
AgeCommit message (Collapse)Author
2022-03-07cid#1500542 swext: Wiki Publisher: "Insecure TLS version"Michael Stahl
Change-Id: I4b481cae6c1e13d34ea5a6dc3ff35a3b03ee281a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131005 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
2021-04-11Get rid of apache-commons-loggingStephan Bergmann
...using Java 1.4 java.util.logging.Logger instead also for the last remaining uses in reportbuilder. (The mention in swext/mediawiki/src/THIRDPARTYLICENSEREADME.html was presumably a leftover from 4b6ceed4a4a9b152905a8b1712ffb9bd61373c16 "swext: Wiki Publisher does not use those apache-commons libraries".) Change-Id: Ia0bc598fe5844ced11cae497548ec7d09453a99d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113939 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-11Apache Commons Codec/HttpClient/Lang are no longer bundledStephan Bergmann
...ever since a41a4a22f1a7e82ab64f28b71f5ce6acc1c04921 "remove now unneeded apache-commons libs" Change-Id: I197063d6a2f34d4800383ead1f55da47054e67af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113831 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-03-22cid#1473816 Dereference null return valueCaolán McNamara
Change-Id: Iebafaa477670041d184a5d01221355fca61a5e62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112878 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-22cid#1473739 Resource leak on an exceptional pathCaolán McNamara
and cid#1474111 Resource leak on an exceptional path Change-Id: Iea50865f975b9b8281da78b2dc63ff43bcb07c2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112876 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2019-08-12Fix typosAndrea Gelmini
Change-Id: I4a334f1f40c829ddffb93cd8a41f0a9c8e65d5d8 Reviewed-on: https://gerrit.libreoffice.org/77279 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-26Fix typoAndrea Gelmini
"noncommited" Change-Id: Ia22431edf221d3824d84512f0e77dbb1758f35cd Reviewed-on: https://gerrit.libreoffice.org/75982 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-15Help files: http -> httpsSophia Schröder
+ some more conservative changes Change-Id: I28ca18b962ffe42ca8b2938de606b30d2692855c Reviewed-on: https://gerrit.libreoffice.org/63194 Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-11-09Related: tdf#121134: Changing http to https where possibleSophia Schröder
Change-Id: I6d99873416d9679f330a471b1f836f084bd5d0c9 Reviewed-on: https://gerrit.libreoffice.org/63092 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-09Related: tdf#121134: Changing http to https where possibleSophia Schröder
Change-Id: I3a8d66f97a9e33c9415a469c2c6e7a6b5df89248 Reviewed-on: https://gerrit.libreoffice.org/63091 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-24remove notice about cite.phpdennisroczek
The extension Cite is distributed with MediaWiki 1.21 (released May 2013) and is integrated in core since MediaWiki 1.25. No need to keep that notice any longer. Change-Id: I8a91fbb45bc6f410b551c206177d63c584349c37 Reviewed-on: https://gerrit.libreoffice.org/51795 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-26tdf#39468: Translate some random German comments and termsJens Carl
Change-Id: I5499676506a7570482388eb153f4667785b016ed Reviewed-on: https://gerrit.libreoffice.org/42770 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-20Clean up xsl filesSamuel Mehrbrodt
* Remove trailing spaces * Use 4 spaces for indentation everywhere See discussion at https://lists.freedesktop.org/archives/libreoffice/2017-September/078433.html Change-Id: I0bb9a0b9b0502cdf0870529cea37ee9c4d1ffdf4 Reviewed-on: https://gerrit.libreoffice.org/41009 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-06-11tdf#80671: mediawiki, no superscript tags allowed in footnotesJulien Nabet
Change-Id: I54c2cc0fc6b2a9c631fc83f59c2204dd5e374d2c Reviewed-on: https://gerrit.libreoffice.org/38666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-10tdf#97743: mediawiki accountJulien Nabet
To find main url in header section, search link containing: - load.php - or opensearch_desc.php In Wikipedia or wiki.documentfoundation.org, I haven't seen any link with index.php Change-Id: Iccb27aa8aaaf936faf8ec3b3f67eaa98d0426f19 Reviewed-on: https://gerrit.libreoffice.org/38631 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-10Typo in mediawiki: height and width mixedJulien Nabet
It'll change nothing since InsertThrobber function (which contains these args) are called with value=10 for both vars Just for sanity sake then Change-Id: Ie084a5a3cb15a121574aa0d06b43f1a6d34c0d09 Reviewed-on: https://gerrit.libreoffice.org/38639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-07tdf#98888: mediawiki inserts redundant emptylines in <ref>Julien Nabet
There's a newline in case of heading, table or bibliography following text:p ok but only if we're not in text:note node Change-Id: I71172751a51e29abdd770e758d27b1bc8f15cb0d Reviewed-on: https://gerrit.libreoffice.org/38470 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-05-29tdf#33831 swext: mention images by name in the mediawiki exportArianna Masciolini
odt files with pictures exported in mediawiki format now contain references to each image Change-Id: Idd73da997e2fe983899dd4514d3c393b3607a52d Reviewed-on: https://gerrit.libreoffice.org/38160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-09-27MediaWiki export help: “WikiMedia” → “MediaWiki”; minor copyeditingAdolfo Jayme Barrientos
Why is “wiki” always capitalized? It’s not a proper name. Change-Id: I55941f192e149dc93a6576e5ca21edac78299cb4
2016-06-06remove unused imports in java codeNoel Grandin
Change-Id: I95041f49dd22ba9a15da3598b04a010eecf761a8
2016-03-14remove some unused Java codeNoel Grandin
found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-02setListenerState does nothingCaolán McNamara
and thus callStatusListener does nothing so there seems no reason to have a m_statusListeners which is filled by addStatusListener but not emptied by removeStatusListener Change-Id: I7efdf7ccfd123bf7c2aa6add4f8db969a0019089
2016-02-23cid#1326858 Eq: Problems with implementation of equals()Noel Grandin
Change-Id: If87666e6e4ac9397ac44bed805fc7c83ad357105
2016-02-23cid#1327459 BC: Bad casts of object referencesNoel Grandin
Change-Id: Ibf80ea0a0f1afbd8269c79d7a7f6f0703567df94
2016-02-23cid#1327465 Eq: Problems with implementation of equals()Noel Grandin
Change-Id: I63921f5a84adcb3d1e562327fd1f47282efe6fbd
2016-02-06coverity#1326198 Dereference after null checkCaolán McNamara
Change-Id: I3db353d04094ba47fe915ea5dc4d96fc4612cc68
2016-02-06coverity#1326498 Resource leak on an exceptional pathCaolán McNamara
Change-Id: I28b848ef94039e4c79242599b2031b8789857a46
2016-01-23cid#1326434, 1326446, 1326248, 1326254jan iversen
null pointer dereferencing, added null check Change-Id: I78f3ee1eb5d5bd4ebe7b3a6775db4884859dbcf6 Reviewed-on: https://gerrit.libreoffice.org/21712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-15coverity#1326413 Dereference null return valueCaolán McNamara
Change-Id: Icd3728ca151ede50ab41ad7fbb150a3054df6739
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-12Killed the 'lastedited' element, it's useless, we have git.Jan Holesovsky
Change-Id: I61a7f92843ef888f64eb5b97267ba30227d64d73
2015-11-05java: combine nested if statementsNoel Grandin
Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
2015-10-20coverity#1326963 RV: Bad use of return valueCaolán McNamara
Change-Id: I86aaa7904b3d6e551dcaf0e8d207bea2f2f134c3
2015-10-20coverity#1327463 Dm: Dubious method usedCaolán McNamara
Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
2015-10-20coverity#1327464 Dm: Dubious method usedCaolán McNamara
Change-Id: I7fb3182f181909a289f4253370904215518c1f23
2015-10-15coverity#1326241 Dereference after null checkCaolán McNamara
Change-Id: I54c00e1d4e5ebccf141293cd97d99efeebda1083
2015-10-14java:remove unused importsNoel Grandin
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-09swext: increment the extension version number to 1.2.0Michael Stahl
... and also set the User-Agent header so the servers know who's messing with them. Change-Id: I0173db05868c5fcd0f85435adf78884ca562596d
2015-10-09swext: add a logging out stream to help debugging TLS connectionsMichael Stahl
Change-Id: Idbabae3edad5e95a37fa9834d24a72ebd13087ae
2015-10-09swext: remove commons-httpclient dependency from Wiki PublisherMichael Stahl
JRE 6 has sufficient HttpURLConnection etc. stuff to make this work without bundling external libraries. Change-Id: I6c71980c718169024006f02a96c442a71d798d55
2015-09-30Fix typosAndrea Gelmini
Change-Id: I92f9eda138c387dde3095e1a6281bdcec3a2adde Reviewed-on: https://gerrit.libreoffice.org/18982 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-06-15java: 'final static' to 'static final'Noel Grandin
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20odt2mediawiki.xsl: ensure the node selectionRobert Antoni Buj Gelonch
Change-Id: I78d773feaa1766904d455bd9ff5f9ea79c7b6dce Reviewed-on: https://gerrit.libreoffice.org/15801 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-19odt2mediawiki.xsl: hide table of contents if there is a customized tocRobert Antoni Buj Gelonch
Change-Id: I3be7f0929db94658ac1eabb0996364f53b52034c Reviewed-on: https://gerrit.libreoffice.org/15795 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-18odt2mediawiki.xsl: tabulation in toc entriesRobert Antoni Buj Gelonch
Change-Id: I596bd1c8814efcf2070d3e6d2ff126c03c0ec168 Reviewed-on: https://gerrit.libreoffice.org/15785 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-27tdf#75360 tdf#90474 line breaks in exporting to mediawikiRobert Antoni Buj Gelonch
Change-Id: Icb44653a9286c8bfbe912f391f0492fe49498f58 Reviewed-on: https://gerrit.libreoffice.org/15449 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27odt2mediawiki.xsl: vertical & horizontal align of a imageRobert Antoni Buj Gelonch
Change-Id: I45cdffe132a796ccf06023f4465a2633df1926f3 Reviewed-on: https://gerrit.libreoffice.org/15544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27tdf#75531 failed to convert the marginsRobert Antoni Buj Gelonch
Change-Id: I025c4c14bcae9c925809f44425fabb6bc3d66806 Reviewed-on: https://gerrit.libreoffice.org/15451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27tdf#75019 bookmarks in exporting to mediawikiRobert Antoni Buj Gelonch
Add support for exporting common bookmarks Add support for going to a specific bookmark (including TOC) Change-Id: I2775d8b03a5bd986ffcbdf7c95a1fbed755e3bd6 Reviewed-on: https://gerrit.libreoffice.org/15486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>