https://bugzilla.wikimedia.org/show_bug.cgi?id=45914

       Web browser: ---
            Bug ID: 45914
           Summary: Refactor the storage of "trust" information in the
                    user properties (use JSON)
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: OpenID
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Currently, the information of trusted sites is stored in an usual way. Should
be changed to serialized or better, simply to JSON, fully.

The relevant parts which needs to be changed are in

+ SpecialOpenIDServer.body.php

    # Get the user's configured trust value for a particular trust root.
    # Returns one of three values:
    # * NULL -> no stored trust preferences
    # * false -> stored trust preference is not to trust
    # * array -> possibly empty array of allowed profile fields; trust is OK

    function GetUserTrust( $user, $trust_root ) {

    function SetUserTrust( &$user, $trust_root, $value ) {

    static function GetUserTrustArray( $user ) {

    function SetUserTrustArray( &$user, $arr ) {


Blocks https://bugzilla.wikimedia.org/show_bug.cgi?id=45323

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to