From: <var...@us...> - 2021-11-16 16:20:35
|
Revision: 10649 http://sourceforge.net/p/phpwiki/code/10649 Author: vargenau Date: 2021-11-16 16:08:27 +0000 (Tue, 16 Nov 2021) Log Message: ----------- CategoryPage plugin removed, categories are better created with the button in the toolbar Modified Paths: -------------- trunk/lib/IniConfig.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/Help%2FPopularTagsPlugin trunk/pgsrc/ReleaseNotes Removed Paths: ------------- trunk/lib/plugin/CategoryPage.php trunk/pgsrc/Help%2FCategoryPagePlugin trunk/themes/default/templates/categorypage.tmpl trunk/themes/wikilens/templates/categorypage.tmpl Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/lib/IniConfig.php 2021-11-16 16:08:27 UTC (rev 10649) @@ -513,7 +513,6 @@ $AllAllowedPlugins[] = 'BoxRight'; $AllAllowedPlugins[] = 'CalendarList'; $AllAllowedPlugins[] = 'Calendar'; - $AllAllowedPlugins[] = 'CategoryPage'; $AllAllowedPlugins[] = 'Chart'; $AllAllowedPlugins[] = 'Comment'; $AllAllowedPlugins[] = 'CreateBib'; @@ -584,7 +583,6 @@ if (!(defined('FUSIONFORGE') && FUSIONFORGE)) { $AllAllowedPlugins[] = 'AnalyseAccessLogSql'; $AllAllowedPlugins[] = 'CacheTest'; - $AllAllowedPlugins[] = 'CategoryPage'; $AllAllowedPlugins[] = 'FoafViewer'; $AllAllowedPlugins[] = 'GraphViz'; $AllAllowedPlugins[] = 'JabberPresence'; Deleted: trunk/lib/plugin/CategoryPage.php =================================================================== --- trunk/lib/plugin/CategoryPage.php 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/lib/plugin/CategoryPage.php 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,87 +0,0 @@ -<?php -/** - * Copyright © 1999, 2000, 2001, 2002 $ThePhpWikiProgrammingTeam - * - * 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 - * - */ - -require_once 'lib/BlockParser.php'; - -/** - * CategoryPage plugin. - * - * This puts boilerplate text on a category page to make it easily usable - * by novices. - * - * Usage: - * <?plugin-form CategoryPage ?> - * - * It finds the file templates/categorypage.tmpl, then loads it with a few - * variables substituted. - * - * This has only been used in wikilens.org. - */ - -class WikiPlugin_CategoryPage - extends WikiPlugin -{ - function getDescription() - { - return _("Create a Wiki Category Page."); - } - - function getDefaultArguments() - { - return array( // Assume the categories are listed on the HomePage - 'exclude' => false, - 'pagename' => '[pagename]', - 'plural' => false, - 'singular' => false, - 'self_on_create' => true, - 'showbuds' => false); - } - - /** - * @param WikiDB $dbi - * @param string $argstr - * @param WikiRequest $request - * @param string $basepage - * @return mixed - */ - function run($dbi, $argstr, &$request, $basepage) - { - $args = $this->getArgs($argstr, $request); - - if (empty($args['singular'])) { - $args['singular'] = $args['pagename']; - } - if (empty($args['plural'])) { - $args['plural'] = $args['singular'] . 's'; - } - - return new Template('categorypage', $request, - array('EXCLUDE' => $args['exclude'], - 'PAGENAME' => $args['pagename'], - 'PLURAL' => $args['plural'], - 'SHOWBUDS' => $args['showbuds'], - 'SELF_ON_CREATE' => $args['self_on_create'], - 'SINGULAR' => $args['singular'])); - } -} Modified: trunk/lib/plugin/WikiTranslation.php =================================================================== --- trunk/lib/plugin/WikiTranslation.php 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/lib/plugin/WikiTranslation.php 2021-11-16 16:08:27 UTC (rev 10649) @@ -72,7 +72,6 @@ _("CalendarPlugin") . ',' . _("CategoryCategory") . ',' . _("CategoryHomePages") . ',' . - _("CategoryPage") . ',' . _("Chart") . ',' . _("Chown") . ',' . _("Comment") . ',' . Modified: trunk/locale/Makefile =================================================================== --- trunk/locale/Makefile 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/Makefile 2021-11-16 16:08:27 UTC (rev 10649) @@ -167,7 +167,6 @@ ${POT_FILE}: .././lib/plugin/CacheTest.php ${POT_FILE}: .././lib/plugin/CalendarList.php ${POT_FILE}: .././lib/plugin/Calendar.php -${POT_FILE}: .././lib/plugin/CategoryPage.php ${POT_FILE}: .././lib/plugin/Chart.php ${POT_FILE}: .././lib/plugin/Comment.php ${POT_FILE}: .././lib/plugin/CreateBib.php @@ -411,7 +410,6 @@ ${POT_FILE}: .././themes/default/templates/bottom.tmpl ${POT_FILE}: .././themes/default/templates/browse-footer.tmpl ${POT_FILE}: .././themes/default/templates/browse.tmpl -${POT_FILE}: .././themes/default/templates/categorypage.tmpl ${POT_FILE}: .././themes/default/templates/comment.tmpl ${POT_FILE}: .././themes/default/templates/content.tmpl ${POT_FILE}: .././themes/default/templates/debug.tmpl @@ -513,7 +511,6 @@ ${POT_FILE}: .././themes/SpaceWiki/lib/RecentChanges.php ${POT_FILE}: .././themes/SpaceWiki/themeinfo.php ${POT_FILE}: .././themes/wikilens/templates/body.tmpl -${POT_FILE}: .././themes/wikilens/templates/categorypage.tmpl ${POT_FILE}: .././themes/wikilens/templates/head.tmpl ${POT_FILE}: .././themes/wikilens/templates/navbar.tmpl ${POT_FILE}: .././themes/wikilens/templates/newuserwelcomepage.tmpl 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 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/it/pgsrc/NoteDiRilascio 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,4 +1,4 @@ -Date: Mon, 15 Nov 2021 15:19:47 +0000 +Date: Tue, 16 Nov 2021 17:02:08 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=NoteDiRilascio; @@ -24,6 +24,7 @@ === Plugins === * Chart plugin: new argument “legend” * ~PreferencesInfo plugin removed +* ~CategoryPage plugin removed, categories are better created with the button in the toolbar == 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 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/de.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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." @@ -1489,9 +1489,6 @@ msgid "Wk" msgstr "Cw" -msgid "Create a Wiki Category Page." -msgstr "Erzeuge eine neue Wiki-Seite." - msgid "Render SVG charts." msgstr "" @@ -3985,9 +3982,6 @@ msgid "CategoryHomePages" msgstr "KategorieStartSeiten" -msgid "CategoryPage" -msgstr "KategorieSeite" - msgid "Chart" msgstr "" @@ -5823,27 +5817,6 @@ #~ msgid "Thank you for editing %s." #~ msgstr "Danke für das Bearbeiten von %s." -#~ msgid "Keep up to %d major edits, but keep them no longer than %d days." -#~ msgstr "" -#~ "Aufbewahrung größerer Änderungen für %d, aber nicht länger als %d Tage." - -#~ msgid " Keep up to %d minor edits, but keep them no longer than %d days." -#~ msgstr "" -#~ "Aufbewahrung kleinerer Änderungen für %d, aber nicht länger als %d Tage." - -#~ msgid " Keep the latest contributions of the last %d authors up to %d days." -#~ msgstr "" -#~ "Aufbewahrung der neueren Beiträge der letzten %d Autoren für %d Tage." - -#~ msgid "" -#~ " Additionally, try to keep the latest contributions of all authors in the " -#~ "last %d days (even if there are more than %d of them,) but in no case " -#~ "keep more than %d unique author revisions." -#~ msgstr "" -#~ "Versuche zusätzlich die neuesten Beiträge aller Autoren der letzten %d " -#~ "Tage aufzubewahren (auch wenn es mehr als %d sind), keinesfalls jedoch " -#~ "mehr als %d einzelne Autoren Revisionen." - #~ msgid "fixed with" #~ msgstr "Geändert mit" @@ -5856,25 +5829,6 @@ #~ msgid "CREATED" #~ msgstr "ERZEUGT" -#~ msgid "Provide weather reports from the Internet." -#~ msgstr "Der PhpWetter plugin gibt Auskunft zur Wetterlage vom Internet." - -#~ msgid "The ICAO “%s” wasn't recognized." -#~ msgstr "Die angegebene ICAO »%s« war nicht bekannt." - -#~ msgid "%s does not know about the language “%s”, using “en” instead." -#~ msgstr "" -#~ "%s weißt nichts von die Sprache »%s«, stattdessen wird »en« angewendet." - -#~ msgid "Submit country" -#~ msgstr "Land eingeben" - -#~ msgid "Change country" -#~ msgstr "Land ändern" - -#~ msgid "Submit location" -#~ msgstr "Land eingeben" - #~ msgid "database" #~ msgstr "Datenbank" Modified: trunk/locale/po/es.po =================================================================== --- trunk/locale/po/es.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/es.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+0100\n" "PO-Revision-Date: 2000-02-01 00:50-0500\n" "Last-Translator: Pablo Roca <pr...@cl...>\n" "Language-Team: \n" @@ -1462,9 +1462,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "Cree una página de Wiki." - msgid "Render SVG charts." msgstr "" @@ -3891,9 +3888,6 @@ msgid "CategoryHomePages" msgstr "CategoríaPáginasPrincipales" -msgid "CategoryPage" -msgstr "CategoríaPágina" - msgid "Chart" msgstr "" Modified: trunk/locale/po/fr.po =================================================================== --- trunk/locale/po/fr.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/fr.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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." @@ -1483,9 +1483,6 @@ msgid "Wk" msgstr "Sem." -msgid "Create a Wiki Category Page." -msgstr "Créer une page wiki de catégorie." - msgid "Render SVG charts." msgstr "Afficher des diagrammes SVG." @@ -3983,9 +3980,6 @@ msgid "CategoryHomePages" msgstr "CatégoriePagesAccueil" -msgid "CategoryPage" -msgstr "CatégoriePages" - msgid "Chart" msgstr "Diagramme" @@ -5814,26 +5808,6 @@ #~ msgid "Thank you for editing %s." #~ msgstr "Merci d'avoir édité %s." -#~ msgid "Keep up to %d major edits, but keep them no longer than %d days." -#~ msgstr "Garder jusqu'à %d édition majeures, mais pas plus que %d jours." - -#~ msgid " Keep up to %d minor edits, but keep them no longer than %d days." -#~ msgstr "Garder jusqu'à %d édition mineures, mais pas plus que %d jours." - -#~ msgid " Keep the latest contributions of the last %d authors up to %d days." -#~ msgstr "" -#~ "Garder les dernières contributions des derniers %d auteurs jusqu'à %d " -#~ "jours." - -#~ msgid "" -#~ " Additionally, try to keep the latest contributions of all authors in the " -#~ "last %d days (even if there are more than %d of them,) but in no case " -#~ "keep more than %d unique author revisions." -#~ msgstr "" -#~ "De plus, essayez de conserver les dernières contributions de tous les " -#~ "auteurs depuis les %d derniers jours (même s'il y en a plus que %d), mais " -#~ "ne conservez en aucun cas plus que %d versions par auteur." - #~ msgid "Expiry parameters" #~ msgstr "Paramètres d'expiration" @@ -5855,34 +5829,9 @@ #~ msgid "CREATED" #~ msgstr "CRÉÉ" -#~ msgid "Provide weather reports from the Internet." -#~ msgstr "Météo importée d'internet." - -#~ msgid "The ICAO “%s” wasn't recognized." -#~ msgstr "L'ICAO « %s » n'a pas été reconnu." - -#~ msgid "%s does not know about the language “%s”, using “en” instead." -#~ msgstr "" -#~ "%s ne connaît pas la langue « %s », utilisation de « en » à la place." - -#~ msgid "Submit country" -#~ msgstr "Soumettre le pays" - -#~ msgid "Change country" -#~ msgstr "Changer le pays" - -#~ msgid "Submit location" -#~ msgstr "Soumettre la localisation" - #~ msgid "database" #~ msgstr "base de données" -#~ msgid "db version: we want " -#~ msgstr "Version de la base de données : on veut " - -#~ msgid "db version: we have " -#~ msgstr "Version de la base de données : on a " - #~ msgid "Backend type: " #~ msgstr "Type de backend : " @@ -5889,12 +5838,6 @@ #~ msgid "Check for table %s" #~ msgstr "Vérifie la table %s" -#~ msgid "You need to upgrade to schema/psql-initialize.sql manually!" -#~ msgstr "Vous devez mettre à jour schema/psql-initialize.sql à la main !" - -#~ msgid "Check for new session.sess_ip column" -#~ msgstr "Recherche une nouvelle colonne session.sess_ip" - #~ msgid "SKIP" #~ msgstr "SAUTÉ" @@ -5907,20 +5850,6 @@ #~ msgid "not affected" #~ msgstr "non affectée" -#~ msgid "db version: upgrade to " -#~ msgstr "Version de la base de données : mise à niveau vers " - -#~ msgid "Check for extra page.cached_html column" -#~ msgstr "Recherche une colonne supplémentaire page.cached_html" - -#~ msgid "Check for relation field in link table" -#~ msgstr "Vérifie le champ relation dans la table des liens" - -#~ msgid "Rebuild entire database to upgrade relation links" -#~ msgstr "" -#~ "Reconstruit toute la base de données pour mettre à jour les liens de " -#~ "relation" - #~ msgid "CreatePage failed" #~ msgstr "La création de la page a échoué" Modified: trunk/locale/po/it.po =================================================================== --- trunk/locale/po/it.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/it.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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" @@ -1445,9 +1445,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "" - msgid "Render SVG charts." msgstr "" @@ -3868,9 +3865,6 @@ msgid "CategoryHomePages" msgstr "CategoriaPaginePrincipali" -msgid "CategoryPage" -msgstr "CategoriaPagina" - msgid "Chart" msgstr "" Modified: trunk/locale/po/ja.po =================================================================== --- trunk/locale/po/ja.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/ja.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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" @@ -1431,9 +1431,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "" - msgid "Render SVG charts." msgstr "" @@ -3854,9 +3851,6 @@ msgid "CategoryHomePages" msgstr "" -msgid "CategoryPage" -msgstr "" - msgid "Chart" msgstr "" Modified: trunk/locale/po/nl.po =================================================================== --- trunk/locale/po/nl.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/nl.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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" @@ -1437,9 +1437,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "" - msgid "Render SVG charts." msgstr "" @@ -3860,9 +3857,6 @@ msgid "CategoryHomePages" msgstr "" -msgid "CategoryPage" -msgstr "" - msgid "Chart" msgstr "" Modified: trunk/locale/po/phpwiki.pot =================================================================== --- trunk/locale/po/phpwiki.pot 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/phpwiki.pot 2021-11-16 16:08:27 UTC (rev 10649) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki-1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+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" @@ -1431,9 +1431,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "" - msgid "Render SVG charts." msgstr "" @@ -3854,9 +3851,6 @@ msgid "CategoryHomePages" msgstr "" -msgid "CategoryPage" -msgstr "" - msgid "Chart" msgstr "" Modified: trunk/locale/po/sv.po =================================================================== --- trunk/locale/po/sv.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/sv.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -7,7 +7,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+0100\n" "PO-Revision-Date: 2001-01-27 01:58+0200\n" "Last-Translator: Jon Åslund <jo...@he...>\n" "Language-Team: \n" @@ -1432,9 +1432,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "" - msgid "Render SVG charts." msgstr "" @@ -3855,9 +3852,6 @@ msgid "CategoryHomePages" msgstr "" -msgid "CategoryPage" -msgstr "" - msgid "Chart" msgstr "" Modified: trunk/locale/po/zh.po =================================================================== --- trunk/locale/po/zh.po 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/locale/po/zh.po 2021-11-16 16:08:27 UTC (rev 10649) @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: PhpWiki 1.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-11-15 15:19+0100\n" +"POT-Creation-Date: 2021-11-16 17:07+0100\n" "PO-Revision-Date: 2004-04-21 10:08+0800\n" "Last-Translator: DruryL <dr...@us...>\n" "Language-Team: DruryL <dr...@us...>\n" @@ -1436,9 +1436,6 @@ msgid "Wk" msgstr "" -msgid "Create a Wiki Category Page." -msgstr "建立 Wiki Category 頁面." - msgid "Render SVG charts." msgstr "" @@ -3865,9 +3862,6 @@ msgid "CategoryHomePages" msgstr "" -msgid "CategoryPage" -msgstr "" - msgid "Chart" msgstr "" @@ -5658,41 +5652,9 @@ #~ msgid "Thank you for editing %s." #~ msgstr "謝謝你編輯了 %s." -#~ msgid "Keep up to %d major edits, but keep them no longer than %d days." -#~ msgstr "保持 %d 份主要編輯,但不超過 %d 天." - -#~ msgid " Keep up to %d minor edits, but keep them no longer than %d days." -#~ msgstr "保持 %d 份次要編輯,但不超過 %d 天." - -#~ msgid " Keep the latest contributions of the last %d authors up to %d days." -#~ msgstr "保存最後 %d 位作者的最新貢獻直到 %d 天." - -#~ msgid "" -#~ " Additionally, try to keep the latest contributions of all authors in the " -#~ "last %d days (even if there are more than %d of them,) but in no case " -#~ "keep more than %d unique author revisions." -#~ msgstr "" -#~ " 除此之外, 試著保存最近 %d 天之內所有作者的最新貢獻 (即使超過他們的 %d ,) " -#~ "但是沒保存超過 %d 份單一作者修訂." - #~ msgid "Expiry parameters" #~ msgstr "過期參數" -#~ msgid "The ICAO “%s” wasn't recognized." -#~ msgstr "ICAO “%s” 無法被認可." - -#~ msgid "%s does not know about the language “%s”, using “en” instead." -#~ msgstr "%s 不認識此語言 “%s”, 使用 'en' 代替." - -#~ msgid "Submit country" -#~ msgstr "送出國家" - -#~ msgid "Change country" -#~ msgstr "變更國家" - -#~ msgid "Submit location" -#~ msgstr "送出地區" - #~ msgid "database" #~ 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%2FCategoryPagePlugin =================================================================== --- trunk/pgsrc/Help%2FCategoryPagePlugin 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/pgsrc/Help%2FCategoryPagePlugin 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,71 +0,0 @@ -Date: Mon, 22 Feb 2021 19:16:32 +0000 -Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) -Content-Type: application/x-phpwiki; - pagename=Help%2FCategoryPagePlugin; - flags=PAGE_LOCKED%2CEXTERNAL_PAGE; - charset=UTF-8 -Content-Transfer-Encoding: binary - -The **~CategoryPage** [[Help:WikiPlugin|plugin]] puts boilerplate text on a category page to make it easily usable by novices. - -It finds the file templates/categorypage.tmpl, then loads it with a few variables substituted. - -This has only been used in wikilens.org. - -== Usage == -{{{ -<?plugin-form CategoryPage arguments ?> -}}} - -== Arguments == - -{| class="bordered" -|- -! Argument -! Description -! Default value -|- -| **exclude** -| Comma-separated list of pages to exclude -| false -|- -| **pagename** -| -| current page -|- -| **plural** -| -| false -|- -| **singular** -| -| false -|- -| **self_on_create** -| -| true -|- -| **showbuds** -| -| false -|} - -== Example == - -{{{ -<?plugin-form CategoryPage pagename=CategoryExample?> -}}} - -<?plugin-form CategoryPage pagename=CategoryExample?> - -== Author == -* Dan Frankowski - -== See Also == -* [[Help:TemplatePlugin|TemplatePlugin]] -* [[Help:CreatePagePlugin|CreatePagePlugin]] - -<noinclude> ----- -[[PhpWikiDocumentation]] [[CategoryWikiPlugin]] -</noinclude> Modified: trunk/pgsrc/Help%2FPopularTagsPlugin =================================================================== --- trunk/pgsrc/Help%2FPopularTagsPlugin 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/pgsrc/Help%2FPopularTagsPlugin 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,4 +1,4 @@ -Date: Mon, 22 Feb 2021 19:16:32 +0000 +Date: Tue, 16 Nov 2021 17:02:08 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=Help%2FPopularTagsPlugin; @@ -52,7 +52,6 @@ == See Also == * [[Help:Categories]] -* [[Help:CategoryPagePlugin]] <noinclude> ---- Modified: trunk/pgsrc/ReleaseNotes =================================================================== --- trunk/pgsrc/ReleaseNotes 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/pgsrc/ReleaseNotes 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,4 +1,4 @@ -Date: Mon, 15 Nov 2021 15:09:41 +0000 +Date: Tue, 16 Nov 2021 17:02:08 +0000 Mime-Version: 1.0 (Produced by PhpWiki 1.6.0) Content-Type: application/x-phpwiki; pagename=ReleaseNotes; @@ -24,6 +24,7 @@ === Plugins === * Chart plugin: new argument “legend” * ~PreferencesInfo plugin removed +* ~CategoryPage plugin removed, categories are better created with the button in the toolbar == 1.6.0 2021-08-12 Marc-Etienne Vargenau == Deleted: trunk/themes/default/templates/categorypage.tmpl =================================================================== --- trunk/themes/default/templates/categorypage.tmpl 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/themes/default/templates/categorypage.tmpl 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,50 +0,0 @@ -<?php -// This template is used for the CategoryPage plugin. -?> -<div class="categorypage categorypage-form"> - -<p>This page represents the <?php echo $SINGULAR?> category.</p> - -<p>All pages that are in the <?php echo $SINGULAR?> category refer to this page.</p> - -<h3>To create a page in the <?php echo $SINGULAR?> category</h3> - -<ol> - -<li> - -Search to see if it already exists. We don't want lots of -duplicate pages. You can use this FuzzyPages search: - -<?plugin-form FuzzyPages ?> - -</li> - -<li> - -If it does not exist, you can create the page. You can use this -CreatePage button, or see <?php $link = WikiLink("Help:HowToUseWiki"); ?> <?php echo -$link ?> for more ways to navigate or create pages. - -<?php - $bpage = "~~[" . $PAGENAME . "]"; - - $initial_content = "\"This page is in the $bpage category. You must leave in at least one reference to $bpage in order for this page to be in the $bpage category. Otherwise, edit this text to describe your page.\""; - $adder = ""; - - $this->_printPlugin("<" . "?plugin-form CreatePage " . $adder . " initial_content=" . $initial_content . " ?" . ">"); -?> - -</li> - -<li> -Once you have created a page, it will simply appear in the list above. If you would -like to add information about the page, click on its name in the list and edit and save the text. -To ensure that the page stays in this category, make sure <b>[<?php echo $PAGENAME?>]</b> is in the description somewhere (including the -brackets to be safe). - -</li> - -</ol> - -</div> Deleted: trunk/themes/wikilens/templates/categorypage.tmpl =================================================================== --- trunk/themes/wikilens/templates/categorypage.tmpl 2021-11-15 14:35:53 UTC (rev 10648) +++ trunk/themes/wikilens/templates/categorypage.tmpl 2021-11-16 16:08:27 UTC (rev 10649) @@ -1,75 +0,0 @@ -<?php -// This template is used for the CategoryPage plugin. -?> -<div class="categorypage categorypage-form"> - -<p>This page represents the <?php echo $SINGULAR?> category.</p> - -<p>All pages that are in the <?php echo $SINGULAR?> category refer to this page.</p> - -<?php - -$this->_printPlugin("<" . "?plugin UserRatings nobuds=" . ($SHOWBUDS ? 0 : 1) . " category=\"" . $PAGENAME . "\" ?" . ">"); -?> -<br/> -<?php -if ($SHOWBUDS){ - $btn = Button(array('exclude' => "$EXCLUDE", - 'category' => "$PAGENAME", - 'showbuds' => false), - _("Hide Buddy Ratings in the $SINGULAR category"), - $PAGENAME); - - -} else { -$btn = Button(array('exclude' => "$EXCLUDE", - 'category' => "$PAGENAME", - 'showbuds' => true), - _("Show Buddy Ratings in the $SINGULAR category"), - $PAGENAME); -} - ?> -<?php echo $btn ?> - - -<h3>To create a page in the <?php echo $SINGULAR?> category</h3> - -<ol> - -<li> - -Search to see if it already exists. We don't want lots of -duplicate pages. You can use this FuzzyPages search: - -<?plugin-form FuzzyPages ?> - -</li> - -<li> - -If it does not exist, you can create the page. You can use this -CreatePage button, or see <?php $link = WikiLink("Help/HowToUseWiki"); ?> <?php echo -$link ?> for more ways to navigate or create pages. - -<?php - $bpage = "~~[" . $PAGENAME . "]"; - - $initial_content = "\"This page is in the $bpage category. You must leave in at least one reference to $bpage in order for this page to be in the $bpage category. Otherwise, edit this text to describe your page.\""; - $adder = ""; - - $this->_printPlugin("<" . "?plugin-form CreatePage " . $adder . " initial_content=" . $initial_content . " ?" . ">"); -?> - -</li> - -<li> -Once you have created a page, it will simply appear in the list above. If you would -like to add information about the page, click on its name in the list and edit and save the text. -To ensure that the page stays in this category, make sure <b>[<?php echo $PAGENAME?>]</b> is in the description somewhere (including the -brackets to be safe). - -</li> - -</ol> - -</div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |