[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [BP][REF] WikiPlugin: Documentation field: remove tra() and use raw page identifiers

"ushindi bienvenu \(@usbbush\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69d6d9d9692f9_3b12cf7f8828c1@gitlab-sidekiq-low-urgency-cpu-bound-v2-644d5bcd56-wpppf.mail>

ushindi bienvenu pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
92daa79a by ushindi bienvenu at 2026-04-08T22:34:54+00:00
[BP][REF] WikiPlugin: Documentation field: remove tra() and use raw page identifiers
---
* [REF] WikiPlugin: Documentation field: remove tra() and use raw page identifiers
---
* [REF] WikiPlugin: Documentation field: remove tra() and use raw page identifiers

See merge request tikiwiki/tiki!9961

See merge request tikiwiki/tiki!9976

- - - - -


12 changed files:

- lib/wiki-plugins/wikiplugin_addtocart.php
- lib/wiki-plugins/wikiplugin_adjustinventory.php
- lib/wiki-plugins/wikiplugin_benchmark.php
- lib/wiki-plugins/wikiplugin_exercise.php
- lib/wiki-plugins/wikiplugin_extendcarthold.php
- lib/wiki-plugins/wikiplugin_fullwidthtitle.php
- lib/wiki-plugins/wikiplugin_getaccesstoken.php
- lib/wiki-plugins/wikiplugin_pagetabs.php
- lib/wiki-plugins/wikiplugin_shopperinfo.php
- lib/wiki-plugins/wikiplugin_trackeritemcopy.php
- lib/wiki-plugins/wikiplugin_transclude.php
- lib/wiki-plugins/wikiplugin_userlastlogged.php


Changes:

=====================================
lib/wiki-plugins/wikiplugin_addtocart.php
=====================================
@@ -11,7 +11,7 @@ function wikiplugin_addtocart_info()
 {
     return [
         'name' => tra('Add to cart'),
-        'documentation' => tra('PluginAddToCart'),
+        'documentation' => 'PluginAddToCart',
         'description' => tra('Add a product to the shopping cart.'),
         'prefs' => [ 'wikiplugin_addtocart', 'payment_feature' ],
         'filter' => 'wikicontent',


=====================================
lib/wiki-plugins/wikiplugin_adjustinventory.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_adjustinventory_info()
 {
     return [
         'name' => tra('Adjust Inventory'),
-        'documentation' => tra('PluginAdjustInventory'),
+        'documentation' => 'PluginAdjustInventory',
         'description' => tra('Adjust the inventory level of a product'),
         'prefs' => [ 'wikiplugin_adjustinventory', 'payment_feature' ],
         'filter' => 'wikicontent',


=====================================
lib/wiki-plugins/wikiplugin_benchmark.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_benchmark_info()
 {
     return [
         'name' => tra('Benchmark'),
-        //'documentation' => tra('PluginTransclude'),
+        //'documentation' => 'PluginTransclude',
         'description' => tra('Performance-test wiki content (used by developers to optimize plugins).'),
         'prefs' => ['wikiplugin_benchmark'],
         //'extraparams' => true,


=====================================
lib/wiki-plugins/wikiplugin_exercise.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_exercise_info()
 {
     return [
         'name' => tra('Exercise'),
-        'documentation' => tra('PluginExercise'),
+        'documentation' => 'PluginExercise',
         'description' => tra('Create an exercise/test with questions and grade'),
         'prefs' => ['wikiplugin_exercise'],
         'filter' => 'text',


=====================================
lib/wiki-plugins/wikiplugin_extendcarthold.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_extendcarthold_info()
 {
     return [
         'name' => tra('Extend Cart Inventory Hold'),
-        'documentation' => tra('PluginExtendCartHold'),
+        'documentation' => 'PluginExtendCartHold',
         'description' => tra('Extend the time that items are held in a shopping cart.'),
         'prefs' => ['wikiplugin_extendcarthold', 'payment_feature'],
         'filter' => 'wikicontent',


=====================================
lib/wiki-plugins/wikiplugin_fullwidthtitle.php
=====================================
@@ -9,7 +9,7 @@ function wikiplugin_fullwidthtitle_info()
     return [
         'name' => tra('Set a Full-Width Page Title'),
         'description' => tra('Display the page title the full width of the site content container. '),
-        'documentation' => tra('PluginFullWidthTitle'),
+        'documentation' => 'PluginFullWidthTitle',
         'default' => 'y',
         'format' => 'html',
         'filter' => 'wikicontent',


=====================================
lib/wiki-plugins/wikiplugin_getaccesstoken.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_getaccesstoken_info()
 {
     return [
         'name' => tra('Get Security Token'),
-        'documentation' => tra('PluginGetAccessToken'),
+        'documentation' => 'PluginGetAccessToken',
         'description' => tra('Display a link on a secure page using an access token'),
         'prefs' => [ 'auth_token_access', 'wikiplugin_getaccesstoken' ],
         'inline' => true,


=====================================
lib/wiki-plugins/wikiplugin_pagetabs.php
=====================================
@@ -13,7 +13,7 @@ function wikiplugin_pagetabs_info()
 {
     return [
         'name' => tra('Page Tabs'),
-        'documentation' => tra('PluginPageTabs'),
+        'documentation' => 'PluginPageTabs',
         'description' => tra('Display the content of a wiki page in a set of tabs.'),
         'prefs' => [ 'wikiplugin_pagetabs' ],
         'iconname' => 'copy',


=====================================
lib/wiki-plugins/wikiplugin_shopperinfo.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_shopperinfo_info()
 {
     return [
         'name' => tra('Collect Anonymous Shopper Info'),
-        'documentation' => tra('PluginShopperinfo'),
+        'documentation' => 'PluginShopperinfo',
         'description' => tra('Collect shopper information for the shopping cart'),
         'prefs' => ['wikiplugin_shopperinfo', 'payment_feature'],
         'iconname' => 'cart',


=====================================
lib/wiki-plugins/wikiplugin_trackeritemcopy.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_trackeritemcopy_info()
 {
     return [
         'name' => tra('Copy Tracker Item'),
-        'documentation' => tra('PluginTrackerItemCopy'),
+        'documentation' => 'PluginTrackerItemCopy',
         'description' => tra('Copy a tracker item'),
         'prefs' => ['wikiplugin_trackeritemcopy', 'feature_trackers'],
         'validate' => 'all',


=====================================
lib/wiki-plugins/wikiplugin_transclude.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_transclude_info()
 {
     return [
         'name' => tra('Transclude'),
-        'documentation' => tra('PluginTransclude'),
+        'documentation' => 'PluginTransclude',
         'description' => tra('Include the content of another page with certain changes'),
         'prefs' => ['wikiplugin_transclude', 'feature_wiki'],
         'extraparams' => true,


=====================================
lib/wiki-plugins/wikiplugin_userlastlogged.php
=====================================
@@ -8,7 +8,7 @@ function wikiplugin_userlastlogged_info()
 {
     return [
         'name'          => tra('Last Login information'),
-        'documentation' => tra('PluginUserLastLogged'),
+        'documentation' => 'PluginUserLastLogged',
         'description'   => tra('Show the last login information for a given or current user'),
         'iconname'      => 'user',
         'introduced'    => 13,



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/92daa79a0ef056bece174cfd6be00e0035b77f3a

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/92daa79a0ef056bece174cfd6be00e0035b77f3a
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.