Page MenuHomePhabricator

Enable static map frame on projects
Closed, DeclinedPublic


We recently discovered that mapfame had been enabled on all projects (except for most Wikipedias) but that they did not have the static map service enabled. This ticket is to enable the static map service for all projects that already have mapframe enabled so that those projects can take advantage of the static map snapshot functionality.

We'll need to update the settings from this:

'default' => false,
'mediawikiwiki' => true,

to this update:

'default' => true,
'wikipedia' => false,
'wikivoyage' => false,

  • we'll need to figure out how to do private wikis

Event Timeline

debt created this task.Sep 25 2017, 10:43 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 25 2017, 10:43 PM
Yurik added a subscriber: Yurik.Sep 25 2017, 11:00 PM

I don't think this would be a very good idea for the Wikivoyage - their usage is highly map-oriented, so adding a static page with an additional "click to load" might not be palatable to the community.

debt added a comment.Sep 25 2017, 11:04 PM

Ok, that makes sense. Was there a reason static maps weren't added to all other projects previously, @Yurik ?

I think only wikivoyage and private wikis were set up that way. Private wikis would have security issues and are much harder to set up for the service, so it was not worth the trouble.

debt added a comment.Sep 25 2017, 11:25 PM

As other wikis have enabled mapframe, we've been adding the static map service to them. Are you thinking that only Wikivoyage should have the static map service as we've been doing (here is an example)?

I think wikipedias have high enough traffic to always use the static service. Wikivoyage and private wikis should never use it. For all others, i think either way is fine.

debt updated the task description. (Show Details)Sep 26 2017, 7:29 PM
debt moved this task from Backlog to To-do on the Maps-Sprint board.Sep 26 2017, 7:33 PM

Current setting is

'wgKartographerStaticMapframe' => [
	'default' => false,
	'wikipedia' => true,
	'test2wiki' => false,
	'mediawikiwiki' => true,
	'uawikimedia' => true, // T164574
Pnorman lowered the priority of this task from Medium to Low.Jul 3 2018, 4:27 PM
Jhernandez closed this task as Declined.Jul 3 2018, 4:29 PM
Jhernandez added a subscriber: Jhernandez.

If it is wanted we'll open another task or reopen this one.