{"id":17156504,"url":"https://github.com/svivian/q2a-tagging-tools","last_synced_at":"2025-07-18T10:32:57.679Z","repository":{"id":54511731,"uuid":"2217284","full_name":"svivian/q2a-tagging-tools","owner":"svivian","description":"Tag Synonym/Auto-editor for Question2Answer","archived":false,"fork":false,"pushed_at":"2023-05-22T12:10:09.000Z","size":59,"stargazers_count":13,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T13:28:15.984Z","etag":null,"topics":["php","question2answer","question2answer-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/svivian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2011-08-16T18:04:25.000Z","updated_at":"2023-05-22T12:10:12.000Z","dependencies_parsed_at":"2025-04-13T13:35:08.519Z","dependency_job_id":null,"html_url":"https://github.com/svivian/q2a-tagging-tools","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/svivian/q2a-tagging-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svivian%2Fq2a-tagging-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svivian%2Fq2a-tagging-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svivian%2Fq2a-tagging-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svivian%2Fq2a-tagging-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/svivian","download_url":"https://codeload.github.com/svivian/q2a-tagging-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/svivian%2Fq2a-tagging-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742270,"owners_count":23820819,"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":["php","question2answer","question2answer-plugin"],"created_at":"2024-10-14T22:06:38.545Z","updated_at":"2025-07-18T10:32:57.656Z","avatar_url":"https://github.com/svivian.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=4R5SHBNM3UDLU\u0026source=url"],"categories":[],"sub_categories":[],"readme":"\nTagging Tools plugin for Question2Answer\n=================================================\n\nThis is an event plugin for popular open source Q\u0026A platform, [Question2Answer](http://www.question2answer.org). It allows you to select 'tag synonyms' - unwanted or duplicate tags that should be changed or removed.\n\nFor example if you had `websites` as a tag, some users may tag a question with `website` instead. With this plugin you can set `website` to always be changed to `websites` when a user enters it.\n\nOther features include min/max tag length and redirecting old tag pages to the new synonym.\n\n\n\nPay What You Like\n-------------------------------------------------\n\nMost of my code is released under the open source GPLv3 license, and provided with a 'Pay What You Like' approach. Feel free to download and modify the code to suit your needs, and I hope you value it enough to make a small donation - any amount is welcome.\n\n### [Donate here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=4R5SHBNM3UDLU\u0026source=url)\n\n\n\nInstallation \u0026 Usage\n-------------------------------------------------\n\n1. Download and extract the files to your Q2A plugins folder (e.g. `qa-plugin/tagging-tools`). Check the [releases page](https://github.com/svivian/q2a-tagging-tools/releases) for the latest official version.\n\n2. If your site uses a different language, copy `qa-tt-lang-default.php` to a new file with the required country code (e.g. `qa-tt-lang-de.php` for German) and edit the phrases for your language.\n\n3. Log in to your Q2A site as an Administrator and head to Admin \u003e Plugins.\n\n4. Under \"Tagging Tools\", enter each pair of tags on a new line, separated by a comma. For example, `q2a,question2answer` (without quotes) means that a tag of `q2a` will be replaced by `question2answer`, while `help` on its own line means that tag will be removed. Save the changes and all future questions will replace your chosen tag synonyms.\n\n5. If you have existing mistagged questions, tick the checkbox to replace all tags in older questions with your synonyms.\n   WARNING: if you have a lot of questions on your site, converting all the old questions will take a long time. It's recommended that you add tag synonyms a handful at a time to avoid too much overhead.\n\n6. The minimum/maximum length options do as the name suggests - prevent users from entering tags that are too long or too short.\n\n7. The new tags option limits users under a point threshold to using existing tags only. On the front-end it adds a JavaScript barrier, which for performance reasons only checks against the top tags (number as determined by the `QA_DB_RETRIEVE_COMPLETE_TAGS` constant) that are used for auto-complete. The server-side filter checks against all tags, i.e. if JS is turned off the user can input a tag not in the most popular but it must already exist.\n\n8. The redirects option will add 301 redirects from old tag pages to new tag pages. For example if you change `q2a` to `question2answer` then the page `example.com/tag/q2a` would now be blank, so this option will redirect the page to `example.com/tag/question2answer`. If you use this feature, make sure to convert all existing tag synonyms! Otherwise if you still have some questions with the old tags, those tag pages will not be viewable any more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvivian%2Fq2a-tagging-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsvivian%2Fq2a-tagging-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsvivian%2Fq2a-tagging-tools/lists"}