|
From: <var...@us...> - 2022-01-20 11:20:49
|
Revision: 10912
http://sourceforge.net/p/phpwiki/code/10912
Author: vargenau
Date: 2022-01-20 11:19:14 +0000 (Thu, 20 Jan 2022)
Log Message:
-----------
RecentChangesCached plugin removed, RecentChanges plugin is fast enough
Modified Paths:
--------------
trunk/doc/README.phpwiki-cache
trunk/lib/IniConfig.php
trunk/lib/WikiDB.php
trunk/lib/WikiPluginCached.php
trunk/lib/plugin/WikiTranslation.php
trunk/locale/Makefile
trunk/locale/de/LC_MESSAGES/phpwiki.mo
trunk/locale/es/LC_MESSAGES/phpwiki.mo
trunk/locale/fr/LC_MESSAGES/phpwiki.mo
trunk/locale/it/LC_MESSAGES/phpwiki.mo
trunk/locale/it/pgsrc/NoteDiRilascio
trunk/locale/ja/LC_MESSAGES/phpwiki.mo
trunk/locale/nl/LC_MESSAGES/phpwiki.mo
trunk/locale/po/de.po
trunk/locale/po/es.po
trunk/locale/po/fr.po
trunk/locale/po/it.po
trunk/locale/po/ja.po
trunk/locale/po/nl.po
trunk/locale/po/phpwiki.pot
trunk/locale/po/sv.po
trunk/locale/po/zh.po
trunk/locale/sv/LC_MESSAGES/phpwiki.mo
trunk/locale/zh/LC_MESSAGES/phpwiki.mo
trunk/pgsrc/ReleaseNotes
trunk/themes/Sidebar/templates/rc.tmpl
Removed Paths:
-------------
trunk/lib/plugin/RecentChangesCached.php
trunk/pgsrc/Help%2FRecentChangesCachedPlugin
Modified: trunk/doc/README.phpwiki-cache
===================================================================
--- trunk/doc/README.phpwiki-cache 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/doc/README.phpwiki-cache 2022-01-20 11:19:14 UTC (rev 10912)
@@ -54,25 +54,11 @@
* VisualWiki and TexToPng use png image type for communication with
the image creating scripts (dot and pstoimg), so they rely on
CreateImageFronPNG(...)
-* RecentChangesCached produces a strange RSS-link for the RSS-image
- when it has to store a new html snippet in the cache immediately
- after an edit/save cycle.
-
-
-
-
-
-
-
-
-
!!!Examples
This extension of WikiPlugin replaces my old WikiPluginImageCache and allows to cache the following kinds of output:
-* html
-** example: [RecentChangesCached - source|http://amor.rz.hu-berlin.de/~h0444nmx/wiki/RecentChangesCached_php] (RecentChanges with a 15 minutes caching interval)
* images
** example: [TexToPng - source|http://amor.rz.hu-berlin.de/~h0444nmx/wiki/TexToPng_php] (TeX to image converter)
** and [CacheTest - source|http://amor.rz.hu-berlin.de/~h0444nmx/wiki/CacheTest_php] (simple example)
@@ -115,7 +101,6 @@
** !TexToPng.php ''into'' lib/plugin/!TexToPng.php
** !CacheTest.php ''into'' lib/plugin/!CacheText.php
** !VisualWiki.php ''into'' lib/plugin/!VisualWiki.php
-** !RecentChangesCached.php ''into'' lib/plugin/!RecentChangesCached.php
** Cache.php ''into'' lib/pear/Cache.php
** Error.php ''into'' lib/pear/Cache/Error.php
** Container.php ''into'' lib/pear/Cache/Container.php
@@ -135,7 +120,6 @@
!!!To Do
* complete doc
-* There is a bug in RecentChangesCached which scrambles the rss link during the first run.
* VisualWiki and TexToPng use png image type for communication with the image creating scripts (dot and pstoimg), so they rely on CreateImageFromPNG(...) which is not necessary.
--JohannesGroße
Modified: trunk/lib/IniConfig.php
===================================================================
--- trunk/lib/IniConfig.php 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/lib/IniConfig.php 2022-01-20 11:19:14 UTC (rev 10912)
@@ -545,7 +545,6 @@
$AllAllowedPlugins[] = 'PrevNext';
$AllAllowedPlugins[] = 'Processing';
$AllAllowedPlugins[] = 'RawHtml';
- $AllAllowedPlugins[] = 'RecentChangesCached';
$AllAllowedPlugins[] = 'RecentReferrers';
$AllAllowedPlugins[] = 'RedirectTo';
$AllAllowedPlugins[] = 'RichTable';
Modified: trunk/lib/WikiDB.php
===================================================================
--- trunk/lib/WikiDB.php 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/lib/WikiDB.php 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1081,7 +1081,7 @@
) {
require_once 'lib/WikiPlugin.php';
$w = new WikiPluginLoader();
- $p = $w->getPlugin("RecentChangesCached");
+ $p = $w->getPlugin("RecentChanges");
$p->box_update(false, $request, $this->_pagename);
}
return $newrevision;
Modified: trunk/lib/WikiPluginCached.php
===================================================================
--- trunk/lib/WikiPluginCached.php 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/lib/WikiPluginCached.php 2022-01-20 11:19:14 UTC (rev 10912)
@@ -49,7 +49,6 @@
* Have a look at the example files
* <ul><li>plugin/TexToPng.php</li>
* <li>plugin/CacheTest.php (extremely simple example)</li>
- * <li>plugin/RecentChangesCached.php</li>
* <li>plugin/VisualWiki.php</li>
* <li>plugin/Ploticus.php</li>
* </ul>
Deleted: trunk/lib/plugin/RecentChangesCached.php
===================================================================
--- trunk/lib/plugin/RecentChangesCached.php 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/lib/plugin/RecentChangesCached.php 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1,168 +0,0 @@
-<?php
-/**
- * Copyright © 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam
- * Copyright © 2002 Johannes Große |
- *
- * This file is part of PhpWiki.
- *
- * PhpWiki is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * PhpWiki is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with PhpWiki; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * SPDX-License-Identifier: GPL-2.0-or-later
- *
- */
-
-/* There is a bug in it:
- * When the cache is empty and you safe the wikipages,
- * an immediately created cached output of
- * RecentChanges will at the rss-image-link include
- * an action=edit
- */
-
-require_once 'lib/WikiPluginCached.php';
-require_once 'lib/plugin/RecentChanges.php';
-
-class WikiPlugin_RecentChangesCached
- extends WikiPluginCached
-{
- public $_args;
- public $_type;
- public $_static;
- public $_dbi;
-
- function getPluginType()
- {
- return PLUGIN_CACHED_HTML;
- }
-
- function getDescription()
- {
- return _('Cache output of RecentChanges called with default arguments.');
- }
-
- function getDefaultArguments()
- {
- $rc = new WikiPlugin_RecentChanges();
- return $rc->getDefaultArguments();
- }
-
- function getExpire($dbi, $argarray, $request)
- {
- return '+900'; // 15 minutes
- }
-
- /**
- * We don't go through pi parsing, instead we go directly to the
- * better plugin methods.
- *
- * @param WikiDB $dbi
- * @param string $argarray
- * @param WikiRequest $request
- * @param string $basepage
- * @return mixed
- */
- protected function getHtml($dbi, $argarray, $request, $basepage)
- {
- $plugin = new WikiPlugin_RecentChanges();
- $changes = $plugin->getChanges($dbi, $argarray);
- return $plugin->format($changes, $argarray);
- /*
- $loader = new WikiPluginLoader();
- return $loader->expandPI('<?plugin RecentChanges '
- . WikiPluginCached::glueArgs($argarray)
- . ' ?>', $request, $this, $basepage);
- */
- }
-
- protected function getImage($dbi, $argarray, $request)
- {
- trigger_error('pure virtual', E_USER_ERROR);
- }
-
- protected function getMap($dbi, $argarray, $request)
- {
- trigger_error('pure virtual', E_USER_ERROR);
- }
-
- /**
- * ->box is used to display a fixed-width, narrow version with common header.
- * Just a limited list of pagenames, without date.
- * This does not use ->run, to avoid pi construction and deconstruction
- *
- * @param string $args
- * @param WikiRequest $request
- * @param string $basepage
- * @param bool $do_save
- * @return $this|HtmlElement|XmlContent
- */
- function box($args = '', $request = null, $basepage = '', $do_save = false)
- {
- if (!$request) $request =& $GLOBALS['request'];
- if (!isset($args['limit'])) $args['limit'] = 12;
- $args['format'] = 'box';
- $args['show_minor'] = false;
- $args['show_major'] = true;
- $args['show_deleted'] = 'sometimes';
- $args['show_all'] = false;
- $args['days'] = 90;
-
- $cache = $this->newCache();
- if (is_array($args))
- ksort($args);
- $argscopy = $args;
- unset($argscopy['limit']);
- $this->_args =& $args;
- $this->_type = $this->getPluginType();
- $this->_static = false;
-
- /* OLD: */
- //list($id, $url) = $this->genUrl($cache, $args);
-
- /* NEW: This cache entry needs an update on major changes.
- * So we should rather use an unique ID, because there will only be
- * one global cached box.
- */
- $id = $cache->generateId(serialize(array("RecentChangesCachedBox", $argscopy)));
- $content = $cache->get($id, 'imagecache');
- if ($do_save || !$content || !$content['html']) {
- $this->resetError();
- $plugin = new WikiPlugin_RecentChanges();
- $title = WikiLink($this->getName(), '', SplitPagename($this->getName()));
- $changes = $plugin->getChanges($request->_dbi, $args);
- $content['html'] =
- $this->makeBox($title,
- $plugin->format($changes, $args));
- if ($errortext = $this->getError()) {
- $this->printError($errortext, 'html');
- return HTML();
- }
- $do_save = true;
- }
- if ($do_save) {
- $content['args'] = md5($this->_pi);
- $expire = $this->getExpire($request->_dbi, $content['args'], $request);
- $cache->save($id, $content, $expire, 'imagecache');
- }
- if ($content['html'])
- return $content['html'];
- return HTML();
- }
-
- // force box cache update on major changes.
- function box_update($args = '', $request = null, $basepage = '')
- {
- $this->box($args, $request, $basepage, true);
- }
-
-}
Modified: trunk/lib/plugin/WikiTranslation.php
===================================================================
--- trunk/lib/plugin/WikiTranslation.php 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/lib/plugin/WikiTranslation.php 2022-01-20 11:19:14 UTC (rev 10912)
@@ -162,7 +162,6 @@
_("RawHtml") . ',' .
_("RawHtmlPlugin") . ',' .
_("RecentChanges") . ',' .
- _("RecentChangesCached") . ',' .
_("RecentComments") . ',' .
_("RecentEdits") . ',' .
_("RecentReferrers") . ',' .
Modified: trunk/locale/Makefile
===================================================================
--- trunk/locale/Makefile 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/Makefile 2022-01-20 11:19:14 UTC (rev 10912)
@@ -231,7 +231,6 @@
${POT_FILE}: .././lib/plugin/RandomPage.php
${POT_FILE}: .././lib/plugin/RateIt.php
${POT_FILE}: .././lib/plugin/RawHtml.php
-${POT_FILE}: .././lib/plugin/RecentChangesCached.php
${POT_FILE}: .././lib/plugin/RecentChanges.php
${POT_FILE}: .././lib/plugin/RecentComments.php
${POT_FILE}: .././lib/plugin/RecentEdits.php
Modified: trunk/locale/de/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/es/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/fr/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/it/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/it/pgsrc/NoteDiRilascio
===================================================================
--- trunk/locale/it/pgsrc/NoteDiRilascio 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/it/pgsrc/NoteDiRilascio 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1,4 +1,4 @@
-Date: Tue, 18 Jan 2022 16:58:09 +0000
+Date: Thu, 20 Jan 2022 12:14:25 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=NoteDiRilascio;
@@ -37,6 +37,7 @@
* UpLoad plugin: allow more filenames (e.g. with Chinese characters)
* ~PreferencesInfo plugin removed
* ~CategoryPage plugin removed, categories are better created with the button in the toolbar
+* ~RecentChangesCached plugin removed, ~RecentChanges plugin is fast enough
== 1.6.0 2021-08-12 Marc-Etienne Vargenau ==
Modified: trunk/locale/ja/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/nl/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/po/de.po
===================================================================
--- trunk/locale/po/de.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/de.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2000-10-31 02:23+0200\n"
"Last-Translator: Reini Urban <ru...@x-...>, Carsten Klapp "
"<car...@us...>, Helmer Pardun <pardunpress@t-online."
@@ -2494,9 +2494,6 @@
msgid "%s is only allowed in locked pages."
msgstr "%s wird/werden nur in gesperrten Seiten erlaubt."
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr "BenutzerBewertungen"
@@ -4261,9 +4258,6 @@
msgid "RawHtmlPlugin"
msgstr "RawHtmlPlugin"
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/es.po
===================================================================
--- trunk/locale/po/es.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/es.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -11,7 +11,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2000-02-01 00:50-0500\n"
"Last-Translator: Pablo Roca <pr...@cl...>\n"
"Language-Team: \n"
@@ -2430,9 +2430,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4164,9 +4161,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/fr.po
===================================================================
--- trunk/locale/po/fr.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/fr.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2004-06-22 21:10+0200\n"
"Last-Translator: Pierrick Meignen <mei...@wa...>, Roland "
"Trique <rol...@fr...>, Stéphane Gourichon <stephane.gourichon@lip6."
@@ -2472,9 +2472,6 @@
msgid "%s is only allowed in locked pages."
msgstr "%s n'est autorisé que dans les pages verrouillées."
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4250,9 +4247,6 @@
msgid "RawHtmlPlugin"
msgstr "GreffonHtmlPur"
-msgid "RecentChangesCached"
-msgstr "DernièresModifsEnCache"
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/it.po
===================================================================
--- trunk/locale/po/it.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/it.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2005-02-12 16:23+0100\n"
"Last-Translator: Antonio Bonifati ant[(at)]monitor.deis.unical.it\n"
"Language-Team: \n"
@@ -2411,9 +2411,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4141,9 +4138,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/ja.po
===================================================================
--- trunk/locale/po/ja.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/ja.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2003-06-07 09:01+0900\n"
"Last-Translator: Tadashi Jokagi <web...@el...>\n"
"Language-Team: LANGUAGE <LL...@li...>\n"
@@ -2397,9 +2397,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4127,9 +4124,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/nl.po
===================================================================
--- trunk/locale/po/nl.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/nl.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2000-09-30 02:23+0200\n"
"Last-Translator: Jan Nieuwenhuizen <ja...@gn...>\n"
"Language-Team: Dutch <nl...@li...>\n"
@@ -2403,9 +2403,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4133,9 +4130,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/phpwiki.pot
===================================================================
--- trunk/locale/po/phpwiki.pot 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/phpwiki.pot 2022-01-20 11:19:14 UTC (rev 10912)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PhpWiki-1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2002-12-14 17:51-0500\n"
"Last-Translator: Reini Urban <ru...@us...>\n"
"Language-Team: LANGUAGE <LL...@li...>\n"
@@ -2397,9 +2397,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4127,9 +4124,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/sv.po
===================================================================
--- trunk/locale/po/sv.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/sv.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2001-01-27 01:58+0200\n"
"Last-Translator: Jon Åslund <jo...@he...>\n"
"Language-Team: \n"
@@ -2398,9 +2398,6 @@
msgid "%s is only allowed in locked pages."
msgstr ""
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4128,9 +4125,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/po/zh.po
===================================================================
--- trunk/locale/po/zh.po 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/locale/po/zh.po 2022-01-20 11:19:14 UTC (rev 10912)
@@ -6,7 +6,7 @@
msgstr ""
"Project-Id-Version: PhpWiki 1.6.0\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2022-01-20 11:03+0100\n"
+"POT-Creation-Date: 2022-01-20 12:14+0100\n"
"PO-Revision-Date: 2004-04-21 10:08+0800\n"
"Last-Translator: DruryL <dr...@us...>\n"
"Language-Team: DruryL <dr...@us...>\n"
@@ -2406,9 +2406,6 @@
msgid "%s is only allowed in locked pages."
msgstr "%s 只允許在鎖定的頁面中."
-msgid "Cache output of RecentChanges called with default arguments."
-msgstr ""
-
msgid "UserContribs"
msgstr ""
@@ -4138,9 +4135,6 @@
msgid "RawHtmlPlugin"
msgstr ""
-msgid "RecentChangesCached"
-msgstr ""
-
msgid "RecentReferrers"
msgstr ""
Modified: trunk/locale/sv/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Modified: trunk/locale/zh/LC_MESSAGES/phpwiki.mo
===================================================================
(Binary files differ)
Deleted: trunk/pgsrc/Help%2FRecentChangesCachedPlugin
===================================================================
--- trunk/pgsrc/Help%2FRecentChangesCachedPlugin 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/pgsrc/Help%2FRecentChangesCachedPlugin 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1,36 +0,0 @@
-Date: Thu, 13 Oct 2016 15:09:28 +0000
-Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
-Content-Type: application/x-phpwiki;
- pagename=Help%2FRecentChangesCachedPlugin;
- flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
- charset=UTF-8
-Content-Transfer-Encoding: binary
-
-Cache output of RecentChanges called with default arguments.
-
-== Usage ==
-{{{
-<<RecentChangesCached>>
-}}}
-
-== Arguments ==
-
-Same as [[Help:RecentChangesPlugin]]
-
-== Example ==
-
-{{{
-<<RecentChangesCached limit=10>>
-}}}
-
-<<RecentChangesCached limit=10>>
-
-== Author ==
-* [[Help:Reini Urban|Reini Urban]]
-
-== See Also ==
-
-<noinclude>
-----
-[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
-</noinclude>
Modified: trunk/pgsrc/ReleaseNotes
===================================================================
--- trunk/pgsrc/ReleaseNotes 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/pgsrc/ReleaseNotes 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1,4 +1,4 @@
-Date: Tue, 18 Jan 2022 16:58:09 +0000
+Date: Thu, 20 Jan 2022 12:14:25 +0000
Mime-Version: 1.0 (Produced by PhpWiki 1.6.0)
Content-Type: application/x-phpwiki;
pagename=ReleaseNotes;
@@ -37,6 +37,7 @@
* UpLoad plugin: allow more filenames (e.g. with Chinese characters)
* ~PreferencesInfo plugin removed
* ~CategoryPage plugin removed, categories are better created with the button in the toolbar
+* ~RecentChangesCached plugin removed, ~RecentChanges plugin is fast enough
== 1.6.0 2021-08-12 Marc-Etienne Vargenau ==
Modified: trunk/themes/Sidebar/templates/rc.tmpl
===================================================================
--- trunk/themes/Sidebar/templates/rc.tmpl 2022-01-20 10:05:03 UTC (rev 10911)
+++ trunk/themes/Sidebar/templates/rc.tmpl 2022-01-20 11:19:14 UTC (rev 10912)
@@ -1,4 +1,4 @@
-<?php // RecentChangesCached Box ?>
+<?php // RecentChanges Box ?>
<nav role="navigation" aria-label="<?php echo _("Recent Changes Menu") ?>">
<div class="portlet" id="p-rc">
<h2><?php echo _("Recent Changes") ?> <?php echo $WikiTheme->folderArrow('p-rc', 'Closed') ?></h2>
@@ -5,7 +5,7 @@
<div class="pBody" id="p-rc-body" style="display:none;">
<?php
require_once("lib/WikiTheme.php");
- $box = new PluginSidebarBox("RecentChangesCached", array("limit"=>12));
+ $box = new PluginSidebarBox("RecentChanges", array("limit"=>12));
printXml($box->format());
?>
</div>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|