NVCwiki:Mise à jour en cours

De NVCwiki
Aller à : navigation, rechercher

À la suite d'une nécessaire mise à jour de MediaWiki (à cause d'une mise à jour de PHP sur le serveur et des limites de compatibilité avec MediaWiki : cf. https://www.mediawiki.org/wiki/Compatibility#PHP) de la version mw:1.16 (2011) à la version mw:1.28 (2016), certaine adaptations sont nécessaires.

Ci-dessous les bugs, corrections, adaptations, repérés à prévoir ou réalisées (merci de compléter au besoin) :

Liste des extensions temporairement désactivées :

LocalSettings.php:151: #require_once( "extensions/GoogleMaps/GoogleMaps.php" ); TODO 1.28
LocalSettings.php:160: #require_once('extensions/Interwiki/SpecialInterwiki.php'); TODO 1.28
LocalSettings.php:185: #require_once("{$IP}/extensions/CategoryTree/CategoryTree.php"); TODO 1.28
LocalSettings.php:232: #require_once("$IP/extensions/Renameuser/SpecialRenameuser.php"); TODO 1.28 
LocalSettings.php:249: #require_once( "$IP/extensions/PurgeArticle/WikiVXToolbox.php" ); TODO 1.28
LocalSettings.php:252: #require_once('extensions/RawMsg.php'); TODO 1.28
LocalSettings.php:259: #require_once("$IP/extensions/UsabilityInitiative/Vector/Vector.php"); TODO 1.28
LocalSettings.php:320: #require_once("$IP/extensions/Widgets/Widgets.php"); TODO 1.28

Activation de Maps[modifier]

L'extension Maps, plus efficace que MultiMaps, a été installée par Utilisateur:Markus Pallo. L'adaptation nécessaire du code pour afficher les cartes a commencé :

Test de MultiMaps[modifier]

Adaptation réalisée pour la page France.

Voir la documentation : http://test.foxway.org/wiki/MultiMaps


Leaflet[modifier]

{{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
|circles=57.42129439209404,23.90625:326844.60518253763~I'm a circle~of doom!
|polygons=62.103882522897855,5.09765625:58.309488840677645,5.712890625:58.95000823335702,10.8984375:61.68987220046001,12.83203125:63.35212928507874,11.865234375:64.1297836764257,13.974609375:65.58572002329473,14.326171875:68.56038368664157,18.28125:68.52823492039876,20.126953125:69.2249968541159,20.56640625:69.2249968541159,21.708984375:68.6245436634471,23.466796875:69.00567519658819,25.400390625:69.96043926902487,26.630859375:70.1403642720717,28.564453125:69.25614923150721,28.828125:69.83962194067463,31.201171875:70.75796562654924,29.8828125:71.10254274232307,25.576171875:70.72897946208789,22.67578125:69.99053495947653,18.10546875:67.84241647327927,13.095703125:68.33437594128185,15.908203125:63.704722429433225,9.4921875:63.782486031165014,8.61328125~Meanwhile in Norway~ ~#0B4173~ ~ ~#3373CC
|lines=53.225768435790194,23.466796875:53.9560855309879,29.1796875:56.46249048388979,31.11328125:59.31076795603884,30.673828125:60.84491057364915,27.333984375:60.930432202923335,21.26953125:59.17592824927136,16.611328125:56.218923189166624,16.259765625:54.1109429427243,19.599609375:53.225768435790194,23.466796875~You're serrounded!~ ~#B0920C
|rectangles=51.83577752045248,33.837890625:46.37725420510028,23.37890625~I'm a square
|height=500px
|service=leaflet
}}

Chargement de la carte…

Google[modifier]

{{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
|circles=57.42129439209404,23.90625:326844.60518253763~I'm a circle~of doom!
|polygons=62.103882522897855,5.09765625:58.309488840677645,5.712890625:58.95000823335702,10.8984375:61.68987220046001,12.83203125:63.35212928507874,11.865234375:64.1297836764257,13.974609375:65.58572002329473,14.326171875:68.56038368664157,18.28125:68.52823492039876,20.126953125:69.2249968541159,20.56640625:69.2249968541159,21.708984375:68.6245436634471,23.466796875:69.00567519658819,25.400390625:69.96043926902487,26.630859375:70.1403642720717,28.564453125:69.25614923150721,28.828125:69.83962194067463,31.201171875:70.75796562654924,29.8828125:71.10254274232307,25.576171875:70.72897946208789,22.67578125:69.99053495947653,18.10546875:67.84241647327927,13.095703125:68.33437594128185,15.908203125:63.704722429433225,9.4921875:63.782486031165014,8.61328125~Meanwhile in Norway~ ~#0B4173~ ~ ~#3373CC
|lines=53.225768435790194,23.466796875:53.9560855309879,29.1796875:56.46249048388979,31.11328125:59.31076795603884,30.673828125:60.84491057364915,27.333984375:60.930432202923335,21.26953125:59.17592824927136,16.611328125:56.218923189166624,16.259765625:54.1109429427243,19.599609375:53.225768435790194,23.466796875~You're serrounded!~ ~#B0920C
|rectangles=51.83577752045248,33.837890625:46.37725420510028,23.37890625~I'm a square
|height=500px
|service=google
}}

Chargement de la carte…


Yandex[modifier]

{{#multimaps: 52.429222277955134,13.359375~Capital of Germany~Crazy people here!; 53.38332836757156,3.33984375; 52.5897007687178,2.548828125; 52.855864177853995,3.515625; 53.33087298301704,1.7578125~Other point
|circles=57.42129439209404,23.90625:326844.60518253763~I'm a circle~of doom!
|polygons=62.103882522897855,5.09765625:58.309488840677645,5.712890625:58.95000823335702,10.8984375:61.68987220046001,12.83203125:63.35212928507874,11.865234375:64.1297836764257,13.974609375:65.58572002329473,14.326171875:68.56038368664157,18.28125:68.52823492039876,20.126953125:69.2249968541159,20.56640625:69.2249968541159,21.708984375:68.6245436634471,23.466796875:69.00567519658819,25.400390625:69.96043926902487,26.630859375:70.1403642720717,28.564453125:69.25614923150721,28.828125:69.83962194067463,31.201171875:70.75796562654924,29.8828125:71.10254274232307,25.576171875:70.72897946208789,22.67578125:69.99053495947653,18.10546875:67.84241647327927,13.095703125:68.33437594128185,15.908203125:63.704722429433225,9.4921875:63.782486031165014,8.61328125~Meanwhile in Norway~ ~#0B4173~ ~ ~#3373CC
|lines=53.225768435790194,23.466796875:53.9560855309879,29.1796875:56.46249048388979,31.11328125:59.31076795603884,30.673828125:60.84491057364915,27.333984375:60.930432202923335,21.26953125:59.17592824927136,16.611328125:56.218923189166624,16.259765625:54.1109429427243,19.599609375:53.225768435790194,23.466796875~You're serrounded!~ ~#B0920C
|rectangles=51.83577752045248,33.837890625:46.37725420510028,23.37890625~I'm a square
|height=500px
| service = yandex 
}}

Chargement de la carte…