fix: use note id instead

wiki
Pyjacpp 2026-05-03 17:13:21 +02:00
parent 42e9125152
commit a4b467362d
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
2 changed files with 3 additions and 2 deletions

View File

@ -90,6 +90,7 @@ class NoteKfetAuth extends AuthProvider {
'name' => $this->sanitizeName( "$userInfos->normalized_name (note)" ), 'name' => $this->sanitizeName( "$userInfos->normalized_name (note)" ),
'realname' => $userInfos->username, 'realname' => $userInfos->username,
'email' => $userInfos->email, 'email' => $userInfos->email,
'remoteUserId' => $userInfos->id,
]; ];
} catch ( \Exception $e ) { } catch ( \Exception $e ) {
return false; return false;

View File

@ -268,8 +268,8 @@ in
}; };
WSOAuth = pkgs.fetchFromGitHub { WSOAuth = pkgs.fetchFromGitHub {
name = "WSOAuth"; name = "WSOAuth";
owner = "wikimedia"; owner = "pyjacpp";
repo = "mediawiki-extensions-WSOAuth"; repo = "WSOAuth";
rev = "REL" + major + "_" + minor; rev = "REL" + major + "_" + minor;
# Le SHA doit être changé à chaque nouveau commit de traduction. # Le SHA doit être changé à chaque nouveau commit de traduction.
# Pas de meilleure solution à ma connaissance pour suivre les releases. # Pas de meilleure solution à ma connaissance pour suivre les releases.