DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:linkback

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:linkback [2012-11-26 23:01] – Plugin adopted by Michael Hamann, moved documentation on the page Michituxplugin:linkback [2023-12-30 23:50] (current) – version upped andi
Line 1: Line 1:
-====== Linkback ======+====== Linkback Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: Adds Trackback and Pingback support to DokuWiki. +description: Adds Trackback and Pingback support to DokuWiki 
-author     : Michael Hamann, Gina Häußge +author     : Dokufreaks (previous authors: Michael Hamann, Gina Häußge) 
-email      : michael@content-space.de+email      : freaks@dokuwiki.org
 type       : action, syntax, admin type       : action, syntax, admin
-lastupdate : 2012-11-26 +lastupdate : 2023-12-30 
-compatible : 2008-05-05, Adora Belle, Angua, RincewindAnteater+compatible : HogfatherIgor
 depends    :  depends    : 
 conflicts  : badbehaviour conflicts  : badbehaviour
Line 32: Line 32:
 ===== Changes ===== ===== Changes =====
  
-{{rss>http://github.com/feeds/dokufreaks/commits/plugin-linkback/master date}} +{{rss>https://github.com/dokufreaks/plugin-linkback/commits/master.atom date}}
  
 ===== Usage ===== ===== Usage =====
Line 47: Line 47:
 ==== Events ==== ==== Events ====
  
-The linkback plugin introduces three new events to allow for extension of it'antispam-mechanisms by action plugins. These events are:+The linkback plugin introduces three new events to allow for extension of its antispam-mechanisms by action plugins. These events are:
  
 === ACTION_LINKBACK_RECEIVED === === ACTION_LINKBACK_RECEIVED ===
Line 54: Line 54:
 ^ Data | <code> ^ Data | <code>
 $data['linkback'] -- The linkback data as documented below $data['linkback'] -- The linkback data as documented below
-$data['page'    -- The html source as fetched from the pinging site+$data['page'    -- The html source as fetched from the pinging  
 +                     site
 $data['target'  -- The wiki page that got pinged $data['target'  -- The wiki page that got pinged
-$data['show'    -- Whether to show the linkback, defaults to true and can  +$data['show'    -- Whether to show the linkback, defaults to true 
-                     be set in action plugins to moderate the linkback +                     and can be set in action plugins to moderate 
-$data['log'     -- An array of lines that make up the linkback log of the  +                     the linkback 
-                     received linkback. Antispam plugins can add their own  +$data['log'     -- An array of lines that make up the linkback log 
-                     logging output by appending lines to this array.+                     of the received linkback. Antispam plugins can 
 +                     add their own logging output by appending lines 
 +                     to this array.
 </code> | </code> |
-^ Action | Sets the ''show'' property of the received linkback to the value defined in the event's ''data'' and then saves the linkback. |+^ Action | Sets the ''show'' property of the received linkback to the value defined in the event's ''data''\\ and then saves the linkback. |
 ^ Preventable  | yes | ^ Preventable  | yes |
 ^ Signalled | by ''exe/trackback.php'' and ''exe/pingback.php'' before saving the new linkback | ^ Signalled | by ''exe/trackback.php'' and ''exe/pingback.php'' before saving the new linkback |
Line 87: Line 90:
  
 In order to report a linkback as spam (e.g. to antispam plugins using classifiers), action plugins can register for this event. In order to report a linkback as spam (e.g. to antispam plugins using classifiers), action plugins can register for this event.
- 
 ==== Linkback data ==== ==== Linkback data ====
  
plugin/linkback.1353967269.txt.gz · Last modified: 2012-11-26 23:01 by Michitux

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki