00522: Allow InterMap entries to come from a wiki page

Summary: Allow InterMap entries to come from a wiki page
Created: 2005-09-14 10:52
Status: Closed - Added for 2.1.beta7
Category: CoreCandidate
From: Pm
Assigned:
Priority: 44444 33
Version: 2.0.5
OS:

Description: Currently an administrator is able to add new InterMap entries by adding items to local/localmap.txt and local/farmmap.txt.

Several have suggested that it would be a good idea to allow InterMap entries to be loaded and maintained in a wiki page, in addition to the file-based entries above.

In previous version of PmWiki, Pm has resisted this because it wasn't clear where such a page should be located, and because failing to properly secure the page could lead to security problems on some sites. (For example, InterMap entries bypass url approvals.)

However, PmWiki 2 introduces the Site wiki group as a place to hold such "configuration" pages, so Site.InterMap becomes an obvious place to hold such entries. Furthermore, pages in the Site wikigroup are protected by default, so security isn't as much of an issue.

Thus, this feature now becomes a candidate for inclusion in the core.

Open question: should it be enabled by default, or should it be disabled by default but easily enabled by an administrator (e.g., $InterMapPages = 'Site.InterMap'; )?

-- disabled by default Isidor


Enabled by default. Handling non-existent Site.InterMap gracefully means admins can ignore it until they want to use it.

NeilHerber September 29, 2005, at 10:06 AM


Good idea! I fully agree with Neil.

--Henning September 29, 2005, at 12:26 PM


I have wanted an easier way to manage InterWiki links for quite some time. My vote is also Enable by default and gracefully handle non-existent Site.InterMap.

--TRhodes October 18, 2005, at 08:05 PM

Enabled by default --ScottDuff

Enabled by default -- JonHaupt