MediaWiki:Wikia.js: Difference between revisions
imported>Lawiki1534virus Adding BitChute Player |
Tankmanfan44 (talk | contribs) m Protected "MediaWiki:Wikia.js" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 11: | Line 11: | ||
data = $this.data(), | data = $this.data(), | ||
uri = new mw.Uri('https://www.bitchute.com/embed/'), | uri = new mw.Uri('https://www.bitchute.com/embed/'), | ||
id = String(data.id || '').trim() | id = String(data.id || '').trim(); | ||
if (id === '') { | if (id === '') { | ||
| Line 18: | Line 18: | ||
} | } | ||
uri.path += id | uri.path += id; | ||
$this.html( | $this.html( | ||