File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 3636#$wgMFDefaultSkinClass = 'SkinMinerva';
3737$wgCitizenTableNowrapClasses[] = 'info_box'; # disable wrapping of info_box tables
3838$wgCitizenSearchGateway = "smwAskApi";
39- # $wgCitizenSearchSmwAskApiQueryTemplate = '[[HasLabel::~*${input}*]]|?HasLabel=displaytitle|?HasImage=thumbnail|?HasDescription=desc';
40- $wgCitizenSearchSmwAskApiQueryTemplate = '[[Display_title_of::~*${input}*]]|?Display_title_of=displaytitle|?HasImage=thumbnail';
39+ $wgCitizenSearchSmwAskApiQueryTemplate = '[[HasLabel::~*${input}*]]|?HasLabel=displaytitle|?HasImage=thumbnail|?HasDescription=desc';
40+ # $wgCitizenSearchSmwAskApiQueryTemplate = '[[Display_title_of::~*${input}*]]|?Display_title_of=displaytitle|?HasImage=thumbnail';
4141
4242# InstantCommons allows wiki to use images from http://commons.wikimedia.org
4343$wgUseInstantCommons  = getenv( 'MW_USE_INSTANT_COMMONS' );
Original file line number Diff line number Diff line change @@ -132,6 +132,11 @@ RUN set -x; \
132132    && git clone --depth 1 -b $MW_VERSION https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CookieWarning \
133133    && git clone --depth 1 -b $MW_VERSION https://gerrit.wikimedia.org/r/p/mediawiki/extensions/CleanChanges \
134134    && git clone --depth 1 -b $MW_VERSION https://gerrit.wikimedia.org/r/p/mediawiki/extensions/UniversalLanguageSelector \
135+     && git clone --depth 1 -b $MW_VERSION https://github.com/wikimedia/mediawiki-extensions-HitCounters HitCounters \
136+     && cd $MW_HOME \
137+     && COMPOSER=composer.local.json composer config --no-plugins allow-plugins.composer/installers true \
138+     && COMPOSER=composer.local.json composer require --no-update mediawiki/hit-counters \
139+     && composer update  --no-dev --prefer-source \
135140    && cd ..
136141
137142# #### ElasticSearch extensions
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments