À 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
{{#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…
{"markers":[{"pos":[{"lat":52.4292222779551337907832930795848369598388671875,"lon":13.359375}],"title":"\u003Cp\u003ECapital of Germany\n\u003C/p\u003E","text":"\u003Cp\u003ECrazy people here!\n\u003C/p\u003E"},{"pos":[{"lat":53.38332836757155774876082432456314563751220703125,"lon":3.33984375}]},{"pos":[{"lat":52.58970076871779752991642453707754611968994140625,"lon":2.548828125}]},{"pos":[{"lat":52.85586417785399504509769030846655368804931640625,"lon":3.515625}]},{"pos":[{"lat":53.33087298301703782499316730536520481109619140625,"lon":1.7578125}],"title":"\u003Cp\u003EOther point\n\u003C/p\u003E"}],"lines":[{"pos":[{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875},{"lat":53.95608553098789883506469777785241603851318359375,"lon":29.1796875},{"lat":56.46249048388978764023704570718109607696533203125,"lon":31.11328125},{"lat":59.31076795603883766716535319574177265167236328125,"lon":30.673828125},{"lat":60.84491057364915178595765610225498676300048828125,"lon":27.333984375},{"lat":60.93043220292333472798418370075523853302001953125,"lon":21.26953125},{"lat":59.17592824927135808366074343211948871612548828125,"lon":16.611328125},{"lat":56.21892318916662389938210253603756427764892578125,"lon":16.259765625},{"lat":54.11094294272430005321439239196479320526123046875,"lon":19.599609375},{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875}],"title":"\u003Cp\u003EYou're serrounded!\n\u003C/p\u003E","color":"#B0920C"}],"polygons":[{"pos":[{"lat":62.10388252289785526727428077720105648040771484375,"lon":5.09765625},{"lat":58.3094888406776448164237081073224544525146484375,"lon":5.712890625},{"lat":58.95000823335701767291538999415934085845947265625,"lon":10.8984375},{"lat":61.68987220046000885531611857004463672637939453125,"lon":12.83203125},{"lat":63.35212928507873897387980832718312740325927734375,"lon":11.865234375},{"lat":64.1297836764257027653002296574413776397705078125,"lon":13.974609375},{"lat":65.585720023294726388485287316143512725830078125,"lon":14.326171875},{"lat":68.5603836866415718986900174058973789215087890625,"lon":18.28125},{"lat":68.5282349203987593000420019961893558502197265625,"lon":20.126953125},{"lat":69.2249968541159006463203695602715015411376953125,"lon":20.56640625},{"lat":69.2249968541159006463203695602715015411376953125,"lon":21.708984375},{"lat":68.624543663447099106633686460554599761962890625,"lon":23.466796875},{"lat":69.0056751965881858268403448164463043212890625,"lon":25.400390625},{"lat":69.960439269024874420210835523903369903564453125,"lon":26.630859375},{"lat":70.1403642720716931080460199154913425445556640625,"lon":28.564453125},{"lat":69.25614923150720869671204127371311187744140625,"lon":28.828125},{"lat":69.8396219406746325830681598745286464691162109375,"lon":31.201171875},{"lat":70.757965626549236048958846367895603179931640625,"lon":29.8828125},{"lat":71.102542742323066704557277262210845947265625,"lon":25.576171875},{"lat":70.728979462087892216004547663033008575439453125,"lon":22.67578125},{"lat":69.9905349594765340270896558649837970733642578125,"lon":18.10546875},{"lat":67.8424164732792718268683529458940029144287109375,"lon":13.095703125},{"lat":68.33437594128184855435392819344997406005859375,"lon":15.908203125},{"lat":63.70472242943322527253258158452808856964111328125,"lon":9.4921875},{"lat":63.78248603116501413978767232038080692291259765625,"lon":8.61328125}],"title":"\u003Cp\u003EMeanwhile in Norway\n\u003C/p\u003E","color":"#0B4173","fill":true,"fillcolor":"#3373CC"}],"rectangles":[{"pos":[{"lat":51.8357775204524813261741655878722667694091796875,"lon":33.837890625},{"lat":46.37725420510027873888247995637357234954833984375,"lon":23.37890625}],"title":"\u003Cp\u003EI'm a square\n\u003C/p\u003E"}],"circles":[{"radius":[326844.6051825376343913376331329345703125],"pos":[{"lat":57.421294392094040404117549769580364227294921875,"lon":23.90625}],"title":"\u003Cp\u003EI'm a circle\n\u003C/p\u003E","text":"\u003Cp\u003Eof doom!\n\u003C/p\u003E"}],"bounds":{"ne":{"lat":71.102542742323066704557277262210845947265625,"lon":33.837890625},"sw":{"lat":46.37725420510027873888247995637357234954833984375,"lon":1.7578125}}}
{{#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…
{"markers":[{"pos":[{"lat":52.4292222779551337907832930795848369598388671875,"lon":13.359375}],"title":"\u003Cp\u003ECapital of Germany\n\u003C/p\u003E","text":"\u003Cp\u003ECrazy people here!\n\u003C/p\u003E"},{"pos":[{"lat":53.38332836757155774876082432456314563751220703125,"lon":3.33984375}]},{"pos":[{"lat":52.58970076871779752991642453707754611968994140625,"lon":2.548828125}]},{"pos":[{"lat":52.85586417785399504509769030846655368804931640625,"lon":3.515625}]},{"pos":[{"lat":53.33087298301703782499316730536520481109619140625,"lon":1.7578125}],"title":"\u003Cp\u003EOther point\n\u003C/p\u003E"}],"lines":[{"pos":[{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875},{"lat":53.95608553098789883506469777785241603851318359375,"lon":29.1796875},{"lat":56.46249048388978764023704570718109607696533203125,"lon":31.11328125},{"lat":59.31076795603883766716535319574177265167236328125,"lon":30.673828125},{"lat":60.84491057364915178595765610225498676300048828125,"lon":27.333984375},{"lat":60.93043220292333472798418370075523853302001953125,"lon":21.26953125},{"lat":59.17592824927135808366074343211948871612548828125,"lon":16.611328125},{"lat":56.21892318916662389938210253603756427764892578125,"lon":16.259765625},{"lat":54.11094294272430005321439239196479320526123046875,"lon":19.599609375},{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875}],"title":"\u003Cp\u003EYou're serrounded!\n\u003C/p\u003E","color":"#B0920C"}],"polygons":[{"pos":[{"lat":62.10388252289785526727428077720105648040771484375,"lon":5.09765625},{"lat":58.3094888406776448164237081073224544525146484375,"lon":5.712890625},{"lat":58.95000823335701767291538999415934085845947265625,"lon":10.8984375},{"lat":61.68987220046000885531611857004463672637939453125,"lon":12.83203125},{"lat":63.35212928507873897387980832718312740325927734375,"lon":11.865234375},{"lat":64.1297836764257027653002296574413776397705078125,"lon":13.974609375},{"lat":65.585720023294726388485287316143512725830078125,"lon":14.326171875},{"lat":68.5603836866415718986900174058973789215087890625,"lon":18.28125},{"lat":68.5282349203987593000420019961893558502197265625,"lon":20.126953125},{"lat":69.2249968541159006463203695602715015411376953125,"lon":20.56640625},{"lat":69.2249968541159006463203695602715015411376953125,"lon":21.708984375},{"lat":68.624543663447099106633686460554599761962890625,"lon":23.466796875},{"lat":69.0056751965881858268403448164463043212890625,"lon":25.400390625},{"lat":69.960439269024874420210835523903369903564453125,"lon":26.630859375},{"lat":70.1403642720716931080460199154913425445556640625,"lon":28.564453125},{"lat":69.25614923150720869671204127371311187744140625,"lon":28.828125},{"lat":69.8396219406746325830681598745286464691162109375,"lon":31.201171875},{"lat":70.757965626549236048958846367895603179931640625,"lon":29.8828125},{"lat":71.102542742323066704557277262210845947265625,"lon":25.576171875},{"lat":70.728979462087892216004547663033008575439453125,"lon":22.67578125},{"lat":69.9905349594765340270896558649837970733642578125,"lon":18.10546875},{"lat":67.8424164732792718268683529458940029144287109375,"lon":13.095703125},{"lat":68.33437594128184855435392819344997406005859375,"lon":15.908203125},{"lat":63.70472242943322527253258158452808856964111328125,"lon":9.4921875},{"lat":63.78248603116501413978767232038080692291259765625,"lon":8.61328125}],"title":"\u003Cp\u003EMeanwhile in Norway\n\u003C/p\u003E","color":"#0B4173","fill":true,"fillcolor":"#3373CC"}],"rectangles":[{"pos":[{"lat":51.8357775204524813261741655878722667694091796875,"lon":33.837890625},{"lat":46.37725420510027873888247995637357234954833984375,"lon":23.37890625}],"title":"\u003Cp\u003EI'm a square\n\u003C/p\u003E"}],"circles":[{"radius":[326844.6051825376343913376331329345703125],"pos":[{"lat":57.421294392094040404117549769580364227294921875,"lon":23.90625}],"title":"\u003Cp\u003EI'm a circle\n\u003C/p\u003E","text":"\u003Cp\u003Eof doom!\n\u003C/p\u003E"}],"bounds":{"ne":{"lat":71.102542742323066704557277262210845947265625,"lon":33.837890625},"sw":{"lat":46.37725420510027873888247995637357234954833984375,"lon":1.7578125}}}
{{#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…
{"markers":[{"pos":[{"lat":52.4292222779551337907832930795848369598388671875,"lon":13.359375}],"title":"\u003Cp\u003ECapital of Germany\n\u003C/p\u003E","text":"\u003Cp\u003ECrazy people here!\n\u003C/p\u003E"},{"pos":[{"lat":53.38332836757155774876082432456314563751220703125,"lon":3.33984375}]},{"pos":[{"lat":52.58970076871779752991642453707754611968994140625,"lon":2.548828125}]},{"pos":[{"lat":52.85586417785399504509769030846655368804931640625,"lon":3.515625}]},{"pos":[{"lat":53.33087298301703782499316730536520481109619140625,"lon":1.7578125}],"title":"\u003Cp\u003EOther point\n\u003C/p\u003E"}],"lines":[{"pos":[{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875},{"lat":53.95608553098789883506469777785241603851318359375,"lon":29.1796875},{"lat":56.46249048388978764023704570718109607696533203125,"lon":31.11328125},{"lat":59.31076795603883766716535319574177265167236328125,"lon":30.673828125},{"lat":60.84491057364915178595765610225498676300048828125,"lon":27.333984375},{"lat":60.93043220292333472798418370075523853302001953125,"lon":21.26953125},{"lat":59.17592824927135808366074343211948871612548828125,"lon":16.611328125},{"lat":56.21892318916662389938210253603756427764892578125,"lon":16.259765625},{"lat":54.11094294272430005321439239196479320526123046875,"lon":19.599609375},{"lat":53.22576843579019367780347238294780254364013671875,"lon":23.466796875}],"title":"\u003Cp\u003EYou're serrounded!\n\u003C/p\u003E","color":"#B0920C"}],"polygons":[{"pos":[{"lat":62.10388252289785526727428077720105648040771484375,"lon":5.09765625},{"lat":58.3094888406776448164237081073224544525146484375,"lon":5.712890625},{"lat":58.95000823335701767291538999415934085845947265625,"lon":10.8984375},{"lat":61.68987220046000885531611857004463672637939453125,"lon":12.83203125},{"lat":63.35212928507873897387980832718312740325927734375,"lon":11.865234375},{"lat":64.1297836764257027653002296574413776397705078125,"lon":13.974609375},{"lat":65.585720023294726388485287316143512725830078125,"lon":14.326171875},{"lat":68.5603836866415718986900174058973789215087890625,"lon":18.28125},{"lat":68.5282349203987593000420019961893558502197265625,"lon":20.126953125},{"lat":69.2249968541159006463203695602715015411376953125,"lon":20.56640625},{"lat":69.2249968541159006463203695602715015411376953125,"lon":21.708984375},{"lat":68.624543663447099106633686460554599761962890625,"lon":23.466796875},{"lat":69.0056751965881858268403448164463043212890625,"lon":25.400390625},{"lat":69.960439269024874420210835523903369903564453125,"lon":26.630859375},{"lat":70.1403642720716931080460199154913425445556640625,"lon":28.564453125},{"lat":69.25614923150720869671204127371311187744140625,"lon":28.828125},{"lat":69.8396219406746325830681598745286464691162109375,"lon":31.201171875},{"lat":70.757965626549236048958846367895603179931640625,"lon":29.8828125},{"lat":71.102542742323066704557277262210845947265625,"lon":25.576171875},{"lat":70.728979462087892216004547663033008575439453125,"lon":22.67578125},{"lat":69.9905349594765340270896558649837970733642578125,"lon":18.10546875},{"lat":67.8424164732792718268683529458940029144287109375,"lon":13.095703125},{"lat":68.33437594128184855435392819344997406005859375,"lon":15.908203125},{"lat":63.70472242943322527253258158452808856964111328125,"lon":9.4921875},{"lat":63.78248603116501413978767232038080692291259765625,"lon":8.61328125}],"title":"\u003Cp\u003EMeanwhile in Norway\n\u003C/p\u003E","color":"#0B4173","fill":true,"fillcolor":"#3373CC"}],"rectangles":[{"pos":[{"lat":51.8357775204524813261741655878722667694091796875,"lon":33.837890625},{"lat":46.37725420510027873888247995637357234954833984375,"lon":23.37890625}],"title":"\u003Cp\u003EI'm a square\n\u003C/p\u003E"}],"circles":[{"radius":[326844.6051825376343913376331329345703125],"pos":[{"lat":57.421294392094040404117549769580364227294921875,"lon":23.90625}],"title":"\u003Cp\u003EI'm a circle\n\u003C/p\u003E","text":"\u003Cp\u003Eof doom!\n\u003C/p\u003E"}],"bounds":{"ne":{"lat":71.102542742323066704557277262210845947265625,"lon":33.837890625},"sw":{"lat":46.37725420510027873888247995637357234954833984375,"lon":1.7578125}}}