MediaWiki:Common.js: Difference between revisions

No edit summary
No edit summary
Line 43: Line 43:
       console.log(text);
       console.log(text);
       if (text.includes('Video')) {
       if (text.includes('Video')) {
          return text.replace('Video/', '').replace('/', ' · ')
        return text.replace('Video/', '').replace('/', ' · ');
       } else {
       } else {
         return text
         return text;
       }
       }
     });
     });