aboutsummaryrefslogtreecommitdiff
path: root/app/shares.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-03-15 22:58:30 +0100
committerGravatar GitHub <noreply@github.com> 2022-03-15 22:58:30 +0100
commitbe5848fd4fa280e5a4606fef25669974414547a5 (patch)
treec11af74c2a64bdf4f1e59a4841d81d77f5977d4d /app/shares.php
parentbdf7e4d29d954c3d2c137948577b6872c3de4656 (diff)
Improved: Sharing/Integration configuration (#4269)
* stick plus button to select list * HTML improved very much * drag and drop improved * add URL button * fix remove button behavior * prepare for PR#4238 * improve length of inputs * First draft of documentation of the sharing services * new config option: depricated * i18n for depricated text * Doc: Blogotext depricated to 2023 * dropdown menu with config link and depricated sign * Update entry_bottom.phtml * Update 08_sharing_services.md * Update template.rtl.css * Typo Deprecated/Depricated * typo * updated the documentation comment * Update shares.php * Update app/i18n/fr/conf.php Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update p/scripts/draggable.js Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Update p/scripts/draggable.js Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr> * Documentation: services from #4270 Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/shares.php')
-rw-r--r--app/shares.php14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/shares.php b/app/shares.php
index 9761ed609..16b2787bf 100644
--- a/app/shares.php
+++ b/app/shares.php
@@ -7,23 +7,27 @@
*
* For each share there is different configuration options. Here is the description
* of those options:
- * - url is a mandatory option. It is a string representing the share URL. It
+ * - 'deprecated' (optional) is a boolean. Default: 'false'.
+ * 'true', if the sharing service is planned to remove in the future.
+ * Add more information into the documentation center.
+ * - 'url' is a mandatory option. It is a string representing the share URL. It
* supports 4 different placeholders for custom data. The ~URL~ placeholder
* represents the URL of the system used to share, it is configured by the
* user. The ~LINK~ placeholder represents the link of the shared article.
* The ~TITLE~ placeholder represents the title of the shared article. The
* ~ID~ placeholder represents the id of the shared article (only useful
* for internal use)
- * - transform is an array of transformation to apply on links and titles
- * - help is a URL to a help page (mandatory for form = 'advanced')
- * - form is the type of form to display during configuration. It’s either
+ * - 'transform' is an array of transformation to apply on links and titles
+ * - 'help' is a URL to a help page (mandatory for form = 'advanced')
+ * - 'form' is the type of form to display during configuration. It’s either
* 'simple' or 'advanced'. 'simple' is used when only the name is configurable,
* 'advanced' is used when the name and the location are configurable.
- * - method is the HTTP method (POST or GET) used to share a link.
+ * - 'method' is the HTTP method (POST or GET) used to share a link.
*/
return array(
'blogotext' => array(
+ 'deprecated' => true,
'url' => '~URL~/admin/links.php?url=~LINK~',
'transform' => array(),
'help' => 'http://lehollandaisvolant.net/blogotext/fr/',