Widget: GuidelinesList: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 295: Line 295:
         const TA_PROP = 'Target Audience';
         const TA_PROP = 'Target Audience';
         const TECH_PROP = 'Technologies'
         const TECH_PROP = 'Technologies'
        const PUB_PROP = 'Publishing Organisation';


         const guidelineQuery = '[[Category:Guideline]]'
         const guidelineQuery = '[[Category:Guideline]]'
Line 305: Line 306:
             + '|?' + TA_PROP
             + '|?' + TA_PROP
             + '|?' + TECH_PROP
             + '|?' + TECH_PROP
            + '|?' + PUB_PROP
             + '|limit=500';
             + '|limit=500';


Line 325: Line 327:
                 guideline[YEAR_PROP] = guidelineResult.printouts[YEAR_PROP][0] && guidelineResult.printouts[YEAR_PROP][0].raw.slice(-4);
                 guideline[YEAR_PROP] = guidelineResult.printouts[YEAR_PROP][0] && guidelineResult.printouts[YEAR_PROP][0].raw.slice(-4);
                 guideline[TECH_PROP] = guidelineResult.printouts[TECH_PROP].map(value => value.fulltext);
                 guideline[TECH_PROP] = guidelineResult.printouts[TECH_PROP].map(value => value.fulltext);
                guideline[PUB_PROP] = guidelineResult.printouts[PUB_PROP].map(value => value.fulltext);
                 return guideline;
                 return guideline;
             });
             });

Revision as of 11:26, 18 July 2023

Current version of the List of Guidelines.
Currently in use – do not modify!