MediaWiki:Common.js
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
mw.loader.using('mediawiki.util').then(function () {
if (
mw.config.get('wgNamespaceNumber') === 0 &&
mw.config.get('wgTitle') === 'Gaurav_Singh_Chouhan'
) {
var personSchema = {
"@context": "https://schema.org",
"@type": "Person",
"name": "Gaurav Singh Chouhan",
"image": "https://bharatwikipedia.org/wiki/Special:FilePath/Gaurav_Singh_Chouhan.jpg",
"url": "https://bharatwikipedia.org/wiki/Gaurav_Singh_Chouhan",
"sameAs": [
"https://www.instagram.com/mrgauravchouhan",
"https://www.linkedin.com/in/mrgauravchouhan",
"https://x.com/mrgauravchouhan"
],
"birthDate": "1999-07-21",
"jobTitle": "Writer, Law Student, Motivational Speaker",
"nationality": "Indian",
"description": "Gaurav Singh Chouhan is an Indian writer, motivational speaker, and law student."
};
var script = document.createElement('script');
script.type = 'application/ld+json';
script.text = JSON.stringify(personSchema);
document.head.appendChild(script);
}
});
mw.loader.using('mediawiki.util').then(function () {
if (
mw.config.get('wgNamespaceNumber') === 0 &&
mw.config.get('wgTitle') === 'ConnexAbility_Private_Limited'
) {
var orgSchema = {
"@context": "https://schema.org",
"@type": "Organization",
"name": "ConnexAbility Private Limited",
"alternateName": "ConnexAbility",
"url": "https://bharatwikipedia.org/wiki/ConnexAbility_Private_Limited",
"logo": "https://bharatwikipedia.org/wiki/Special:FilePath/Connex.png",
"foundingDate": "2025-09-08",
"description": "ConnexAbility Private Limited is an Indian branding and digital services company.",
"address": {
"@type": "PostalAddress",
"addressCountry": "IN"
},
"sameAs": [
"https://connexability.in"
]
};
var script = document.createElement('script');
script.type = 'application/ld+json';
script.text = JSON.stringify(orgSchema);
document.head.appendChild(script);
}
});
mw.loader.using('mediawiki.util').then(function () {
if (
mw.config.get('wgNamespaceNumber') === 0 &&
mw.config.get('wgTitle') === 'Movie_Title_Here'
) {
var movieSchema = {
"@context": "https://schema.org",
"@type": "Movie",
"name": "Movie Name",
"url": "https://bharatwikipedia.org/wiki/Movie_Title_Here",
"description": "Movie description here",
"datePublished": "2024",
"image": "POSTER_URL"
};
var script = document.createElement('script');
script.type = 'application/ld+json';
script.text = JSON.stringify(movieSchema);
document.head.appendChild(script);
}
});