|
From: <var...@us...> - 2021-11-25 18:04:57
|
Revision: 10694
http://sourceforge.net/p/phpwiki/code/10694
Author: vargenau
Date: 2021-11-25 18:04:54 +0000 (Thu, 25 Nov 2021)
Log Message:
-----------
RandomPage plugin: exclude only RandomPage and HomePage
Modified Paths:
--------------
trunk/lib/plugin/RandomPage.php
trunk/locale/de/pgsrc/Hilfe%2FZufallsSeitePlugin
trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin
trunk/pgsrc/Help%2FRandomPagePlugin
Modified: trunk/lib/plugin/RandomPage.php
===================================================================
--- trunk/lib/plugin/RandomPage.php 2021-11-25 17:50:47 UTC (rev 10693)
+++ trunk/lib/plugin/RandomPage.php 2021-11-25 18:04:54 UTC (rev 10694)
@@ -128,7 +128,7 @@
function default_exclude()
{
// Some useful default pages to exclude.
- $default_exclude = 'RandomPage,HomePage,AllPages,RecentChanges,RecentEdits,FullRecentChanges';
+ $default_exclude = 'RandomPage,HomePage';
foreach (explode(",", $default_exclude) as $e) {
$exclude[] = gettext($e);
}
Modified: trunk/locale/de/pgsrc/Hilfe%2FZufallsSeitePlugin
===================================================================
--- trunk/locale/de/pgsrc/Hilfe%2FZufallsSeitePlugin 2021-11-25 17:50:47 UTC (rev 10693)
+++ trunk/locale/de/pgsrc/Hilfe%2FZufallsSeitePlugin 2021-11-25 18:04:54 UTC (rev 10694)
@@ -33,7 +33,7 @@
|-
| **exclude**
| Pages to exclude from random
-| RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges
+| RandomPage,HomePage
|}
== Example ==
Modified: trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin
===================================================================
--- trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin 2021-11-25 17:50:47 UTC (rev 10693)
+++ trunk/locale/zh/pgsrc/Help%2FRandomPagePlugin 2021-11-25 18:04:54 UTC (rev 10694)
@@ -33,7 +33,7 @@
|-
| **exclude**
| Pages to exclude from random
-| RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges
+| RandomPage,HomePage
|}
== Example ==
Modified: trunk/pgsrc/Help%2FRandomPagePlugin
===================================================================
--- trunk/pgsrc/Help%2FRandomPagePlugin 2021-11-25 17:50:47 UTC (rev 10693)
+++ trunk/pgsrc/Help%2FRandomPagePlugin 2021-11-25 18:04:54 UTC (rev 10694)
@@ -37,7 +37,7 @@
|-
| **exclude**
| Pages to exclude from random
-| RandomPage, HomePage, AllPages, RecentChanges, RecentEdits, FullRecentChanges
+| RandomPage,HomePage
|}
== Example ==
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|