{"id":19473705,"url":"https://github.com/leocornus/tracutils","last_synced_at":"2025-11-19T05:04:37.443Z","repository":{"id":140484882,"uuid":"20959450","full_name":"leocornus/TracUtils","owner":"leocornus","description":"All kind of utilities for incorporating Trac into MediaWiki","archived":false,"fork":false,"pushed_at":"2015-02-04T14:00:13.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T15:41:14.975Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leocornus.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-18T11:14:40.000Z","updated_at":"2015-02-04T14:00:13.000Z","dependencies_parsed_at":"2023-03-12T19:11:13.911Z","dependency_job_id":null,"html_url":"https://github.com/leocornus/TracUtils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/leocornus/TracUtils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocornus%2FTracUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocornus%2FTracUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocornus%2FTracUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocornus%2FTracUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leocornus","download_url":"https://codeload.github.com/leocornus/TracUtils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leocornus%2FTracUtils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285187925,"owners_count":27129352,"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","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-10T19:19:46.132Z","updated_at":"2025-11-19T05:04:37.428Z","avatar_url":"https://github.com/leocornus.png","language":"PHP","readme":"TracUtils\n=========\n\nAll kind of utilities for incorporating Trac_ into MediaWiki_.\n\n- `Change Logs \u003cdocs/change-logs.rst\u003e`_\n- `TODO List \u003cdocs/TODO.rst\u003e`_\n- `Features`_\n- `Installation and Configuration`_\n\nFeatures\n========\n\n**ticket tag**\n\nWe will introduce a new tag named **ticket** to \nprovide a easy and flexible way to link a ticket number.\nFor example, if you have the following wikitext \non a wiki page::\n\n  Please check \u003cticket\u003e2378\u003c/ticket\u003e for details\n\nWhen we visit the wiki page, we should have this following\nHTML::\n\n  Please check \u003ca href=\"http://domain.to.trac/ticket/2378\"\u003e\n  2378\u003c/a\u003e for details.\n\n`MediaWiki Tag Extensions`_ page hase all we need to create a\ntag for MediaWiki_.\n\n**commit tag**\n\nSimilar to the **ticket** tag, the **commit** tag will generate\na hyperlink to a commit id.\n\n**milestone tag**\n\nThe **milestone** tag will provide a overall summary for a \nmilestone planned in Trac_ project.\n\nInstallation and Configuration\n==============================\n\nInstall **TracUtils** as a regular MediaWiki_ extension::\n\n  require_once(\"$IP/extensions/TracUtils/TracUtils.php\");\n\nWe should make our extension user configuable.\nCheck `MediaWiki Making your extension user configurable`_\nfor more details.\nThe extension will offer the following configuration options:\n\n- $wgTracTicketLinkPattern defines the hyperlink pattern for \n  **ticket** tag. \n  **[TICKET_ID]** will be replaced with the actural ticket id.\n- $wgTracCommitLinkPattern defines the hyperlink pattern for\n  **commit** tag. \n  **[COMMIT_ID]** will be replaced with the actural commit id.\n\nHere are some examples::\n\n  $wgTracTicketLinkPattern = \"http://url.to.trac/ticket?id=[TICKET_ID]\"\n  $wgTracCommitLinkPattern = \"http://url.to.trac/commit?id=[COMMIT_ID]\"\n\nLicense\n=======\n\nGNU General Public License Version 2  \n\n.. _Trac: http://trac.edgewall.org/\n.. _MediaWiki: http://www.mediawiki.org/\n.. _MediaWiki Tag Extensions: http://www.mediawiki.org/wiki/Manual:Tag_extensions\n.. _MediaWiki Making your extension user configurable: http://www.mediawiki.org/wiki/Manual:Developing_extensions#Making_your_extension_user_configurable\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocornus%2Ftracutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleocornus%2Ftracutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleocornus%2Ftracutils/lists"}