Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eccenux/jobsched
This extension provides a user interface for editing something you might call an activities calendar or a job schedule. Under the hood it uses JSWikiGantt so you need it installed if you want to use this.
https://github.com/eccenux/jobsched
Last synced: about 2 months ago
JSON representation
This extension provides a user interface for editing something you might call an activities calendar or a job schedule. Under the hood it uses JSWikiGantt so you need it installed if you want to use this.
- Host: GitHub
- URL: https://github.com/eccenux/jobsched
- Owner: Eccenux
- License: mit
- Created: 2014-02-06T23:18:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2022-07-14T11:01:00.000Z (over 2 years ago)
- Last Synced: 2023-04-08T15:27:39.943Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://www.mediawiki.org/wiki/Extension:JobSchEd
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
JobSchEd
========This extension provides a user interface for editing something you might call an activities calendar or a job schedule. Under the hood it uses [JSWikiGantt](https://github.com/Eccenux/JSWikiGantt) so you need it installed if you want to use this.
For more info please see:
https://www.mediawiki.org/wiki/Extension:JobSchEdInstallation
------------1. Download the extension files and place them under extensions/JobSchEd
2. At the end of LocalSettings.php, add:
`require_once("$IP/extensions/JobSchEd/JobSchEd.php");`
3. Installation can now be verified through Special:Version on your wikiRenaming people
---------------Search regexp:
```
(\d{3})(\s*)([^<]+)
```
Replace function (JS):
```
function(a, pid, space, name) {
var pmap = {
210:{before:{id:'210',name:'Joe'}, after:{id:'100',name:'Joe Doe'}},
170:{before:{id:'170',name:'Bob'}, after:{id:'110',name:'Robert Sky'}},
200:{before:{id:'200',name:'Maciej'}, after:{id:'200',name:'Maciej Jaros'}},
};if (typeof pmap[pid] == 'object') {
var p = pmap[pid];
pid = p.after.id;
name = p.after.name;
return `${pid}${space}${name}`;
}
return a;
}
```