<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wikithionville.fr/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wikithionville.fr/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-05-04T06:14:21Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297252&amp;oldid=prev</id>
		<title>Wikilierre : Résolution de bugs</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297252&amp;oldid=prev"/>
		<updated>2024-10-16T08:55:35Z</updated>

		<summary type="html">&lt;p&gt;Résolution de bugs&lt;/p&gt;
&lt;a href=&quot;https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;amp;diff=297252&amp;amp;oldid=297251&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297251&amp;oldid=prev</id>
		<title>Wikilierre : Non ajout des images manquantes</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297251&amp;oldid=prev"/>
		<updated>2024-10-15T15:04:40Z</updated>

		<summary type="html">&lt;p&gt;Non ajout des images manquantes&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 15 octobre 2024 à 17:04&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;use strict&quot;;function _typeof(t){return(_typeof=&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;amp;&amp;amp;&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;t.constructor===Symbol&amp;amp;&amp;amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime=function e(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},i=o.iterator||&quot;@@iterator&quot;,a=o.asyncIterator||&quot;@@asyncIterator&quot;,l=o.toStringTag||&quot;@@toStringTag&quot;;function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},&quot;&quot;)}catch(s){c=function t(e,r,n){return e[r]=n}}function u(t,e,r,o){var i,a,l,c,s=Object.create((e&amp;amp;&amp;amp;e.prototype instanceof p?e:p).prototype);return n(s,&quot;_invoke&quot;,{value:(i=t,a=r,l=new L(o||[]),c=&quot;suspendedStart&quot;,function(t,e){if(&quot;executing&quot;===c)throw Error(&quot;Generator is already running&quot;);if(&quot;completed&quot;===c){if(&quot;throw&quot;===t)throw e;return C()}for(l.method=t,l.arg=e;;){var r=l.delegate;if(r){var n=b(r,l);if(n){if(n===h)continue;return n}}if(&quot;next&quot;===l.method)l.sent=l._sent=l.arg;else if(&quot;throw&quot;===l.method){if(&quot;suspendedStart&quot;===c)throw c=&quot;completed&quot;,l.arg;l.dispatchException(l.arg)}else&quot;return&quot;===l.method&amp;amp;&amp;amp;l.abrupt(&quot;return&quot;,l.arg);c=&quot;executing&quot;;var o=f(i,a,l);if(&quot;normal&quot;===o.type){if(c=l.done?&quot;completed&quot;:&quot;suspendedYield&quot;,o.arg===h)continue;return{value:o.arg,done:l.done}}&quot;throw&quot;===o.type&amp;amp;&amp;amp;(c=&quot;completed&quot;,l.method=&quot;throw&quot;,l.arg=o.arg)}})}),s}function f(t,e,r){try{return{type:&quot;normal&quot;,arg:t.call(e,r)}}catch(n){return{type:&quot;throw&quot;,arg:n}}}t.wrap=u;var h={};function p(){}function d(){}function y(){}var m={};c(m,i,function(){return this});var g=Object.getPrototypeOf,v=g&amp;amp;&amp;amp;g(g(k([])));v&amp;amp;&amp;amp;v!==e&amp;amp;&amp;amp;r.call(v,i)&amp;amp;&amp;amp;(m=v);var $=y.prototype=p.prototype=Object.create(m);function w(t){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){var o;n(this,&quot;_invoke&quot;,{value:function n(i,a){function l(){return new e(function(n,o){!function n(o,i,a,l){var c=f(t[o],t,i);if(&quot;throw&quot;!==c.type){var s=c.arg,u=s.value;return u&amp;amp;&amp;amp;&quot;object&quot;==_typeof(u)&amp;amp;&amp;amp;r.call(u,&quot;__await&quot;)?e.resolve(u.__await).then(function(t){n(&quot;next&quot;,t,a,l)},function(t){n(&quot;throw&quot;,t,a,l)}):e.resolve(u).then(function(t){s.value=t,a(s)},function(t){return n(&quot;throw&quot;,t,a,l)})}l(c.arg)}(i,a,n,o)})}return o=o?o.then(l,l):l()}})}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,&quot;throw&quot;===r&amp;amp;&amp;amp;t.iterator.return&amp;amp;&amp;amp;(e.method=&quot;return&quot;,e.arg=void 0,b(t,e),&quot;throw&quot;===e.method)||&quot;return&quot;!==r&amp;amp;&amp;amp;(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),h;var o=f(n,t.iterator,e.arg);if(&quot;throw&quot;===o.type)return e.method=&quot;throw&quot;,e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,&quot;return&quot;!==e.method&amp;amp;&amp;amp;(e.method=&quot;next&quot;,e.arg=void 0),e.delegate=null,h):i:(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;iterator result is not an object&quot;),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&amp;amp;&amp;amp;(e.catchLoc=t[1]),2 in t&amp;amp;&amp;amp;(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type=&quot;normal&quot;,delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:&quot;root&quot;}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n&amp;lt;t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=y,n($,&quot;constructor&quot;,{value:y,configurable:!0}),n(y,&quot;constructor&quot;,{value:d,configurable:!0}),d.displayName=c(y,l,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(t){var e=&quot;function&quot;==typeof t&amp;amp;&amp;amp;t.constructor;return!!e&amp;amp;&amp;amp;(e===d||&quot;GeneratorFunction&quot;===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,l,&quot;GeneratorFunction&quot;)),t.prototype=Object.create($),t},t.awrap=function(t){return{__await:t}},w(_.prototype),c(_.prototype,a,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&amp;amp;&amp;amp;(i=Promise);var a=new _(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w($),c($,l,&quot;Generator&quot;),c($,i,function(){return this}),c($,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,L.prototype={constructor:L,reset:function t(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(E),!e)for(var n in this)&quot;t&quot;===n.charAt(0)&amp;amp;&amp;amp;r.call(this,n)&amp;amp;&amp;amp;!isNaN(+n.slice(1))&amp;amp;&amp;amp;(this[n]=void 0)},stop:function t(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function t(e){if(this.done)throw e;var n=this;function o(t,r){return l.type=&quot;throw&quot;,l.arg=e,n.next=t,r&amp;amp;&amp;amp;(n.method=&quot;next&quot;,n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i&amp;gt;=0;--i){var a=this.tryEntries[i],l=a.completion;if(&quot;root&quot;===a.tryLoc)return o(&quot;end&quot;);if(a.tryLoc&amp;lt;=this.prev){var c=r.call(a,&quot;catchLoc&quot;),s=r.call(a,&quot;finallyLoc&quot;);if(c&amp;amp;&amp;amp;s){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function t(e,n){for(var o=this.tryEntries.length-1;o&amp;gt;=0;--o){var i=this.tryEntries[o];if(i.tryLoc&amp;lt;=this.prev&amp;amp;&amp;amp;r.call(i,&quot;finallyLoc&quot;)&amp;amp;&amp;amp;this.prev&amp;lt;i.finallyLoc){var a=i;break}}a&amp;amp;&amp;amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;amp;&amp;amp;a.tryLoc&amp;lt;=n&amp;amp;&amp;amp;n&amp;lt;=a.finallyLoc&amp;amp;&amp;amp;(a=null);var l=a?a.completion:{};return l.type=e,l.arg=n,a?(this.method=&quot;next&quot;,this.next=a.finallyLoc,h):this.complete(l)},complete:function t(e,r){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;amp;&amp;amp;r&amp;amp;&amp;amp;(this.next=r),h},finish:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.tryLoc===e){var o=n.completion;if(&quot;throw&quot;===o.type){var i=o.arg;E(n)}return i}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function t(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},&quot;next&quot;===this.method&amp;amp;&amp;amp;(this.arg=void 0),h}},t}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(s){r(s);return}l.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,l,&quot;next&quot;,t)}function l(t){asyncGeneratorStep(i,n,o,a,l,&quot;throw&quot;,t)}a(void 0)})}}function UpdateCounters(t,e){return _UpdateCounters.apply(this,arguments)}function _UpdateCounters(){return(_UpdateCounters=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,r){var n;return _regeneratorRuntime().wrap(function t(o){for(;;)switch(o.prev=o.next){case 0:return e=document.getElementById(e),o.next=3,new Promise(function(t){var r=setInterval(function(){var n=e.getBoundingClientRect();n.bottom&amp;lt;0||n.top-Math.max(document.documentElement.clientHeight,window.innerHeight)&amp;gt;=0||(clearInterval(r),t())},500)});case 3:n=0;case 4:if(!(n&amp;lt;=r)){o.next=11;break}return e.innerText=n.toLocaleString(navigator.language,{notation:&quot;compact&quot;,compactDisplay:&quot;short&quot;,maximumFractionDigits:1}),o.next=8,new Promise(function(t){setTimeout(t,10)});case 8:n+=Math.ceil(r/100),o.next=4;break;case 11:case&quot;end&quot;:return o.stop()}},t)}))).apply(this,arguments)}function SwitchMainForm(t){var e=document.getElementById(&quot;main-form&quot;),r=e.querySelector(&quot;input[type=&#039;hidden&#039;]&quot;),n=e.querySelector(&quot;input:not([type=&#039;hidden&#039;])&quot;),o=e.querySelector(&quot;button&quot;);switch(t){case&quot;search&quot;:r.value=&quot;title&quot;,r.name=&quot;Sp%C3%A9cial%3ARecherche&quot;,n.name=&quot;search&quot;,n.placeholder=&quot;Rechercher&quot;,n.removeAttribute(&quot;dir&quot;),o.removeAttribute(&quot;name&quot;),o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-search&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path d=&quot;M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;;break;case&quot;new-article&quot;:r.value=&quot;edit&quot;,r.name=&quot;action&quot;,n.name=&quot;title&quot;,n.placeholder=&quot;Cr\xe9er un article&quot;,n.dir=&quot;ltr&quot;,o.name=&quot;create&quot;,o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-plus-lg&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path fill-rule=&quot;evenodd&quot; d=&quot;M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;}}if(document.documentElement.classList.contains(&quot;skin-citizen-dark&quot;)&amp;amp;&amp;amp;!(&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;))&amp;amp;&amp;amp;document.querySelectorAll(&quot;table&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor?t.querySelectorAll(&quot;td&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor||(t.style.backgroundColor=&quot;#212630&quot;,t.style.border=&quot;2px solid rgb(101 133 209)&quot;,t.style.margin=&quot;5px&quot;)}):t.style.backgroundColor=&quot;#212630&quot;}),&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;)){if(!CSS.supports(&quot;selector(:has(+ *)&quot;)){var t=document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];t.style.setProperty(&quot;display&quot;,&quot;block&quot;,&quot;important&quot;),t.style.setProperty(&quot;margin&quot;,&quot;0&quot;,&quot;important&quot;),t.style.setProperty(&quot;padding&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-header&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-footer&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementById(&quot;citizen-body-header-sticky-sentinel&quot;).style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;citizen-footer&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;-1rem&quot;)}fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&quot;).then(function(t){return t.json()}).then(function(t){t.query.userinfo.rights.includes(&quot;edit&quot;)&amp;amp;&amp;amp;SwitchMainForm(&quot;new-article&quot;),document.getElementsByClassName(&quot;counters&quot;)[0].style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_articles&quot;,t.query.statistics.articles),UpdateCounters(&quot;counter_pages&quot;,t.query.statistics.pages),UpdateCounters(&quot;counter_utilisateurs&quot;,t.query.statistics.users),t.query.userinfo.editcount&amp;gt;0&amp;amp;&amp;amp;(document.getElementById(&quot;ccard_contribperso&quot;).style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_contribperso&quot;,t.query.userinfo.editcount))}),document.addEventListener(&quot;scroll&quot;,function(){UpdateScroll()}),UpdateScroll(),addPopCarouselBtns(),initCards()}function UpdateScroll(){var t=window.scrollY+window.innerHeight/3;[].forEach.call(document.getElementsByClassName(&quot;panel&quot;),function(e){e.offsetTop&amp;lt;=t&amp;amp;&amp;amp;e.offsetTop+e.clientHeight&amp;gt;t&amp;amp;&amp;amp;(document.getElementById(&quot;wiki-home&quot;).style.backgroundColor=e.getAttribute(&quot;bg&quot;),[].forEach.call(document.querySelectorAll(&quot;#progress a&quot;),function(t){t.getAttribute(&quot;href&quot;)===&quot;#&quot;+e.id?t.classList.add(&quot;active&quot;):t.classList.remove(&quot;active&quot;)}))}),document.getElementById(&quot;img-beffroi&quot;).style.transform=&quot;translate3d(-&quot;.concat(Math.min(window.scrollY/document.getElementById(&quot;plusdinfo&quot;).offsetTop*30,30),&quot;vw, 0, 0)&quot;)}function addPopCarouselBtns(){var t=document.querySelector(&quot;.home-header #popular ul&quot;),e=document.getElementById(&quot;popular-next&quot;),r=document.getElementById(&quot;popular-prev&quot;);if(t){var n=function n(){t.scrollWidth-t.clientWidth&amp;gt;0?(e.style.display=&quot;block&quot;,r.style.display=&quot;block&quot;):(e.style.display=&quot;none&quot;,r.style.display=&quot;none&quot;)};e.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.min(t.scrollWidth,t.scrollLeft+.8*t.clientWidth),behavior:&quot;smooth&quot;})}),r.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.max(0,t.scrollLeft-.8*t.clientWidth),behavior:&quot;smooth&quot;})}),window.addEventListener(&quot;resize&quot;,n),n(),t.querySelectorAll(&quot;li&quot;).forEach(function(t){fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;format=json&amp;amp;redirects&amp;amp;generator=images&amp;amp;prop=imageinfo&amp;amp;iiprop=url|dimensions&amp;amp;titles=&quot;.concat(new URL(t.querySelector(&quot;a&quot;).href,&quot;https://wikithionville.fr&quot;).searchParams.get(&quot;title&quot;))).then(function(t){return t.json()}).then(function(e){var r,n,o=Object.values(null==e?void 0:null===(r=e.query)||void 0===r?void 0:r.pages),i=o.filter(function(t){return t.imageinfo[0].width*t.imageinfo[0].width&amp;gt;122500&amp;amp;&amp;amp;t.imageinfo[0].url});n=i.length&amp;gt;0?i[Math.round(Math.random()*((null==o?void 0:o.length)-1))].imageinfo[0].url:o.at(-1).imageinfo[0].url;var a=t.querySelector(&quot;img&quot;);a.loading=&quot;lazy&quot;,a.src=n,a.onerror=function(t){a.src=&quot;/home/article_placeholder.svg&quot;}}),t.addEventListener(&quot;click&quot;,function(){t.querySelector(&quot;a&quot;).click()})})}}function initCards(){[].forEach.call(document.getElementsByClassName(&quot;card-li&quot;),function(t){var e=t.querySelectorAll(&quot;.card-container&quot;);t.addEventListener(&quot;mousemove&quot;,function(t){e.forEach(function(e){var r=e.querySelector(&quot;.blob&quot;),n=e.querySelector(&quot;.fakeblob&quot;).getBoundingClientRect();r.animate([{transform:&quot;translate3d(&quot;.concat(t.clientX-n.left-n.width/2,&quot;px,&quot;).concat(t.clientY-n.top-n.height/2,&quot;px, 0)&quot;)}],{duration:200,fill:&quot;forwards&quot;})})},{passive:!0})})}[].forEach.call(document.getElementsByClassName(&quot;text-marquee&quot;),function(t){var e=t.querySelector(&quot;*&quot;),r=t.clientWidth-e.scrollWidth,n=Math.max(Math.round(-r/15),1);r&amp;lt;0&amp;amp;&amp;amp;(t.style.animation=n+&quot;s linear infinite alternate paused gardient_slide&quot;,e.style.setProperty(&quot;--ofw&quot;,r+&quot;px&quot;),e.style.animation=n+&quot;s linear infinite alternate paused text_slide&quot;)});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;use strict&quot;;function _typeof(t){return(_typeof=&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;amp;&amp;amp;&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;t.constructor===Symbol&amp;amp;&amp;amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime=function e(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},i=o.iterator||&quot;@@iterator&quot;,a=o.asyncIterator||&quot;@@asyncIterator&quot;,l=o.toStringTag||&quot;@@toStringTag&quot;;function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},&quot;&quot;)}catch(s){c=function t(e,r,n){return e[r]=n}}function u(t,e,r,o){var i,a,l,c,s=Object.create((e&amp;amp;&amp;amp;e.prototype instanceof p?e:p).prototype);return n(s,&quot;_invoke&quot;,{value:(i=t,a=r,l=new L(o||[]),c=&quot;suspendedStart&quot;,function(t,e){if(&quot;executing&quot;===c)throw Error(&quot;Generator is already running&quot;);if(&quot;completed&quot;===c){if(&quot;throw&quot;===t)throw e;return C()}for(l.method=t,l.arg=e;;){var r=l.delegate;if(r){var n=b(r,l);if(n){if(n===h)continue;return n}}if(&quot;next&quot;===l.method)l.sent=l._sent=l.arg;else if(&quot;throw&quot;===l.method){if(&quot;suspendedStart&quot;===c)throw c=&quot;completed&quot;,l.arg;l.dispatchException(l.arg)}else&quot;return&quot;===l.method&amp;amp;&amp;amp;l.abrupt(&quot;return&quot;,l.arg);c=&quot;executing&quot;;var o=f(i,a,l);if(&quot;normal&quot;===o.type){if(c=l.done?&quot;completed&quot;:&quot;suspendedYield&quot;,o.arg===h)continue;return{value:o.arg,done:l.done}}&quot;throw&quot;===o.type&amp;amp;&amp;amp;(c=&quot;completed&quot;,l.method=&quot;throw&quot;,l.arg=o.arg)}})}),s}function f(t,e,r){try{return{type:&quot;normal&quot;,arg:t.call(e,r)}}catch(n){return{type:&quot;throw&quot;,arg:n}}}t.wrap=u;var h={};function p(){}function d(){}function y(){}var m={};c(m,i,function(){return this});var g=Object.getPrototypeOf,v=g&amp;amp;&amp;amp;g(g(k([])));v&amp;amp;&amp;amp;v!==e&amp;amp;&amp;amp;r.call(v,i)&amp;amp;&amp;amp;(m=v);var $=y.prototype=p.prototype=Object.create(m);function w(t){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){var o;n(this,&quot;_invoke&quot;,{value:function n(i,a){function l(){return new e(function(n,o){!function n(o,i,a,l){var c=f(t[o],t,i);if(&quot;throw&quot;!==c.type){var s=c.arg,u=s.value;return u&amp;amp;&amp;amp;&quot;object&quot;==_typeof(u)&amp;amp;&amp;amp;r.call(u,&quot;__await&quot;)?e.resolve(u.__await).then(function(t){n(&quot;next&quot;,t,a,l)},function(t){n(&quot;throw&quot;,t,a,l)}):e.resolve(u).then(function(t){s.value=t,a(s)},function(t){return n(&quot;throw&quot;,t,a,l)})}l(c.arg)}(i,a,n,o)})}return o=o?o.then(l,l):l()}})}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,&quot;throw&quot;===r&amp;amp;&amp;amp;t.iterator.return&amp;amp;&amp;amp;(e.method=&quot;return&quot;,e.arg=void 0,b(t,e),&quot;throw&quot;===e.method)||&quot;return&quot;!==r&amp;amp;&amp;amp;(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),h;var o=f(n,t.iterator,e.arg);if(&quot;throw&quot;===o.type)return e.method=&quot;throw&quot;,e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,&quot;return&quot;!==e.method&amp;amp;&amp;amp;(e.method=&quot;next&quot;,e.arg=void 0),e.delegate=null,h):i:(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;iterator result is not an object&quot;),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&amp;amp;&amp;amp;(e.catchLoc=t[1]),2 in t&amp;amp;&amp;amp;(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type=&quot;normal&quot;,delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:&quot;root&quot;}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n&amp;lt;t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=y,n($,&quot;constructor&quot;,{value:y,configurable:!0}),n(y,&quot;constructor&quot;,{value:d,configurable:!0}),d.displayName=c(y,l,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(t){var e=&quot;function&quot;==typeof t&amp;amp;&amp;amp;t.constructor;return!!e&amp;amp;&amp;amp;(e===d||&quot;GeneratorFunction&quot;===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,l,&quot;GeneratorFunction&quot;)),t.prototype=Object.create($),t},t.awrap=function(t){return{__await:t}},w(_.prototype),c(_.prototype,a,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&amp;amp;&amp;amp;(i=Promise);var a=new _(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w($),c($,l,&quot;Generator&quot;),c($,i,function(){return this}),c($,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,L.prototype={constructor:L,reset:function t(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(E),!e)for(var n in this)&quot;t&quot;===n.charAt(0)&amp;amp;&amp;amp;r.call(this,n)&amp;amp;&amp;amp;!isNaN(+n.slice(1))&amp;amp;&amp;amp;(this[n]=void 0)},stop:function t(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function t(e){if(this.done)throw e;var n=this;function o(t,r){return l.type=&quot;throw&quot;,l.arg=e,n.next=t,r&amp;amp;&amp;amp;(n.method=&quot;next&quot;,n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i&amp;gt;=0;--i){var a=this.tryEntries[i],l=a.completion;if(&quot;root&quot;===a.tryLoc)return o(&quot;end&quot;);if(a.tryLoc&amp;lt;=this.prev){var c=r.call(a,&quot;catchLoc&quot;),s=r.call(a,&quot;finallyLoc&quot;);if(c&amp;amp;&amp;amp;s){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function t(e,n){for(var o=this.tryEntries.length-1;o&amp;gt;=0;--o){var i=this.tryEntries[o];if(i.tryLoc&amp;lt;=this.prev&amp;amp;&amp;amp;r.call(i,&quot;finallyLoc&quot;)&amp;amp;&amp;amp;this.prev&amp;lt;i.finallyLoc){var a=i;break}}a&amp;amp;&amp;amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;amp;&amp;amp;a.tryLoc&amp;lt;=n&amp;amp;&amp;amp;n&amp;lt;=a.finallyLoc&amp;amp;&amp;amp;(a=null);var l=a?a.completion:{};return l.type=e,l.arg=n,a?(this.method=&quot;next&quot;,this.next=a.finallyLoc,h):this.complete(l)},complete:function t(e,r){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;amp;&amp;amp;r&amp;amp;&amp;amp;(this.next=r),h},finish:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.tryLoc===e){var o=n.completion;if(&quot;throw&quot;===o.type){var i=o.arg;E(n)}return i}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function t(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},&quot;next&quot;===this.method&amp;amp;&amp;amp;(this.arg=void 0),h}},t}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(s){r(s);return}l.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,l,&quot;next&quot;,t)}function l(t){asyncGeneratorStep(i,n,o,a,l,&quot;throw&quot;,t)}a(void 0)})}}function UpdateCounters(t,e){return _UpdateCounters.apply(this,arguments)}function _UpdateCounters(){return(_UpdateCounters=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,r){var n;return _regeneratorRuntime().wrap(function t(o){for(;;)switch(o.prev=o.next){case 0:return e=document.getElementById(e),o.next=3,new Promise(function(t){var r=setInterval(function(){var n=e.getBoundingClientRect();n.bottom&amp;lt;0||n.top-Math.max(document.documentElement.clientHeight,window.innerHeight)&amp;gt;=0||(clearInterval(r),t())},500)});case 3:n=0;case 4:if(!(n&amp;lt;=r)){o.next=11;break}return e.innerText=n.toLocaleString(navigator.language,{notation:&quot;compact&quot;,compactDisplay:&quot;short&quot;,maximumFractionDigits:1}),o.next=8,new Promise(function(t){setTimeout(t,10)});case 8:n+=Math.ceil(r/100),o.next=4;break;case 11:case&quot;end&quot;:return o.stop()}},t)}))).apply(this,arguments)}function SwitchMainForm(t){var e=document.getElementById(&quot;main-form&quot;),r=e.querySelector(&quot;input[type=&#039;hidden&#039;]&quot;),n=e.querySelector(&quot;input:not([type=&#039;hidden&#039;])&quot;),o=e.querySelector(&quot;button&quot;);switch(t){case&quot;search&quot;:r.value=&quot;title&quot;,r.name=&quot;Sp%C3%A9cial%3ARecherche&quot;,n.name=&quot;search&quot;,n.placeholder=&quot;Rechercher&quot;,n.removeAttribute(&quot;dir&quot;),o.removeAttribute(&quot;name&quot;),o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-search&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path d=&quot;M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;;break;case&quot;new-article&quot;:r.value=&quot;edit&quot;,r.name=&quot;action&quot;,n.name=&quot;title&quot;,n.placeholder=&quot;Cr\xe9er un article&quot;,n.dir=&quot;ltr&quot;,o.name=&quot;create&quot;,o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-plus-lg&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path fill-rule=&quot;evenodd&quot; d=&quot;M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;}}if(document.documentElement.classList.contains(&quot;skin-citizen-dark&quot;)&amp;amp;&amp;amp;!(&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;))&amp;amp;&amp;amp;document.querySelectorAll(&quot;table&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor?t.querySelectorAll(&quot;td&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor||(t.style.backgroundColor=&quot;#212630&quot;,t.style.border=&quot;2px solid rgb(101 133 209)&quot;,t.style.margin=&quot;5px&quot;)}):t.style.backgroundColor=&quot;#212630&quot;}),&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;)){if(!CSS.supports(&quot;selector(:has(+ *)&quot;)){var t=document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];t.style.setProperty(&quot;display&quot;,&quot;block&quot;,&quot;important&quot;),t.style.setProperty(&quot;margin&quot;,&quot;0&quot;,&quot;important&quot;),t.style.setProperty(&quot;padding&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-header&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-footer&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementById(&quot;citizen-body-header-sticky-sentinel&quot;).style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;citizen-footer&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;-1rem&quot;)}fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&quot;).then(function(t){return t.json()}).then(function(t){t.query.userinfo.rights.includes(&quot;edit&quot;)&amp;amp;&amp;amp;SwitchMainForm(&quot;new-article&quot;),document.getElementsByClassName(&quot;counters&quot;)[0].style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_articles&quot;,t.query.statistics.articles),UpdateCounters(&quot;counter_pages&quot;,t.query.statistics.pages),UpdateCounters(&quot;counter_utilisateurs&quot;,t.query.statistics.users),t.query.userinfo.editcount&amp;gt;0&amp;amp;&amp;amp;(document.getElementById(&quot;ccard_contribperso&quot;).style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_contribperso&quot;,t.query.userinfo.editcount))}),document.addEventListener(&quot;scroll&quot;,function(){UpdateScroll()}),UpdateScroll(),addPopCarouselBtns(),initCards()}function UpdateScroll(){var t=window.scrollY+window.innerHeight/3;[].forEach.call(document.getElementsByClassName(&quot;panel&quot;),function(e){e.offsetTop&amp;lt;=t&amp;amp;&amp;amp;e.offsetTop+e.clientHeight&amp;gt;t&amp;amp;&amp;amp;(document.getElementById(&quot;wiki-home&quot;).style.backgroundColor=e.getAttribute(&quot;bg&quot;),[].forEach.call(document.querySelectorAll(&quot;#progress a&quot;),function(t){t.getAttribute(&quot;href&quot;)===&quot;#&quot;+e.id?t.classList.add(&quot;active&quot;):t.classList.remove(&quot;active&quot;)}))}),document.getElementById(&quot;img-beffroi&quot;).style.transform=&quot;translate3d(-&quot;.concat(Math.min(window.scrollY/document.getElementById(&quot;plusdinfo&quot;).offsetTop*30,30),&quot;vw, 0, 0)&quot;)}function addPopCarouselBtns(){var t=document.querySelector(&quot;.home-header #popular ul&quot;),e=document.getElementById(&quot;popular-next&quot;),r=document.getElementById(&quot;popular-prev&quot;);if(t){var n=function n(){t.scrollWidth-t.clientWidth&amp;gt;0?(e.style.display=&quot;block&quot;,r.style.display=&quot;block&quot;):(e.style.display=&quot;none&quot;,r.style.display=&quot;none&quot;)};e.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.min(t.scrollWidth,t.scrollLeft+.8*t.clientWidth),behavior:&quot;smooth&quot;})}),r.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.max(0,t.scrollLeft-.8*t.clientWidth),behavior:&quot;smooth&quot;})}),window.addEventListener(&quot;resize&quot;,n),n(),t.querySelectorAll(&quot;li&quot;).forEach(function(t){fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;format=json&amp;amp;redirects&amp;amp;generator=images&amp;amp;prop=imageinfo&amp;amp;iiprop=url|dimensions&amp;amp;titles=&quot;.concat(new URL(t.querySelector(&quot;a&quot;).href,&quot;https://wikithionville.fr&quot;).searchParams.get(&quot;title&quot;))).then(function(t){return t.json()}).then(function(e){var r,n,o=Object.values(null==e?void 0:null===(r=e.query)||void 0===r?void 0:r.pages),i=o.filter(function(t){return &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;t.imageinfo&amp;amp;&amp;amp;&lt;/ins&gt;t.imageinfo[0].width*t.imageinfo[0].width&amp;gt;122500&amp;amp;&amp;amp;t.imageinfo[0].url});n=i.length&amp;gt;0?i[Math.round(Math.random()*((null==o?void 0:o.length)-1))].imageinfo[0].url:o.at(-1).imageinfo[0].url;var a=t.querySelector(&quot;img&quot;);a.loading=&quot;lazy&quot;,a.src=n,a.onerror=function(t){a.src=&quot;/home/article_placeholder.svg&quot;}}),t.addEventListener(&quot;click&quot;,function(){t.querySelector(&quot;a&quot;).click()})})}}function initCards(){[].forEach.call(document.getElementsByClassName(&quot;card-li&quot;),function(t){var e=t.querySelectorAll(&quot;.card-container&quot;);t.addEventListener(&quot;mousemove&quot;,function(t){e.forEach(function(e){var r=e.querySelector(&quot;.blob&quot;),n=e.querySelector(&quot;.fakeblob&quot;).getBoundingClientRect();r.animate([{transform:&quot;translate3d(&quot;.concat(t.clientX-n.left-n.width/2,&quot;px,&quot;).concat(t.clientY-n.top-n.height/2,&quot;px, 0)&quot;)}],{duration:200,fill:&quot;forwards&quot;})})},{passive:!0})})}[].forEach.call(document.getElementsByClassName(&quot;text-marquee&quot;),function(t){var e=t.querySelector(&quot;*&quot;),r=t.clientWidth-e.scrollWidth,n=Math.max(Math.round(-r/15),1);r&amp;lt;0&amp;amp;&amp;amp;(t.style.animation=n+&quot;s linear infinite alternate paused gardient_slide&quot;,e.style.setProperty(&quot;--ofw&quot;,r+&quot;px&quot;),e.style.animation=n+&quot;s linear infinite alternate paused text_slide&quot;)});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297250&amp;oldid=prev</id>
		<title>Wikilierre : Récupération des images des articles populaires aléatoirement + améliorations diverses</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297250&amp;oldid=prev"/>
		<updated>2024-10-15T14:57:49Z</updated>

		<summary type="html">&lt;p&gt;Récupération des images des articles populaires aléatoirement + améliorations diverses&lt;/p&gt;
&lt;a href=&quot;https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;amp;diff=297250&amp;amp;oldid=297248&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297248&amp;oldid=prev</id>
		<title>Wikilierre : Utilisation du format JSON pour la récupération des images des articles</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297248&amp;oldid=prev"/>
		<updated>2024-10-14T14:46:29Z</updated>

		<summary type="html">&lt;p&gt;Utilisation du format JSON pour la récupération des images des articles&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 14 octobre 2024 à 16:46&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;use strict&quot;;function _typeof(t){return(_typeof=&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;amp;&amp;amp;&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;t.constructor===Symbol&amp;amp;&amp;amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime=function e(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},i=o.iterator||&quot;@@iterator&quot;,a=o.asyncIterator||&quot;@@asyncIterator&quot;,l=o.toStringTag||&quot;@@toStringTag&quot;;function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},&quot;&quot;)}catch(s){c=function t(e,r,n){return e[r]=n}}function u(t,e,r,o){var i,a,l,c,s=Object.create((e&amp;amp;&amp;amp;e.prototype instanceof p?e:p).prototype);return n(s,&quot;_invoke&quot;,{value:(i=t,a=r,l=new L(o||[]),c=&quot;suspendedStart&quot;,function(t,e){if(&quot;executing&quot;===c)throw Error(&quot;Generator is already running&quot;);if(&quot;completed&quot;===c){if(&quot;throw&quot;===t)throw e;return C()}for(l.method=t,l.arg=e;;){var r=l.delegate;if(r){var n=b(r,l);if(n){if(n===h)continue;return n}}if(&quot;next&quot;===l.method)l.sent=l._sent=l.arg;else if(&quot;throw&quot;===l.method){if(&quot;suspendedStart&quot;===c)throw c=&quot;completed&quot;,l.arg;l.dispatchException(l.arg)}else&quot;return&quot;===l.method&amp;amp;&amp;amp;l.abrupt(&quot;return&quot;,l.arg);c=&quot;executing&quot;;var o=f(i,a,l);if(&quot;normal&quot;===o.type){if(c=l.done?&quot;completed&quot;:&quot;suspendedYield&quot;,o.arg===h)continue;return{value:o.arg,done:l.done}}&quot;throw&quot;===o.type&amp;amp;&amp;amp;(c=&quot;completed&quot;,l.method=&quot;throw&quot;,l.arg=o.arg)}})}),s}function f(t,e,r){try{return{type:&quot;normal&quot;,arg:t.call(e,r)}}catch(n){return{type:&quot;throw&quot;,arg:n}}}t.wrap=u;var h={};function p(){}function d(){}function y(){}var v={};c(v,i,function(){return this});var m=Object.getPrototypeOf,g=m&amp;amp;&amp;amp;m(m(k([])));g&amp;amp;&amp;amp;g!==e&amp;amp;&amp;amp;r.call(g,i)&amp;amp;&amp;amp;(v=g);var $=y.prototype=p.prototype=Object.create(v);function w(t){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){var o;n(this,&quot;_invoke&quot;,{value:function n(i,a){function l(){return new e(function(n,o){!function n(o,i,a,l){var c=f(t[o],t,i);if(&quot;throw&quot;!==c.type){var s=c.arg,u=s.value;return u&amp;amp;&amp;amp;&quot;object&quot;==_typeof(u)&amp;amp;&amp;amp;r.call(u,&quot;__await&quot;)?e.resolve(u.__await).then(function(t){n(&quot;next&quot;,t,a,l)},function(t){n(&quot;throw&quot;,t,a,l)}):e.resolve(u).then(function(t){s.value=t,a(s)},function(t){return n(&quot;throw&quot;,t,a,l)})}l(c.arg)}(i,a,n,o)})}return o=o?o.then(l,l):l()}})}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,&quot;throw&quot;===r&amp;amp;&amp;amp;t.iterator.return&amp;amp;&amp;amp;(e.method=&quot;return&quot;,e.arg=void 0,b(t,e),&quot;throw&quot;===e.method)||&quot;return&quot;!==r&amp;amp;&amp;amp;(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),h;var o=f(n,t.iterator,e.arg);if(&quot;throw&quot;===o.type)return e.method=&quot;throw&quot;,e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,&quot;return&quot;!==e.method&amp;amp;&amp;amp;(e.method=&quot;next&quot;,e.arg=void 0),e.delegate=null,h):i:(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;iterator result is not an object&quot;),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&amp;amp;&amp;amp;(e.catchLoc=t[1]),2 in t&amp;amp;&amp;amp;(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type=&quot;normal&quot;,delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:&quot;root&quot;}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n&amp;lt;t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=y,n($,&quot;constructor&quot;,{value:y,configurable:!0}),n(y,&quot;constructor&quot;,{value:d,configurable:!0}),d.displayName=c(y,l,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(t){var e=&quot;function&quot;==typeof t&amp;amp;&amp;amp;t.constructor;return!!e&amp;amp;&amp;amp;(e===d||&quot;GeneratorFunction&quot;===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,l,&quot;GeneratorFunction&quot;)),t.prototype=Object.create($),t},t.awrap=function(t){return{__await:t}},w(_.prototype),c(_.prototype,a,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&amp;amp;&amp;amp;(i=Promise);var a=new _(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w($),c($,l,&quot;Generator&quot;),c($,i,function(){return this}),c($,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,L.prototype={constructor:L,reset:function t(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(E),!e)for(var n in this)&quot;t&quot;===n.charAt(0)&amp;amp;&amp;amp;r.call(this,n)&amp;amp;&amp;amp;!isNaN(+n.slice(1))&amp;amp;&amp;amp;(this[n]=void 0)},stop:function t(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function t(e){if(this.done)throw e;var n=this;function o(t,r){return l.type=&quot;throw&quot;,l.arg=e,n.next=t,r&amp;amp;&amp;amp;(n.method=&quot;next&quot;,n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i&amp;gt;=0;--i){var a=this.tryEntries[i],l=a.completion;if(&quot;root&quot;===a.tryLoc)return o(&quot;end&quot;);if(a.tryLoc&amp;lt;=this.prev){var c=r.call(a,&quot;catchLoc&quot;),s=r.call(a,&quot;finallyLoc&quot;);if(c&amp;amp;&amp;amp;s){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function t(e,n){for(var o=this.tryEntries.length-1;o&amp;gt;=0;--o){var i=this.tryEntries[o];if(i.tryLoc&amp;lt;=this.prev&amp;amp;&amp;amp;r.call(i,&quot;finallyLoc&quot;)&amp;amp;&amp;amp;this.prev&amp;lt;i.finallyLoc){var a=i;break}}a&amp;amp;&amp;amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;amp;&amp;amp;a.tryLoc&amp;lt;=n&amp;amp;&amp;amp;n&amp;lt;=a.finallyLoc&amp;amp;&amp;amp;(a=null);var l=a?a.completion:{};return l.type=e,l.arg=n,a?(this.method=&quot;next&quot;,this.next=a.finallyLoc,h):this.complete(l)},complete:function t(e,r){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;amp;&amp;amp;r&amp;amp;&amp;amp;(this.next=r),h},finish:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.tryLoc===e){var o=n.completion;if(&quot;throw&quot;===o.type){var i=o.arg;E(n)}return i}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function t(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},&quot;next&quot;===this.method&amp;amp;&amp;amp;(this.arg=void 0),h}},t}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(s){r(s);return}l.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,l,&quot;next&quot;,t)}function l(t){asyncGeneratorStep(i,n,o,a,l,&quot;throw&quot;,t)}a(void 0)})}}function UpdateCounters(t,e){return _UpdateCounters.apply(this,arguments)}function _UpdateCounters(){return(_UpdateCounters=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,r){var n;return _regeneratorRuntime().wrap(function t(o){for(;;)switch(o.prev=o.next){case 0:return e=document.getElementById(e),o.next=3,new Promise(function(t){var r=setInterval(function(){var n=e.getBoundingClientRect();n.bottom&amp;lt;0||n.top-Math.max(document.documentElement.clientHeight,window.innerHeight)&amp;gt;=0||(clearInterval(r),t())},500)});case 3:n=0;case 4:if(!(n&amp;lt;=r)){o.next=11;break}return e.innerText=n.toLocaleString(navigator.language,{notation:&quot;compact&quot;,compactDisplay:&quot;short&quot;,maximumFractionDigits:1}),o.next=8,new Promise(function(t){setTimeout(t,10)});case 8:n+=Math.ceil(r/100),o.next=4;break;case 11:case&quot;end&quot;:return o.stop()}},t)}))).apply(this,arguments)}function SwitchMainForm(t){var e=document.getElementById(&quot;main-form&quot;),r=e.querySelector(&quot;input[type=&#039;hidden&#039;]&quot;),n=e.querySelector(&quot;input:not([type=&#039;hidden&#039;])&quot;),o=e.querySelector(&quot;button&quot;);switch(t){case&quot;search&quot;:r.value=&quot;title&quot;,r.name=&quot;Sp%C3%A9cial%3ARecherche&quot;,n.name=&quot;search&quot;,n.placeholder=&quot;Rechercher&quot;,n.removeAttribute(&quot;dir&quot;),o.removeAttribute(&quot;name&quot;),o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-search&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path d=&quot;M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;;break;case&quot;new-article&quot;:r.value=&quot;edit&quot;,r.name=&quot;action&quot;,n.name=&quot;title&quot;,n.placeholder=&quot;Cr\xe9er un article&quot;,n.dir=&quot;ltr&quot;,o.name=&quot;create&quot;,o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-plus-lg&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path fill-rule=&quot;evenodd&quot; d=&quot;M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;}}if(document.documentElement.classList.contains(&quot;skin-citizen-dark&quot;)&amp;amp;&amp;amp;!(&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;))&amp;amp;&amp;amp;document.querySelectorAll(&quot;table&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor?t.querySelectorAll(&quot;td&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor||(t.style.backgroundColor=&quot;#212630&quot;,t.style.border=&quot;2px solid rgb(101 133 209)&quot;,t.style.margin=&quot;5px&quot;)}):t.style.backgroundColor=&quot;#212630&quot;}),&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;)){if(!CSS.supports(&quot;selector(:has(+ *)&quot;)){var t=document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];t.style.setProperty(&quot;display&quot;,&quot;block&quot;,&quot;important&quot;),t.style.setProperty(&quot;margin&quot;,&quot;0&quot;,&quot;important&quot;),t.style.setProperty(&quot;padding&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-header&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-footer&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementById(&quot;citizen-body-header-sticky-sentinel&quot;).style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;citizen-footer&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;-1rem&quot;)}fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&quot;).then(function(t){return t.json()}).then(function(t){t.query.userinfo.rights.includes(&quot;edit&quot;)&amp;amp;&amp;amp;SwitchMainForm(&quot;new-article&quot;),document.getElementsByClassName(&quot;counters&quot;)[0].style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_articles&quot;,t.query.statistics.articles),UpdateCounters(&quot;counter_pages&quot;,t.query.statistics.pages),UpdateCounters(&quot;counter_utilisateurs&quot;,t.query.statistics.users),t.query.userinfo.editcount&amp;gt;0&amp;amp;&amp;amp;(document.getElementById(&quot;ccard_contribperso&quot;).style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_contribperso&quot;,t.query.userinfo.editcount))}),document.addEventListener(&quot;scroll&quot;,function(){UpdateScroll()}),UpdateScroll(),addPopCarouselBtns(),initCards()}function UpdateScroll(){var t=window.scrollY+window.innerHeight/3;[].forEach.call(document.getElementsByClassName(&quot;panel&quot;),function(e){e.offsetTop&amp;lt;=t&amp;amp;&amp;amp;e.offsetTop+e.clientHeight&amp;gt;t&amp;amp;&amp;amp;(document.getElementById(&quot;wiki-home&quot;).style.backgroundColor=e.getAttribute(&quot;bg&quot;),[].forEach.call(document.querySelectorAll(&quot;#progress a&quot;),function(t){t.getAttribute(&quot;href&quot;)===&quot;#&quot;+e.id?t.classList.add(&quot;active&quot;):t.classList.remove(&quot;active&quot;)}))}),document.getElementById(&quot;img-beffroi&quot;).style.transform=&quot;translate3d(-&quot;.concat(Math.min(window.scrollY/document.getElementById(&quot;plusdinfo&quot;).offsetTop*30,30),&quot;vw, 0, 0)&quot;)}function addPopCarouselBtns(){var t=document.querySelector(&quot;.home-header #popular ul&quot;),e=document.getElementById(&quot;popular-next&quot;),r=document.getElementById(&quot;popular-prev&quot;);if(t){var n=function n(){t.scrollWidth-t.clientWidth&amp;gt;0?(e.style.display=&quot;block&quot;,r.style.display=&quot;block&quot;):(e.style.display=&quot;none&quot;,r.style.display=&quot;none&quot;)};e.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.min(t.scrollWidth,t.scrollLeft+.8*t.clientWidth),behavior:&quot;smooth&quot;})}),r.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.max(0,t.scrollLeft-.8*t.clientWidth),behavior:&quot;smooth&quot;})}),window.addEventListener(&quot;resize&quot;,n),n(),t.querySelectorAll(&quot;li&quot;).forEach(function(t){fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;redirects&amp;amp;prop=images&amp;amp;titles=&quot;.concat(new URL(t.querySelector(&quot;a&quot;).href,&quot;https://wikithionville.fr&quot;).searchParams.get(&quot;title&quot;))).then(function(t){return t.json()}).then(function(e){var r,n,o,i,a,l,c=null==e?void 0:null===(r=e.query)||void 0===r?void 0:null===(n=r.pages)||void 0===n?void 0:null===(o=n[Object.keys(null==e?void 0:null===(l=e.query)||void 0===l?void 0:l.pages)[0]])||void 0===o?void 0:null===(i=o.images)||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:a.title,s=t.querySelector(&quot;img&quot;);s.loading=&quot;lazy&quot;,s.src=&quot;https://wikithionville.fr/index.php?title=Sp%C3%A9cial:Redirection/file/&quot;.concat(c)}),t.addEventListener(&quot;click&quot;,function(){t.querySelector(&quot;a&quot;).click()})})}}function initCards(){[].forEach.call(document.getElementsByClassName(&quot;card-li&quot;),function(t){var e=t.querySelectorAll(&quot;.card-container&quot;);t.addEventListener(&quot;mousemove&quot;,function(t){e.forEach(function(e){var r=e.querySelector(&quot;.blob&quot;),n=e.querySelector(&quot;.fakeblob&quot;).getBoundingClientRect();r.animate([{transform:&quot;translate3d(&quot;.concat(t.clientX-n.left-n.width/2,&quot;px,&quot;).concat(t.clientY-n.top-n.height/2,&quot;px, 0)&quot;)}],{duration:200,fill:&quot;forwards&quot;})})},{passive:!0})})}[].forEach.call(document.getElementsByClassName(&quot;text-marquee&quot;),function(t){var e=t.querySelector(&quot;*&quot;),r=t.clientWidth-e.scrollWidth,n=Math.max(Math.round(-r/15),1);r&amp;lt;0&amp;amp;&amp;amp;(t.style.animation=n+&quot;s linear infinite alternate paused gardient_slide&quot;,e.style.setProperty(&quot;--ofw&quot;,r+&quot;px&quot;),e.style.animation=n+&quot;s linear infinite alternate paused text_slide&quot;)});&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&quot;use strict&quot;;function _typeof(t){return(_typeof=&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;amp;&amp;amp;&quot;function&quot;==typeof Symbol&amp;amp;&amp;amp;t.constructor===Symbol&amp;amp;&amp;amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}function _regeneratorRuntime(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime=function e(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o=&quot;function&quot;==typeof Symbol?Symbol:{},i=o.iterator||&quot;@@iterator&quot;,a=o.asyncIterator||&quot;@@asyncIterator&quot;,l=o.toStringTag||&quot;@@toStringTag&quot;;function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},&quot;&quot;)}catch(s){c=function t(e,r,n){return e[r]=n}}function u(t,e,r,o){var i,a,l,c,s=Object.create((e&amp;amp;&amp;amp;e.prototype instanceof p?e:p).prototype);return n(s,&quot;_invoke&quot;,{value:(i=t,a=r,l=new L(o||[]),c=&quot;suspendedStart&quot;,function(t,e){if(&quot;executing&quot;===c)throw Error(&quot;Generator is already running&quot;);if(&quot;completed&quot;===c){if(&quot;throw&quot;===t)throw e;return C()}for(l.method=t,l.arg=e;;){var r=l.delegate;if(r){var n=b(r,l);if(n){if(n===h)continue;return n}}if(&quot;next&quot;===l.method)l.sent=l._sent=l.arg;else if(&quot;throw&quot;===l.method){if(&quot;suspendedStart&quot;===c)throw c=&quot;completed&quot;,l.arg;l.dispatchException(l.arg)}else&quot;return&quot;===l.method&amp;amp;&amp;amp;l.abrupt(&quot;return&quot;,l.arg);c=&quot;executing&quot;;var o=f(i,a,l);if(&quot;normal&quot;===o.type){if(c=l.done?&quot;completed&quot;:&quot;suspendedYield&quot;,o.arg===h)continue;return{value:o.arg,done:l.done}}&quot;throw&quot;===o.type&amp;amp;&amp;amp;(c=&quot;completed&quot;,l.method=&quot;throw&quot;,l.arg=o.arg)}})}),s}function f(t,e,r){try{return{type:&quot;normal&quot;,arg:t.call(e,r)}}catch(n){return{type:&quot;throw&quot;,arg:n}}}t.wrap=u;var h={};function p(){}function d(){}function y(){}var v={};c(v,i,function(){return this});var m=Object.getPrototypeOf,g=m&amp;amp;&amp;amp;m(m(k([])));g&amp;amp;&amp;amp;g!==e&amp;amp;&amp;amp;r.call(g,i)&amp;amp;&amp;amp;(v=g);var $=y.prototype=p.prototype=Object.create(v);function w(t){[&quot;next&quot;,&quot;throw&quot;,&quot;return&quot;].forEach(function(e){c(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){var o;n(this,&quot;_invoke&quot;,{value:function n(i,a){function l(){return new e(function(n,o){!function n(o,i,a,l){var c=f(t[o],t,i);if(&quot;throw&quot;!==c.type){var s=c.arg,u=s.value;return u&amp;amp;&amp;amp;&quot;object&quot;==_typeof(u)&amp;amp;&amp;amp;r.call(u,&quot;__await&quot;)?e.resolve(u.__await).then(function(t){n(&quot;next&quot;,t,a,l)},function(t){n(&quot;throw&quot;,t,a,l)}):e.resolve(u).then(function(t){s.value=t,a(s)},function(t){return n(&quot;throw&quot;,t,a,l)})}l(c.arg)}(i,a,n,o)})}return o=o?o.then(l,l):l()}})}function b(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,&quot;throw&quot;===r&amp;amp;&amp;amp;t.iterator.return&amp;amp;&amp;amp;(e.method=&quot;return&quot;,e.arg=void 0,b(t,e),&quot;throw&quot;===e.method)||&quot;return&quot;!==r&amp;amp;&amp;amp;(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;The iterator does not provide a &#039;&quot;+r+&quot;&#039; method&quot;)),h;var o=f(n,t.iterator,e.arg);if(&quot;throw&quot;===o.type)return e.method=&quot;throw&quot;,e.arg=o.arg,e.delegate=null,h;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,&quot;return&quot;!==e.method&amp;amp;&amp;amp;(e.method=&quot;next&quot;,e.arg=void 0),e.delegate=null,h):i:(e.method=&quot;throw&quot;,e.arg=TypeError(&quot;iterator result is not an object&quot;),e.delegate=null,h)}function x(t){var e={tryLoc:t[0]};1 in t&amp;amp;&amp;amp;(e.catchLoc=t[1]),2 in t&amp;amp;&amp;amp;(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type=&quot;normal&quot;,delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:&quot;root&quot;}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if(&quot;function&quot;==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n&amp;lt;t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:C}}function C(){return{value:void 0,done:!0}}return d.prototype=y,n($,&quot;constructor&quot;,{value:y,configurable:!0}),n(y,&quot;constructor&quot;,{value:d,configurable:!0}),d.displayName=c(y,l,&quot;GeneratorFunction&quot;),t.isGeneratorFunction=function(t){var e=&quot;function&quot;==typeof t&amp;amp;&amp;amp;t.constructor;return!!e&amp;amp;&amp;amp;(e===d||&quot;GeneratorFunction&quot;===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,c(t,l,&quot;GeneratorFunction&quot;)),t.prototype=Object.create($),t},t.awrap=function(t){return{__await:t}},w(_.prototype),c(_.prototype,a,function(){return this}),t.AsyncIterator=_,t.async=function(e,r,n,o,i){void 0===i&amp;amp;&amp;amp;(i=Promise);var a=new _(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then(function(t){return t.done?t.value:a.next()})},w($),c($,l,&quot;Generator&quot;),c($,i,function(){return this}),c($,&quot;toString&quot;,function(){return&quot;[object Generator]&quot;}),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=k,L.prototype={constructor:L,reset:function t(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method=&quot;next&quot;,this.arg=void 0,this.tryEntries.forEach(E),!e)for(var n in this)&quot;t&quot;===n.charAt(0)&amp;amp;&amp;amp;r.call(this,n)&amp;amp;&amp;amp;!isNaN(+n.slice(1))&amp;amp;&amp;amp;(this[n]=void 0)},stop:function t(){this.done=!0;var e=this.tryEntries[0].completion;if(&quot;throw&quot;===e.type)throw e.arg;return this.rval},dispatchException:function t(e){if(this.done)throw e;var n=this;function o(t,r){return l.type=&quot;throw&quot;,l.arg=e,n.next=t,r&amp;amp;&amp;amp;(n.method=&quot;next&quot;,n.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i&amp;gt;=0;--i){var a=this.tryEntries[i],l=a.completion;if(&quot;root&quot;===a.tryLoc)return o(&quot;end&quot;);if(a.tryLoc&amp;lt;=this.prev){var c=r.call(a,&quot;catchLoc&quot;),s=r.call(a,&quot;finallyLoc&quot;);if(c&amp;amp;&amp;amp;s){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev&amp;lt;a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw Error(&quot;try statement without catch or finally&quot;);if(this.prev&amp;lt;a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function t(e,n){for(var o=this.tryEntries.length-1;o&amp;gt;=0;--o){var i=this.tryEntries[o];if(i.tryLoc&amp;lt;=this.prev&amp;amp;&amp;amp;r.call(i,&quot;finallyLoc&quot;)&amp;amp;&amp;amp;this.prev&amp;lt;i.finallyLoc){var a=i;break}}a&amp;amp;&amp;amp;(&quot;break&quot;===e||&quot;continue&quot;===e)&amp;amp;&amp;amp;a.tryLoc&amp;lt;=n&amp;amp;&amp;amp;n&amp;lt;=a.finallyLoc&amp;amp;&amp;amp;(a=null);var l=a?a.completion:{};return l.type=e,l.arg=n,a?(this.method=&quot;next&quot;,this.next=a.finallyLoc,h):this.complete(l)},complete:function t(e,r){if(&quot;throw&quot;===e.type)throw e.arg;return&quot;break&quot;===e.type||&quot;continue&quot;===e.type?this.next=e.arg:&quot;return&quot;===e.type?(this.rval=this.arg=e.arg,this.method=&quot;return&quot;,this.next=&quot;end&quot;):&quot;normal&quot;===e.type&amp;amp;&amp;amp;r&amp;amp;&amp;amp;(this.next=r),h},finish:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function t(e){for(var r=this.tryEntries.length-1;r&amp;gt;=0;--r){var n=this.tryEntries[r];if(n.tryLoc===e){var o=n.completion;if(&quot;throw&quot;===o.type){var i=o.arg;E(n)}return i}}throw Error(&quot;illegal catch attempt&quot;)},delegateYield:function t(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},&quot;next&quot;===this.method&amp;amp;&amp;amp;(this.arg=void 0),h}},t}function asyncGeneratorStep(t,e,r,n,o,i,a){try{var l=t[i](a),c=l.value}catch(s){r(s);return}l.done?e(c):Promise.resolve(c).then(n,o)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise(function(n,o){var i=t.apply(e,r);function a(t){asyncGeneratorStep(i,n,o,a,l,&quot;next&quot;,t)}function l(t){asyncGeneratorStep(i,n,o,a,l,&quot;throw&quot;,t)}a(void 0)})}}function UpdateCounters(t,e){return _UpdateCounters.apply(this,arguments)}function _UpdateCounters(){return(_UpdateCounters=_asyncToGenerator(_regeneratorRuntime().mark(function t(e,r){var n;return _regeneratorRuntime().wrap(function t(o){for(;;)switch(o.prev=o.next){case 0:return e=document.getElementById(e),o.next=3,new Promise(function(t){var r=setInterval(function(){var n=e.getBoundingClientRect();n.bottom&amp;lt;0||n.top-Math.max(document.documentElement.clientHeight,window.innerHeight)&amp;gt;=0||(clearInterval(r),t())},500)});case 3:n=0;case 4:if(!(n&amp;lt;=r)){o.next=11;break}return e.innerText=n.toLocaleString(navigator.language,{notation:&quot;compact&quot;,compactDisplay:&quot;short&quot;,maximumFractionDigits:1}),o.next=8,new Promise(function(t){setTimeout(t,10)});case 8:n+=Math.ceil(r/100),o.next=4;break;case 11:case&quot;end&quot;:return o.stop()}},t)}))).apply(this,arguments)}function SwitchMainForm(t){var e=document.getElementById(&quot;main-form&quot;),r=e.querySelector(&quot;input[type=&#039;hidden&#039;]&quot;),n=e.querySelector(&quot;input:not([type=&#039;hidden&#039;])&quot;),o=e.querySelector(&quot;button&quot;);switch(t){case&quot;search&quot;:r.value=&quot;title&quot;,r.name=&quot;Sp%C3%A9cial%3ARecherche&quot;,n.name=&quot;search&quot;,n.placeholder=&quot;Rechercher&quot;,n.removeAttribute(&quot;dir&quot;),o.removeAttribute(&quot;name&quot;),o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-search&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path d=&quot;M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;;break;case&quot;new-article&quot;:r.value=&quot;edit&quot;,r.name=&quot;action&quot;,n.name=&quot;title&quot;,n.placeholder=&quot;Cr\xe9er un article&quot;,n.dir=&quot;ltr&quot;,o.name=&quot;create&quot;,o.innerHTML=&#039;&amp;lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; width=&quot;25&quot; height=&quot;25&quot; fill=&quot;currentColor&quot; class=&quot;bi bi-plus-lg&quot; viewBox=&quot;0 0 16 16&quot;&amp;gt;&amp;lt;path fill-rule=&quot;evenodd&quot; d=&quot;M8 2a.5.5 0 0 1 .5.5v5h5a.5.5 0 0 1 0 1h-5v5a.5.5 0 0 1-1 0v-5h-5a.5.5 0 0 1 0-1h5v-5A.5.5 0 0 1 8 2&quot;/&amp;gt;&amp;lt;/svg&amp;gt;&#039;}}if(document.documentElement.classList.contains(&quot;skin-citizen-dark&quot;)&amp;amp;&amp;amp;!(&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;))&amp;amp;&amp;amp;document.querySelectorAll(&quot;table&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor?t.querySelectorAll(&quot;td&quot;).forEach(function(t){&quot;&quot;===t.style.backgroundColor||&quot;transparent&quot;===t.style.backgroundColor||(t.style.backgroundColor=&quot;#212630&quot;,t.style.border=&quot;2px solid rgb(101 133 209)&quot;,t.style.margin=&quot;5px&quot;)}):t.style.backgroundColor=&quot;#212630&quot;}),&quot;/index.php/Accueil&quot;===window.location.pathname||window.location.href.includes(&quot;?title=Accueil&quot;)){if(!CSS.supports(&quot;selector(:has(+ *)&quot;)){var t=document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];t.style.setProperty(&quot;display&quot;,&quot;block&quot;,&quot;important&quot;),t.style.setProperty(&quot;margin&quot;,&quot;0&quot;,&quot;important&quot;),t.style.setProperty(&quot;padding&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-header&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body-footer&quot;)[0].style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementById(&quot;citizen-body-header-sticky-sentinel&quot;).style.setProperty(&quot;display&quot;,&quot;none&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;citizen-footer&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;0&quot;,&quot;important&quot;),document.getElementsByClassName(&quot;mw-body&quot;)[0].style.setProperty(&quot;margin-top&quot;,&quot;-1rem&quot;)}fetch(&quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&quot;).then(function(t){return t.json()}).then(function(t){t.query.userinfo.rights.includes(&quot;edit&quot;)&amp;amp;&amp;amp;SwitchMainForm(&quot;new-article&quot;),document.getElementsByClassName(&quot;counters&quot;)[0].style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_articles&quot;,t.query.statistics.articles),UpdateCounters(&quot;counter_pages&quot;,t.query.statistics.pages),UpdateCounters(&quot;counter_utilisateurs&quot;,t.query.statistics.users),t.query.userinfo.editcount&amp;gt;0&amp;amp;&amp;amp;(document.getElementById(&quot;ccard_contribperso&quot;).style.display=&quot;flex&quot;,UpdateCounters(&quot;counter_contribperso&quot;,t.query.userinfo.editcount))}),document.addEventListener(&quot;scroll&quot;,function(){UpdateScroll()}),UpdateScroll(),addPopCarouselBtns(),initCards()}function UpdateScroll(){var t=window.scrollY+window.innerHeight/3;[].forEach.call(document.getElementsByClassName(&quot;panel&quot;),function(e){e.offsetTop&amp;lt;=t&amp;amp;&amp;amp;e.offsetTop+e.clientHeight&amp;gt;t&amp;amp;&amp;amp;(document.getElementById(&quot;wiki-home&quot;).style.backgroundColor=e.getAttribute(&quot;bg&quot;),[].forEach.call(document.querySelectorAll(&quot;#progress a&quot;),function(t){t.getAttribute(&quot;href&quot;)===&quot;#&quot;+e.id?t.classList.add(&quot;active&quot;):t.classList.remove(&quot;active&quot;)}))}),document.getElementById(&quot;img-beffroi&quot;).style.transform=&quot;translate3d(-&quot;.concat(Math.min(window.scrollY/document.getElementById(&quot;plusdinfo&quot;).offsetTop*30,30),&quot;vw, 0, 0)&quot;)}function addPopCarouselBtns(){var t=document.querySelector(&quot;.home-header #popular ul&quot;),e=document.getElementById(&quot;popular-next&quot;),r=document.getElementById(&quot;popular-prev&quot;);if(t){var n=function n(){t.scrollWidth-t.clientWidth&amp;gt;0?(e.style.display=&quot;block&quot;,r.style.display=&quot;block&quot;):(e.style.display=&quot;none&quot;,r.style.display=&quot;none&quot;)};e.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.min(t.scrollWidth,t.scrollLeft+.8*t.clientWidth),behavior:&quot;smooth&quot;})}),r.addEventListener(&quot;click&quot;,function(){t.scrollTo({left:Math.max(0,t.scrollLeft-.8*t.clientWidth),behavior:&quot;smooth&quot;})}),window.addEventListener(&quot;resize&quot;,n),n(),t.querySelectorAll(&quot;li&quot;).forEach(function(t){fetch(&quot;https://wikithionville.fr/api.php?action=query&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;format=json&lt;/ins&gt;&amp;amp;redirects&amp;amp;prop=images&amp;amp;titles=&quot;.concat(new URL(t.querySelector(&quot;a&quot;).href,&quot;https://wikithionville.fr&quot;).searchParams.get(&quot;title&quot;))).then(function(t){return t.json()}).then(function(e){var r,n,o,i,a,l,c=null==e?void 0:null===(r=e.query)||void 0===r?void 0:null===(n=r.pages)||void 0===n?void 0:null===(o=n[Object.keys(null==e?void 0:null===(l=e.query)||void 0===l?void 0:l.pages)[0]])||void 0===o?void 0:null===(i=o.images)||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:a.title,s=t.querySelector(&quot;img&quot;);s.loading=&quot;lazy&quot;,s.src=&quot;https://wikithionville.fr/index.php?title=Sp%C3%A9cial:Redirection/file/&quot;.concat(c)}),t.addEventListener(&quot;click&quot;,function(){t.querySelector(&quot;a&quot;).click()})})}}function initCards(){[].forEach.call(document.getElementsByClassName(&quot;card-li&quot;),function(t){var e=t.querySelectorAll(&quot;.card-container&quot;);t.addEventListener(&quot;mousemove&quot;,function(t){e.forEach(function(e){var r=e.querySelector(&quot;.blob&quot;),n=e.querySelector(&quot;.fakeblob&quot;).getBoundingClientRect();r.animate([{transform:&quot;translate3d(&quot;.concat(t.clientX-n.left-n.width/2,&quot;px,&quot;).concat(t.clientY-n.top-n.height/2,&quot;px, 0)&quot;)}],{duration:200,fill:&quot;forwards&quot;})})},{passive:!0})})}[].forEach.call(document.getElementsByClassName(&quot;text-marquee&quot;),function(t){var e=t.querySelector(&quot;*&quot;),r=t.clientWidth-e.scrollWidth,n=Math.max(Math.round(-r/15),1);r&amp;lt;0&amp;amp;&amp;amp;(t.style.animation=n+&quot;s linear infinite alternate paused gardient_slide&quot;,e.style.setProperty(&quot;--ofw&quot;,r+&quot;px&quot;),e.style.animation=n+&quot;s linear infinite alternate paused text_slide&quot;)});&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297242&amp;oldid=prev</id>
		<title>Wikilierre le 14 octobre 2024 à 13:19</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297242&amp;oldid=prev"/>
		<updated>2024-10-14T13:19:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;amp;diff=297242&amp;amp;oldid=297241&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297241&amp;oldid=prev</id>
		<title>Wikilierre le 14 octobre 2024 à 13:16</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297241&amp;oldid=prev"/>
		<updated>2024-10-14T13:16:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;amp;diff=297241&amp;amp;oldid=297240&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297240&amp;oldid=prev</id>
		<title>Wikilierre : Ajout des nouveautés pour la page d&#039;accueil + minification du code</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297240&amp;oldid=prev"/>
		<updated>2024-10-14T13:16:03Z</updated>

		<summary type="html">&lt;p&gt;Ajout des nouveautés pour la page d&amp;#039;accueil + minification du code&lt;/p&gt;
&lt;a href=&quot;https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;amp;diff=297240&amp;amp;oldid=297172&quot;&gt;Voir les modifications&lt;/a&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297172&amp;oldid=prev</id>
		<title>Wikilierre le 4 juin 2024 à 14:53</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297172&amp;oldid=prev"/>
		<updated>2024-06-04T14:53:48Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 juin 2024 à 16:53&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l207&quot;&gt;Ligne 207 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 207 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (window.location.pathname === &amp;#039;/index.php/Accueil&amp;#039; || window.location.href.includes(&amp;quot;?title=Accueil&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (window.location.pathname === &amp;#039;/index.php/Accueil&amp;#039; || window.location.href.includes(&amp;quot;?title=Accueil&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   if (!CSS.supports(&amp;quot;selector(:has(+ *)&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   if (!CSS.supports(&amp;quot;selector(:has(+ *)&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;let &lt;/del&gt;body_container = document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;var &lt;/ins&gt;body_container = document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     body_container.style.setProperty(&amp;quot;display&amp;quot;, &amp;quot;block&amp;quot;, &amp;quot;important&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     body_container.style.setProperty(&amp;quot;display&amp;quot;, &amp;quot;block&amp;quot;, &amp;quot;important&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     body_container.style.setProperty(&amp;quot;margin&amp;quot;, &amp;quot;0&amp;quot;, &amp;quot;important&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     body_container.style.setProperty(&amp;quot;margin&amp;quot;, &amp;quot;0&amp;quot;, &amp;quot;important&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l233&quot;&gt;Ligne 233 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 233 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   });&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   });&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   document.addEventListener(&amp;quot;scroll&amp;quot;, function () {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   document.addEventListener(&amp;quot;scroll&amp;quot;, function () {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     UpdateScroll();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     UpdateScroll();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297171&amp;oldid=prev</id>
		<title>Wikilierre : Affichage de la page d&#039;accueil en plein écran même si le sélecteur CSS :has n&#039;est pas supportée</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297171&amp;oldid=prev"/>
		<updated>2024-06-04T14:50:31Z</updated>

		<summary type="html">&lt;p&gt;Affichage de la page d&amp;#039;accueil en plein écran même si le sélecteur CSS :has n&amp;#039;est pas supportée&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 juin 2024 à 16:50&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l206&quot;&gt;Ligne 206 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 206 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (window.location.pathname === &amp;#039;/index.php/Accueil&amp;#039; || window.location.href.includes(&amp;quot;?title=Accueil&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;if (window.location.pathname === &amp;#039;/index.php/Accueil&amp;#039; || window.location.href.includes(&amp;quot;?title=Accueil&amp;quot;)) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  if (!CSS.supports(&quot;selector(:has(+ *)&quot;)) {&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    let body_container = document.getElementsByClassName(&quot;citizen-body-container&quot;)[0];&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    body_container.style.setProperty(&quot;display&quot;, &quot;block&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    body_container.style.setProperty(&quot;margin&quot;, &quot;0&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    body_container.style.setProperty(&quot;padding&quot;, &quot;0&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    document.getElementsByClassName(&quot;mw-body-header&quot;)[0].style.setProperty(&quot;display&quot;, &quot;none&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    document.getElementsByClassName(&quot;mw-body-footer&quot;)[0].style.setProperty(&quot;display&quot;, &quot;none&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    document.getElementById(&quot;citizen-body-header-sticky-sentinel&quot;).style.setProperty(&quot;display&quot;, &quot;none&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    document.getElementsByClassName(&quot;citizen-footer&quot;)[0].style.setProperty(&quot;margin-top&quot;, &quot;0&quot;, &quot;important&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    document.getElementsByClassName(&quot;mw-body&quot;)[0].style.setProperty(&quot;margin-top&quot;, &quot;-1rem&quot;);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  }&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   fetch(&amp;quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&amp;quot;).then(function (res) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   fetch(&amp;quot;https://wikithionville.fr/api.php?action=query&amp;amp;meta=userinfo|siteinfo&amp;amp;uiprop=rights|editcount|realname&amp;amp;siprop=statistics&amp;amp;format=json&amp;quot;).then(function (res) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return res.json();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     return res.json();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
	<entry>
		<id>https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297167&amp;oldid=prev</id>
		<title>Wikilierre le 4 juin 2024 à 07:48</title>
		<link rel="alternate" type="text/html" href="https://wikithionville.fr/index.php?title=MediaWiki:Common.js&amp;diff=297167&amp;oldid=prev"/>
		<updated>2024-06-04T07:48:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 4 juin 2024 à 09:48&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l245&quot;&gt;Ligne 245 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 245 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (panel.offsetTop &amp;lt;= scroll &amp;amp;&amp;amp; panel.offsetTop + panel.clientHeight &amp;gt; scroll) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if (panel.offsetTop &amp;lt;= scroll &amp;amp;&amp;amp; panel.offsetTop + panel.clientHeight &amp;gt; scroll) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       document.getElementById(&amp;quot;wiki-home&amp;quot;).style.backgroundColor = panel.getAttribute(&amp;quot;bg&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       document.getElementById(&amp;quot;wiki-home&amp;quot;).style.backgroundColor = panel.getAttribute(&amp;quot;bg&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       [].forEach.call(document.querySelectorAll(&quot;#categories .marklist img&quot;), function (markimg) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       [].forEach.call(document.querySelectorAll(&quot;#categories .marklist img&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.inverted&lt;/ins&gt;&quot;), function (markimg) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (panel.id===&amp;quot;categories&amp;quot;) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         if (panel.id===&amp;quot;categories&amp;quot;) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           markimg.classList.remove(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inverted&lt;/del&gt;&quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           markimg.classList.remove(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y&lt;/ins&gt;&quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }else{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }else{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           markimg.classList.add(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;inverted&lt;/del&gt;&quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;           markimg.classList.add(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;y&lt;/ins&gt;&quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       });&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;       });&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Wikilierre</name></author>
	</entry>
</feed>