Line 21: |
Line 21: |
| | | |
| * common.js is site-wide javascript, called during any page load and defined on PersonalData.IO at [[MediaWiki:Common.js]] | | * common.js is site-wide javascript, called during any page load and defined on PersonalData.IO at [[MediaWiki:Common.js]] |
− | * gadgets are site-wide javascript, which can be pre-packaged and configured by the admin to be opt-in or opt-out, with users able to change the choice in their preferences page. Currently, wiki.personaldata.io does not have that part of the system enabled. | + | * gadgets are site-wide javascript, which can be pre-packaged and configured by the admin to be opt-in or opt-out, with users able to change the choice in their preferences page. |
− | * user-scripts are custom javascript, set up by each user separately. Yours is at [[Special:MyPage/common.js]], but is currently inactive as one additional option needs to be activated on wiki.personaldata.io. | + | * user-scripts are custom javascript, set up by each user separately. It is always located at [[Special:MyPage/common.js]]. |
| | | |
| [[MediaWiki:Common.js]] is currently used to: | | [[MediaWiki:Common.js]] is currently used to: |
| * enable hyperlinking to specific pages, with specific JS or CSS loaded as well; | | * enable hyperlinking to specific pages, with specific JS or CSS loaded as well; |
| * load [[MediaWiki:Gadget-EasyQuery.js]] (it is [https://www.wikidata.org/wiki/MediaWiki:Gadget-EasyQuery.js normally a prepackaged gadget on Wikidata] which helps navigate the items, but had to be slightly adapted to here); | | * load [[MediaWiki:Gadget-EasyQuery.js]] (it is [https://www.wikidata.org/wiki/MediaWiki:Gadget-EasyQuery.js normally a prepackaged gadget on Wikidata] which helps navigate the items, but had to be slightly adapted to here); |
− | * load the [[MediaWiki:Access.js]] script, which in turn relies on the templates described above; | + | * load the [[MediaWiki:Access.js]] script, which in turn relies on the wiki templates described above (such as [[Template:Access]]), filled with data fetched from particular items; |
− | * load the [[User:Abel/common.js]] script, which enables sitewide experimentation and circumvention of access control rules. | + | * load the [[User:Abel/experimental.js]] script, which enables sitewide experimentation and circumvention of access control rules. |