{"id":13929768,"url":"https://github.com/ProfessionalWiki/ModernTimeline","last_synced_at":"2025-07-19T11:33:05.573Z","repository":{"id":35049883,"uuid":"199864420","full_name":"ProfessionalWiki/ModernTimeline","owner":"ProfessionalWiki","description":"Provides a modern timeline visualization for Semantic MediaWiki as a result format","archived":false,"fork":false,"pushed_at":"2024-11-05T14:27:13.000Z","size":452,"stargazers_count":15,"open_issues_count":10,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-22T12:51:35.293Z","etag":null,"topics":["mediawiki","mediawiki-extension","semantic-mediawiki","semantic-mediawiki-extension","timeline"],"latest_commit_sha":null,"homepage":"https://professional.wiki","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProfessionalWiki.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"JeroenDeDauw","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-07-31T13:44:03.000Z","updated_at":"2024-11-05T14:27:18.000Z","dependencies_parsed_at":"2023-02-18T09:00:22.744Z","dependency_job_id":"64f99f9e-08e7-4ce0-9319-c37a59e1d943","html_url":"https://github.com/ProfessionalWiki/ModernTimeline","commit_stats":{"total_commits":184,"total_committers":5,"mean_commits":36.8,"dds":"0.19565217391304346","last_synced_commit":"2a2bf0e238d2975dff33ec178926a2c85fe53326"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FModernTimeline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FModernTimeline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FModernTimeline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProfessionalWiki%2FModernTimeline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProfessionalWiki","download_url":"https://codeload.github.com/ProfessionalWiki/ModernTimeline/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226597811,"owners_count":17657213,"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":["mediawiki","mediawiki-extension","semantic-mediawiki","semantic-mediawiki-extension","timeline"],"created_at":"2024-08-07T18:02:32.494Z","updated_at":"2025-07-19T11:33:05.563Z","avatar_url":"https://github.com/ProfessionalWiki.png","language":"PHP","funding_links":["https://github.com/sponsors/JeroenDeDauw"],"categories":["others"],"sub_categories":[],"readme":"# Modern Timeline\n\n[![Code Coverage](https://scrutinizer-ci.com/g/ProfessionalWiki/ModernTimeline/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/ProfessionalWiki/ModernTimeline/?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/professional-wiki/modern-timeline/v/stable)](https://packagist.org/packages/professional-wiki/modern-timeline)\n[![Download count](https://poser.pugx.org/professional-wiki/modern-timeline/downloads)](https://packagist.org/packages/professional-wiki/modern-timeline)\n\nThe **Modern Timeline** extension provides a\n[modern timeline visualization](https://timeline.knightlab.com) for\n[Semantic MediaWiki](https://www.semantic-mediawiki.org/wiki/Semantic_MediaWiki) as a\n[result format](https://www.semantic-mediawiki.org/wiki/Help:Result_formats).\n\nIt was created by [Professional Wiki](https://professional.wiki/) and funded by\n[KDZ - Centre for Public Administration Research](https://www.kdz.eu/).\n\nExample timeline\n\n[![image](https://user-images.githubusercontent.com/146040/78048722-70915b00-737a-11ea-89af-7c555b4f2ae7.png)](https://fina.oeaw.ac.at/wiki/index.php/Timeline_of_Correspondence_in_the_16th_Century#event-aahrefhttpsfinaoeawacatwikiindexphpchristopheplantin-fulvioorsini-1574-11-6christopheaplantina-afulvioaorsinia-a1574-11-6a)\n\n## Platform requirements\n\n* PHP 8.0 or later\n* MediaWiki 1.39 or later (tested up to MediaWiki 1.43)\n* Semantic MediaWiki 4.0 or later (tested up to SMW 5.0.2)\n\nSee the [release notes](#release-notes) for more information on the different versions of Modern Timeline.\n\n## Installation\n\nThe recommended way to install Modern Timeline is using [Composer](https://getcomposer.org) with\n[MediaWiki's built-in support for Composer](https://professional.wiki/en/articles/installing-mediawiki-extensions-with-composer).\n\nNote that the required extension Semantic MediaWiki must be installed first according to the installation\ninstructions provided.\n\n### Step 1\n\nChange to the base directory of your MediaWiki installation. If you do not have a \"composer.local.json\" file yet,\ncreate one and add the following content to it:\n\n```\n{\n\t\"require\": {\n\t\t\"professional-wiki/modern-timeline\": \"~2.0\"\n\t}\n}\n```\n\nIf you already have a \"composer.local.json\" file add the following line to the end of the \"require\"\nsection in your file:\n\n    \"professional-wiki/modern-timeline\": \"~2.0\"\n\nRemember to add a comma to the end of the preceding line in this section.\n\n### Step 2\n\nRun the following command in your shell:\n\n    php composer.phar update --no-dev\n\nNote if you have Git installed on your system add the `--prefer-source` flag to the above command.\n\n### Step 3\n\nAdd the following line to the end of your \"LocalSettings.php\" file:\n\n    wfLoadExtension( 'ModernTimeline' );\n\n## Usage\n\nSee also live demos at the following website:\n[ProWiki - Demo and Test Wiki - Category:Modern Timeline examples.](https://test.pro.wiki/wiki/Category:Modern_Timeline_examples)\n\nThe first date printout is used as date for the timeline events:\n\n```\n{{#ask:\n [[Modification date::+]]\n |format=moderntimeline\n |?Modification date\n}}\n```\n\nIf a second date printout is present it is used as end date and the event is displayed as a range:\n\n ```\n {{#ask:\n  [[Start date::+]]\n  |format=moderntimeline\n  |?Start date\n  |?End date\n }}\n ```\n\nDisplay and behaviour of the timeline can be changed via several output parameters:\n\n```\n{{#ask:\n [[Modification date::+]]\n |format=moderntimeline\n |?Modification date\n |width=75%\n |height=500px\n |start at end=on\n}}\n```\n\n### Parameters\n\nA full list of supported output parameters can be obtained in wiki via the `smwdoc` parser function:\n\n```\n{{#smwdoc: moderntimeline }}\n```\n\nYou can also check the [parameter documentation](https://professional.wiki/en/extension/modern-timeline#Parameters)\n\n## PHP Configuration\n\nThe default value of all parameters can be changed by placing configuration in \"LocalSettings.php\".\nThese configuration settings are available:\n\n* `$wgModernTimelineWidth` – Timeline width in %. Can also be specified in px, em and ex\n* `$wgModernTimelineHeight` – Timeline height in pixels. Can also be specified in em and ex\n* `$wgModernTimelineBookmark` – Make the timeline bookmarkable via the page URL\n* `$wgModernTimelineBackground` – Background color for the timeline slides (CSS color values)\n* `$wgModernTimelineScaleFactor` – Timeline width in screen widths at first presentation\n* `$wgModernTimelinePosition` – Display the timeline navigation at the top or at the bottom\n* `$wgModernTimelineTickWidth` – Optimal distance (in pixels) between ticks on the axis\n* `$wgModernTimelineStartSlide` – The first slide to display when the timeline is loaded\n* `$wgModernTimelineStartAtEnd` – Start with the last timeline slide\n* `$wgModernTimelineTransitionDuration` – Slide transition in milliseconds\n* `$wgModernTimelineNavHeight` – Height of the timeline navigation section in % or px\n* `$wgModernTimelineTemplate` – Name of a template to show the slide area with\n* `$wgModernTimelineImageProperty` – Semantic property of type Page. Needs to be queried as print request\n\nDefault values of these configuration settings can be found in \"extension.json\". Do not change \"extension.json\".\n\nExample of changing one of the configuration settings:\n\n```php\n$wgModernTimelineHeight = '500px';\n```\n\n## Limitations\n\n* The template parameter is not supported on \"Special:Ask\"\n* The timeline style does not automatically match that of the wiki\n* The timeline language does not automatically match that of the wiki\n\nContact [Professional.Wiki](https://professional.wiki/) for\n[Professional MediaWiki development](https://professional.wiki/en/mediawiki-development) or\n[Semantic MediaWiki hosting](https://www.pro.wiki/semantic-mediawiki).\n\n## Contribution and support\n\nIf you want to contribute work to the project please subscribe to the developers mailing list and\nhave a look at the contribution guideline.\n\n* [File an issue](https://github.com/ProfessionalWiki/ModernTimeline/issues)\n* [Submit a pull request](https://github.com/ProfessionalWiki/ModernTimeline/pulls)\n* Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)\n\n[Professional MediaWiki support](https://professional.wiki/en/support) is available via\n[Professional Wiki](https://professional.wiki/).\n\n## License\n\n[GNU General Public License v2.0 or later (GPL-2.0-or-later)](/COPYING).\n\n## Release notes\n\n### Version 2.0.0\n\nReleased on July 7th, 2025.\n\n* Raised minimum PHP version to 8.0\n* Raised minimum MediaWiki version to 1.39\n* Upgraded to TimelineJS3 3.9.6\n* Translation updates from https://translatewiki.net\n\n### Version 1.2.2\n\nReleased on November 9th, 2023.\n\n* Fixed compatibility with MediaWiki 1.38 and above\n* Translation updates from https://translatewiki.net\n\n### Version 1.2.1\n\nReleased on April 11th, 2022.\n\n* Fixed fatal error in some cases where a Title becomes unavailable\n\n### Version 1.2.0\n\nReleased on March 29, 2020.\n\n* Fixed error occurring when using the `template` parameter with MediaWiki 1.34 or later\n* Added `image property` parameter (with `image` alias)\n* Added `wgModernTimelineImageProperty` configuration parameter\n* Translation updates from https://translatewiki.net\n\n### Version 1.1.0\n\nReleased on August 28, 2019.\n\n* Improved handling of large data sets\n* Translation updates from https://translatewiki.net\n\n### Version 1.0.0\n\nReleased on August 16, 2019.\n\nInitial release with a [TimelineJS3](https://github.com/NUKnightLab/TimelineJS3)\nbased result format featuring 12 customization parameters, template support and\ndate range support.\n\n## Examples\n\n![image](https://user-images.githubusercontent.com/146040/78049781-c31f4700-737b-11ea-839e-4ec8fe1d9d70.png)\n\n---\n\n[![image](https://user-images.githubusercontent.com/146040/78048722-70915b00-737a-11ea-89af-7c555b4f2ae7.png)](https://fina.oeaw.ac.at/wiki/index.php/Timeline_of_Correspondence_in_the_16th_Century#event-aahrefhttpsfinaoeawacatwikiindexphpchristopheplantin-fulvioorsini-1574-11-6christopheaplantina-afulvioaorsinia-a1574-11-6a)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProfessionalWiki%2FModernTimeline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FProfessionalWiki%2FModernTimeline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProfessionalWiki%2FModernTimeline/lists"}