summaryrefslogtreecommitdiff
path: root/swext
AgeCommit message (Collapse)Author
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: Wiki Publisher does not use those apache-commons librariesMichael Stahl
... itself, they were apparently just dependencies of commons-httpclient, so remove them. Change-Id: I8fd5c85db058c4aa14c4f5fea20fd17ba361b0b2
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>
2015-04-20odt2mediawiki.xsl: table cell color in cell attributesRobert Antoni Buj Gelonch
Change-Id: I44f1969a227a811cdb740b387e30cf10994360b9 Reviewed-on: https://gerrit.libreoffice.org/15445 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-20odt2mediawiki.xsl: reuse table cell code, check USE_DEFAULT_TABLE_CLASS, use ↵Robert Antoni Buj Gelonch
current vbles Change-Id: Iedaddf11604b13c7db1d2b588a5f205f691ea2b4 Reviewed-on: https://gerrit.libreoffice.org/15440 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-20odt2mediawiki.xsl: improve export filterRobert Antoni Buj Gelonch
Replace <text>&#10;</text> with <value-of select="$NL"/> Image + Add the alternative text in a image + Add support for image align with wrap='none' Paragraph + Replace <center></center> tags + Add support for background-color and font-color Table: * Cell: + Use align element + Add support for background-color and font-color + If all cells have the same style then specify that in the row section * Table: + Add support for table align and table width * Row: + Fix new line at the end of the row * Header + Treat the header like the row Text: + Add support for background-color and font-color Change-Id: Icd7196006b6d06d6c0c030d967686ed8f8a5e454 Reviewed-on: https://gerrit.libreoffice.org/15391 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-01-05java: remove more dead codeNoel Grandin
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: remove dead codeNoel Grandin
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2014-12-10java: unused importsNoel Grandin
Change-Id: I05824a6f19a5f3048a52101b96f6bf3d3099df08 Reviewed-on: https://gerrit.libreoffice.org/13403 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05java: remove some unused local variablesNoel Grandin
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
2014-12-05java: remove some unused fieldsNoel Grandin
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56