{"id":15134564,"url":"https://github.com/chdh/authjoomla","last_synced_at":"2026-01-18T17:33:35.518Z","repository":{"id":210813364,"uuid":"727089259","full_name":"chdh/AuthJoomla","owner":"chdh","description":"Joomla-MediaWiki authentication bridge","archived":false,"fork":false,"pushed_at":"2024-03-12T15:07:47.000Z","size":683,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T22:44:59.104Z","etag":null,"topics":["authentication","bridge","joomla","joomla-plugin","mediawiki","mediawiki-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chdh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-04T06:50:53.000Z","updated_at":"2023-12-09T18:20:53.000Z","dependencies_parsed_at":"2023-12-05T03:27:53.729Z","dependency_job_id":"4e425b33-9e34-4585-8c58-18ba7e30255c","html_url":"https://github.com/chdh/AuthJoomla","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"b2e98de455d85bd8486da0f52001676739914eb4"},"previous_names":["chdh/authjoomla"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2FAuthJoomla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2FAuthJoomla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2FAuthJoomla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chdh%2FAuthJoomla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chdh","download_url":"https://codeload.github.com/chdh/AuthJoomla/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411194,"owners_count":20934650,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","bridge","joomla","joomla-plugin","mediawiki","mediawiki-extension"],"created_at":"2024-09-26T05:22:59.617Z","updated_at":"2026-01-18T17:33:35.477Z","avatar_url":"https://github.com/chdh.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AuthJoomla 2023\r\n\r\nA Joomla-MediaWiki authentication bridge.\r\n\r\nThis project consists of two parts:\r\n\r\n* `MediaWiki Login`: A Joomla plugin ([JED](https://extensions.joomla.org/extension/miscellaneous/misc-bridges/user-mediawiki-login/)) which sets a cookie in the users web browser.\r\n* `AuthJoomla2023`: A MediaWiki extension which reads the cookie and automatically logs the user in.\r\n\r\n\r\n## Notes\r\n\r\nA valid Joomla session allows access to the wiki, without having to log in into the wiki.\r\nA wiki user profile is automatically created for the user on the first visit.\r\n\r\nThis project is a successor of [AuthJoomla2](https://www.mediawiki.org/wiki/Extension:AuthJoomla2)\r\nby [Harold Prins](https://www.haroldprins.nl/).\u003cbr\u003e\r\nIt's a complete rewrite done by\r\n[Christian d'Heureuse](https://www.inventec.ch/chdh) in 2023.\r\n\r\nThe configuration parameters are mostly the same as for AuthJoomla2.\r\n\r\n\r\n## Joomla configuration\r\n\r\nTo install the Joomla plugin,\r\ncreate a ZIP file from the two files in the `joomla` directory.\r\nOr use the ZIP file `mediawikilogin-x.y.z.zip` from the [releases page](https://github.com/chdh/AuthJoomla/releases).\r\nUpload and install this zip file as a Joomla extension.\r\n\r\nConfigure the following parameters in the Joomla admin backend under \"Extensions\" / \"Plugins\".\r\n\r\n* \u003cb\u003eSecret Word for cookie crypto check\u003c/b\u003e: (choose your own secret word)\r\n* \u003cb\u003eMediaWiki cookie subdomain\u003c/b\u003e: empty if your Wiki uses the same domain (host) name as your Joomla, otherwise the name of the Wiki subdomain\r\n\r\n\r\n## MediaWiki configuration\r\n\r\nCopy the files from the `mediawiki` directory to `wikifiles/extensions/AuthJoomla2023`.\r\nOr use the content of the ZIP file `AuthJoomla2023-x.y.z.zip` from the [releases page](https://github.com/chdh/AuthJoomla/releases).\r\n\r\nSet the following parameters in LocalSettings.php:\r\n\r\n```\r\n$wgGroupPermissions['*']['read'] = false;\r\n$wgGroupPermissions['*']['edit'] = false;\r\n$wgGroupPermissions['*']['createaccount'] = false;\r\n$wgGroupPermissions['*']['autocreateaccount'] = true;\r\n\r\n$wgAuthJoomla_security_key   = '(secret word)';     // same as in Joomla\r\n$wgAuthJoomla_TablePrefix    = 'jos_';              // Joomla table name prefix\r\n\r\n$wgAuthJoomla_MySQL_Host     = 'localhost';         // Joomla MySQL host name\r\n$wgAuthJoomla_MySQL_Username = 'db-user';           // Joomla MySQL user name\r\n$wgAuthJoomla_MySQL_Password = 'db-password';       // Joomla MySQL Password\r\n$wgAuthJoomla_MySQL_Database = 'db-name';           // Joomla MySQL database name\r\n\r\nwfLoadExtension('AuthJoomla2023');\r\n```\r\n\r\nEdit the special Wiki page `MediaWiki:Loginreqpagetext` and add a link to your Joomla login page.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdh%2Fauthjoomla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchdh%2Fauthjoomla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchdh%2Fauthjoomla/lists"}