From: <var...@us...> - 2021-08-05 08:41:23
|
Revision: 10439 http://sourceforge.net/p/phpwiki/code/10439 Author: vargenau Date: 2021-08-05 08:41:20 +0000 (Thu, 05 Aug 2021) Log Message: ----------- PhpWikiDebug: remove convert-cached-html action Modified Paths: -------------- trunk/lib/plugin/WikiAdminUtils.php trunk/locale/zh/pgsrc/PhpWikiDebug trunk/pgsrc/PhpWikiDebug Modified: trunk/lib/plugin/WikiAdminUtils.php =================================================================== --- trunk/lib/plugin/WikiAdminUtils.php 2021-08-04 17:26:05 UTC (rev 10438) +++ trunk/lib/plugin/WikiAdminUtils.php 2021-08-05 08:41:20 UTC (rev 10439) @@ -29,7 +29,6 @@ * purge-bad-pagenames * purge-empty-pages * email-verification - * convert-cached-html * db-check * db-rebuild */ @@ -122,7 +121,6 @@ 'purge-bad-pagenames' => _("Purge all Pages With Invalid Names"), 'purge-empty-pages' => _("Purge all empty, unreferenced Pages"), 'email-verification' => _("E-mail address confirmation"), - 'convert-cached-html' => _("Convert cached_html"), 'db-check' => _("DB Check"), 'db-rebuild' => _("Db Rebuild") ); @@ -206,23 +204,6 @@ : '')); } - private function _do_convert_cached_html($request, $args) - { - - require_once 'lib/upgrade.php'; - $dbh = $request->_dbi; - _upgrade_db_init($dbh); - - $count = _upgrade_cached_html($dbh, false); - - if (!$count) - return _("No old _cached_html pagedata found."); - else { - return HTML(fmt("Converted successfully %d pages", $count), - HTML::div(array('class' => 'align-left'), $list)); - } - } - private function _do_db_check($request, $args) { longer_timeout(180); Modified: trunk/locale/zh/pgsrc/PhpWikiDebug =================================================================== --- trunk/locale/zh/pgsrc/PhpWikiDebug 2021-08-04 17:26:05 UTC (rev 10438) +++ trunk/locale/zh/pgsrc/PhpWikiDebug 2021-08-05 08:41:20 UTC (rev 10439) @@ -1,4 +1,4 @@ -Date: Thu, 24 Dec 2020 18:13:17 +0000 +Date: Thu, 5 Aug 2021 09:59:14 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=PhpWikiDebug; @@ -25,7 +25,7 @@ <<WikiAdminUtils action=purge-cache label="Purge Markup Cache" >> -=== 清理 WikiDB 裡的非法檔案名稱 Clean WikiDB of Illegal Filenames == +=== 清理 WikiDB 裡的非法檔案名稱 Clean Wiki Database of Illegal Filenames == 頁面名稱以子頁面分隔子(通常是 ##/## )開始的,是不被允許的. 有時候是錯誤 的 plugin 或某些事情而導致. @@ -41,14 +41,6 @@ <<WikiAdminUtils action=purge-empty-pages label="Purge all empty unreferenced pages" >> -== Convert cached_html to new SQL column == - -This is only needed on SQL or ADODB if you didn't do action=upgrade, but created the -new page.cached_html field separately, and now you want to move this data from -page.pagedata over to page.cached_html. - -<<WikiAdminUtils action=convert-cached-html label="Convert cached_html" >> - == Check Wiki Database == This button will check the Wiki page database for consistency. This can last several minutes. Modified: trunk/pgsrc/PhpWikiDebug =================================================================== --- trunk/pgsrc/PhpWikiDebug 2021-08-04 17:26:05 UTC (rev 10438) +++ trunk/pgsrc/PhpWikiDebug 2021-08-05 08:41:20 UTC (rev 10439) @@ -1,4 +1,4 @@ -Date: Thu, 13 Oct 2016 15:09:28 +0000 +Date: Thu, 5 Aug 2021 09:59:14 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=PhpWikiDebug; @@ -45,14 +45,6 @@ <<WikiAdminUtils action=purge-empty-pages label="Purge all empty unreferenced pages" >> -== Convert cached_html to new SQL column == - -This is only needed on SQL or ADODB if you didn't do action=upgrade, but created the -new page.cached_html field separately, and now you want to move this data from -page.pagedata over to page.cached_html. - -<<WikiAdminUtils action=convert-cached-html label="Convert cached_html" >> - == Check Wiki Database == This button will check the Wiki page database for consistency. This can last several minutes. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |