Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>To achieve this feature, the OpenID extension needs to have hooks.</p> <p><strong>What are hooks?</strong></p> <p>Hooks in MediaWiki are events subscription facilities: they are arrays of functions to call when a specific event occurs.</p> <p>For example, the UserSetEmail hook will allow any functions to be called when an user sets a email. <a href="http://www.mediawiki.org/wiki/Manual%3aHooks" rel="nofollow" title="Hooks in the MediaWiki site documentation">More information about hooks</a>.</p> <p><strong>We need OpenID extension hooks.</strong></p> <p>As soon <em>UserSetOpenID</em> and <em>UserUnsetOpenID</em> hooks will be available, you will be able to add your autopromotion code in a function, called by these hooks:</p> <pre><code>$wgHooks['UserSetOpenID'][] = 'PromoteUserOnOpenID'; function PromoteUserOnOpenID ( $user, &amp;$OpenID ) { //The promotion code } </code></pre> <p>Please <a href="https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&amp;component=OpenID&amp;cc=dereckson%40espace-win.org&amp;bug_file_loc=http%3A%2F%2Fstackoverflow.com%2Fq%2F14343703%2F1930997&amp;bug_severity=enhancement" rel="nofollow" title="New bug on MediaWiki extensions product, OpenID component, with severity, CC and URL prefilled">fill a feature request</a> on our bug tracker (I prefilled a little the bug form). I will follow your feature request to make sure this is readily available.</p> <p>Thank your for this question, this is a valuable feedback to improve the OpenID extension.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload