From f523c9718baf12a5bc99e2285bc0666796ab2a97 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Wed, 20 Nov 2013 13:36:22 +0100 Subject: update function calls to changelog functions --- lib/plugins/revert/admin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/admin.php b/lib/plugins/revert/admin.php index 423d67449..ffb6fbc47 100644 --- a/lib/plugins/revert/admin.php +++ b/lib/plugins/revert/admin.php @@ -83,7 +83,8 @@ class admin_plugin_revert extends DokuWiki_Admin_Plugin { // find the last non-spammy revision $data = ''; - $old = getRevisions($id, 0, $this->max_revs); + $pagelog = new PageRevisionLog($id); + $old = $pagelog->getRevisions(0, $this->max_revs); if(count($old)){ foreach($old as $REV){ $data = rawWiki($id,$REV); -- cgit v1.2.3 From 047bad06fab8157452aa0dd04379a7c507b1f39f Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Thu, 21 Nov 2013 21:07:08 +0100 Subject: refactor PageRevisionLog into Media- and PageChangelog extending Changelog --- lib/plugins/revert/admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/admin.php b/lib/plugins/revert/admin.php index ffb6fbc47..88d8cd93d 100644 --- a/lib/plugins/revert/admin.php +++ b/lib/plugins/revert/admin.php @@ -83,7 +83,7 @@ class admin_plugin_revert extends DokuWiki_Admin_Plugin { // find the last non-spammy revision $data = ''; - $pagelog = new PageRevisionLog($id); + $pagelog = new PageChangeLog($id); $old = $pagelog->getRevisions(0, $this->max_revs); if(count($old)){ foreach($old as $REV){ -- cgit v1.2.3 From b0fedeccedf889d4d6ddaa76ec2a9b4da3e84347 Mon Sep 17 00:00:00 2001 From: Janar Leas Date: Thu, 13 Mar 2014 17:40:44 +0100 Subject: translation update --- lib/plugins/revert/lang/et/lang.php | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/plugins/revert/lang/et/lang.php (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/et/lang.php b/lib/plugins/revert/lang/et/lang.php new file mode 100644 index 000000000..be8fb26c1 --- /dev/null +++ b/lib/plugins/revert/lang/et/lang.php @@ -0,0 +1,9 @@ + + */ +$lang['note1'] = 'Teadmiseks: See otsing arvestab suurtähti'; +$lang['note2'] = 'Teadmiseks: Lehekülg ennistatakse viimasele järgule, milles ei sisaldu antud rämpsu sõne %s.'; -- cgit v1.2.3 From 2549a25a3e31bbf5b00c04831062e05640d7b8c0 Mon Sep 17 00:00:00 2001 From: Christopher Schive Date: Tue, 18 Mar 2014 13:56:35 +0100 Subject: translation update --- lib/plugins/revert/lang/no/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/no/lang.php b/lib/plugins/revert/lang/no/lang.php index c58300dc0..6806dcd93 100644 --- a/lib/plugins/revert/lang/no/lang.php +++ b/lib/plugins/revert/lang/no/lang.php @@ -18,6 +18,7 @@ * @author Egil Hansen * @author Thomas Juberg * @author Boris + * @author Christopher Schive */ $lang['menu'] = 'Tilbakestillingsbehandler'; $lang['filter'] = 'Søk etter søppelmeldinger'; -- cgit v1.2.3 From 5aa1e6b571d748ca5b0c7684ec6116c9e5f299d4 Mon Sep 17 00:00:00 2001 From: Rene Date: Sat, 17 May 2014 09:36:32 +0200 Subject: translation update --- lib/plugins/revert/lang/nl/intro.txt | 2 +- lib/plugins/revert/lang/nl/lang.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/nl/intro.txt b/lib/plugins/revert/lang/nl/intro.txt index db8f5a06c..efa325839 100644 --- a/lib/plugins/revert/lang/nl/intro.txt +++ b/lib/plugins/revert/lang/nl/intro.txt @@ -1,3 +1,3 @@ -===== Herstelmanager ===== +===== Herstel ===== Deze pagina helpt u bij het herstellen van pagina's na een spam-aanval. Vul een zoekterm in (bijvoorbeeld een spam url) om een lijst te krijgen van bekladde pagina's, bevestig dat de pagina's inderdaad spam bevatten en herstel de wijzigingen. diff --git a/lib/plugins/revert/lang/nl/lang.php b/lib/plugins/revert/lang/nl/lang.php index ee8678e63..d04b96869 100644 --- a/lib/plugins/revert/lang/nl/lang.php +++ b/lib/plugins/revert/lang/nl/lang.php @@ -16,8 +16,9 @@ * @author Ricardo Guijt * @author Gerrit * @author Remon + * @author Rene */ -$lang['menu'] = 'Herstelmanager'; +$lang['menu'] = 'Herstel'; $lang['filter'] = 'Zoek naar bekladde pagina\'s'; $lang['revert'] = 'Herstel geselecteerde pagina\'s'; $lang['reverted'] = '%s hersteld naar revisie %s'; -- cgit v1.2.3 From 16ac1f4e01580b4679a076a8f895536b1e7d712c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radovan=20Buro=C5=88?= Date: Wed, 21 May 2014 10:25:56 +0200 Subject: translation update --- lib/plugins/revert/lang/cs/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/cs/lang.php b/lib/plugins/revert/lang/cs/lang.php index 69abaaade..e1b47bb8d 100644 --- a/lib/plugins/revert/lang/cs/lang.php +++ b/lib/plugins/revert/lang/cs/lang.php @@ -16,6 +16,7 @@ * @author Zbyněk Křivka * @author Gerrit Uitslag * @author Petr Klíma + * @author Radovan Buroň */ $lang['menu'] = 'Obnova zaspamovaných stránek'; $lang['filter'] = 'Hledat zaspamované stránky'; -- cgit v1.2.3 From 3dc402767b9058811762f67a7a3a21d50e81a65c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aivars=20Mi=C5=A1ka?= Date: Fri, 30 May 2014 08:30:58 +0200 Subject: translation update --- lib/plugins/revert/lang/lv/lang.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/lv/lang.php b/lib/plugins/revert/lang/lv/lang.php index 012d6cc4c..b87369233 100644 --- a/lib/plugins/revert/lang/lv/lang.php +++ b/lib/plugins/revert/lang/lv/lang.php @@ -1,7 +1,8 @@ */ $lang['menu'] = 'Piemēsloto lapu atjaunotājs'; -- cgit v1.2.3 From cedfb22bac4b6df73fc632fd5b19a3893f62268b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikael=20Bergstr=C3=B6m?= Date: Tue, 1 Jul 2014 02:55:55 +0200 Subject: translation update --- lib/plugins/revert/lang/sv/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/sv/lang.php b/lib/plugins/revert/lang/sv/lang.php index e605a17d4..504332bae 100644 --- a/lib/plugins/revert/lang/sv/lang.php +++ b/lib/plugins/revert/lang/sv/lang.php @@ -19,6 +19,7 @@ * @author Henrik * @author Tor Härnqvist * @author Hans Iwan Bratt + * @author Mikael Bergström */ $lang['menu'] = 'Hantera återställningar'; $lang['filter'] = 'Sök efter spamsidor'; -- cgit v1.2.3 From 4ad66524bcfeccd8ec19915dfb0a6ca536016320 Mon Sep 17 00:00:00 2001 From: Yuthana Tantirungrotechai Date: Sat, 12 Jul 2014 12:35:43 +0200 Subject: translation update --- lib/plugins/revert/lang/th/lang.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/th/lang.php b/lib/plugins/revert/lang/th/lang.php index 86e4f9ca4..7b6217b7c 100644 --- a/lib/plugins/revert/lang/th/lang.php +++ b/lib/plugins/revert/lang/th/lang.php @@ -1,7 +1,8 @@ * @author Kittithat Arnontavilas mrtomyum@gmail.com * @author Arthit Suriyawongkul -- cgit v1.2.3 From 75112fc56c5237220d4fe1b104317f62eda8a561 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 2 Aug 2014 12:19:38 +0100 Subject: updated dates in info.txt of various plugins and template --- lib/plugins/revert/plugin.info.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/plugin.info.txt b/lib/plugins/revert/plugin.info.txt index 482b68dc4..8d107dc32 100644 --- a/lib/plugins/revert/plugin.info.txt +++ b/lib/plugins/revert/plugin.info.txt @@ -1,7 +1,7 @@ base revert author Andreas Gohr email andi@splitbrain.org -date 2013-03-09 +date 2013-11-21 name Revert Manager desc Allows you to mass revert recent edits to remove Spam or vandalism url http://dokuwiki.org/plugin:revert -- cgit v1.2.3 From c3dd5e61641701501b845f71f894380966d71151 Mon Sep 17 00:00:00 2001 From: Davor Turkalj Date: Mon, 8 Sep 2014 12:56:14 +0200 Subject: translation update --- lib/plugins/revert/lang/hr/intro.txt | 3 +++ lib/plugins/revert/lang/hr/lang.php | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 lib/plugins/revert/lang/hr/intro.txt create mode 100644 lib/plugins/revert/lang/hr/lang.php (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/hr/intro.txt b/lib/plugins/revert/lang/hr/intro.txt new file mode 100644 index 000000000..5d7a52dfb --- /dev/null +++ b/lib/plugins/revert/lang/hr/intro.txt @@ -0,0 +1,3 @@ +====== Pomoćnik za povrat ====== + +Pomaže vam pri povratku u slučaju spam napada. Da bi ste našli listu stranica koje su onečišćene spam-om unesite tekst za potragu (npr. spam URL), te potvrdite da su nađene stranice zaista spam i vratite na prethodno stanje. \ No newline at end of file diff --git a/lib/plugins/revert/lang/hr/lang.php b/lib/plugins/revert/lang/hr/lang.php new file mode 100644 index 000000000..594136902 --- /dev/null +++ b/lib/plugins/revert/lang/hr/lang.php @@ -0,0 +1,16 @@ + + */ +$lang['menu'] = 'Pomoćnik za povrat stanja'; +$lang['filter'] = 'Potraži spam stranice'; +$lang['revert'] = 'Povrati odabrane stranice'; +$lang['reverted'] = '%s vraćena na izdanje %s'; +$lang['removed'] = '%s uklonjen'; +$lang['revstart'] = 'Proces povratka započeo. To može potrajati. Ako se dogodi istek vremena prije završetka, trebate povrat stranica vršiti u manjim grupama.'; +$lang['revstop'] = 'Proces povratka uspješno završio.'; +$lang['note1'] = 'Obavijest: ova pretraga razlikuje velika/mala slova'; +$lang['note2'] = 'Obavijest: stranica će biti vraćena na zadnje stanje koje ne sadrži traženi spam termin %s.'; -- cgit v1.2.3 From 616de5f5944160b7aa9472ed1dea84b302018055 Mon Sep 17 00:00:00 2001 From: Viktor Zavadil Date: Mon, 15 Sep 2014 10:46:00 +0200 Subject: translation update --- lib/plugins/revert/lang/cs/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/cs/lang.php b/lib/plugins/revert/lang/cs/lang.php index e1b47bb8d..8b9a76120 100644 --- a/lib/plugins/revert/lang/cs/lang.php +++ b/lib/plugins/revert/lang/cs/lang.php @@ -17,6 +17,7 @@ * @author Gerrit Uitslag * @author Petr Klíma * @author Radovan Buroň + * @author Viktor Zavadil */ $lang['menu'] = 'Obnova zaspamovaných stránek'; $lang['filter'] = 'Hledat zaspamované stránky'; -- cgit v1.2.3 From 2c99198de3e2c36f9df1cd8897770ced395e3b8a Mon Sep 17 00:00:00 2001 From: Jaroslav Lichtblau Date: Sat, 20 Sep 2014 11:21:00 +0200 Subject: translation update --- lib/plugins/revert/lang/cs/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/cs/lang.php b/lib/plugins/revert/lang/cs/lang.php index 8b9a76120..619a9d929 100644 --- a/lib/plugins/revert/lang/cs/lang.php +++ b/lib/plugins/revert/lang/cs/lang.php @@ -18,6 +18,7 @@ * @author Petr Klíma * @author Radovan Buroň * @author Viktor Zavadil + * @author Jaroslav Lichtblau */ $lang['menu'] = 'Obnova zaspamovaných stránek'; $lang['filter'] = 'Hledat zaspamované stránky'; -- cgit v1.2.3 From 7ce0a39ec99d93aee3df09ad19d53d6804e27c1c Mon Sep 17 00:00:00 2001 From: Mohamed Belhsine Date: Mon, 22 Sep 2014 15:01:29 +0200 Subject: translation update --- lib/plugins/revert/lang/ar/lang.php | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/plugins/revert') diff --git a/lib/plugins/revert/lang/ar/lang.php b/lib/plugins/revert/lang/ar/lang.php index 71f411c52..6262cc674 100644 --- a/lib/plugins/revert/lang/ar/lang.php +++ b/lib/plugins/revert/lang/ar/lang.php @@ -8,6 +8,7 @@ * @author uahello@gmail.com * @author Ahmad Abd-Elghany * @author alhajr + * @author Mohamed Belhsine */ $lang['menu'] = 'مدير الاسترجاع'; $lang['filter'] = 'ابحث في الصفحات المتأذاة'; -- cgit v1.2.3