mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 196 forks source link

Presence of placeholder, redirect or signpost tag on a body to have special effects #7347

Open RichardTaylor opened 2 years ago

RichardTaylor commented 2 years ago

The idea as been raised of listing some "bodies" which are not subject to FOI, but not enabling requests to them, just using the entry to point to bodies which are subject to FOI which a request can be made to.

Examples from WhatDoTheyKnow:

The effect of a placeholder or redirect tag should include

See also:

garethrees commented 2 years ago

placeholder seems like it would be more generally useful.

In the case of forthcoming we could use:

mdeuk commented 2 years ago

redirect strikes me as perhaps working in a similar way to the Mediawiki functionality that some might be familiar with.

A use I could foresee for a feature like that would be where a successor entity takes over - e.g. in the recent case of CCGs in England being replaced by ICBs, it'd have been helpful to render a redirect so that we could automatically point users to the appropriate successor. I suspect the most intuitive way of doing this might be to render a tag based note with a link to the successor entity?

garethrees commented 2 years ago

redirect strikes me as perhaps working in a similar way to the Mediawiki functionality

I'd expect to do like redirect:an_alternative_body_url_name which automatically redirects to the alternative body with a short, general note applied to the destination page ("We've redirected you here because X,Y,Z")

I'd expect placeholder to limit some functionality, but not automatically take a user to a different URL.

mdeuk commented 2 years ago

redirect strikes me as perhaps working in a similar way to the Mediawiki functionality

I'd expect to do like redirect:an_alternative_body_url_name which automatically redirects to the alternative body with a short, general note applied to the destination page ("We've redirected you here because X,Y,Z")

I pondered that - but thought that it could be disadvantageous, as it could make it harder to access requests made to the predecessor. I can see the advantage for some though - perhaps it'd be good to have a two-pronged approach?

garethrees commented 2 years ago

At this point I don't see a strong case for an automated redirect. placeholder + notes seems like it would cover the vast majority of situations.

RichardTaylor commented 2 years ago

Great examples of where we could use this feature at

FOIMonkey commented 1 year ago

We're trying this out as a bit of an experiment with Our Future Health 🧑‍🔬

https://www.whatdotheyknow.com/body/our_future_health

The downside is that missing_email note appears at the mo 😢

confirmordeny commented 1 year ago

More examples of why this may be useful ... what would we want people to see if they search for the following?

confirmordeny commented 1 year ago

copied from a request that was closed and merged into this one

"Add ability to create 'signpost' authority pages that don't allow requests but can point to other authorities. I have suggested something similar to this in the past which was closed but this time I have some specific examples and what I hope is a better reasoning.

My theory is that many people think in terms of buildings, services, brands rather than legal entities. For example, people are more likely to talk about "Thorpe Park" than "Merlin Entertainments Limited". This holds in the public sector also. If I am visiting Chelmsford Library it might not matter which part of local government is running it/funding it. For many the library, leisure centre, museum etc is itself the institution. NHS 111 is a recognised brand.

Examples: (1) Oban High School is a secondary school in Scotland. We don't list it. I recently discovered from another volunteer that the majority of state schools in Scotland come under the control of the local authority and are not public bodies in their own right in terms of FOISA. You can still request information the school has under FOISA but you need to request it from the local authority. I think this would be far from obvious for most of our current users and potential future users.

(2) We could add individual prisons and then signpost the operator in each case.

(3) Bar Standards Board - might be helpful to list this and point to General Council of the Bar.

(4) Well known law schools, business schools and medical schools that are technically part of larger institutions."

RichardTaylor commented 1 year ago

I've just used the signpost tag at

https://www.whatdotheyknow.com/body/local_government_pension_scheme

RichardTaylor commented 1 year ago

There are 18 "signpost" "bodies"/pages now on WhatDoTheyKnow:

https://www.whatdotheyknow.com/body/list/signpost

mdeuk commented 1 year ago

Using a tag based note, and some existing CSS, the signpost tag looks a little better.

The copy is scrappy, so could probably do with some refinement.

Screenshot from WhatDoTheyKnow, showing a message on an orange background which advises readers that they have found a signpost and that they need to refer to a different public body.
<div id="request_status" class="request-status-message request-status-message--error_message">
<h3><i class="icon-standalone icon_error_message"></I> Signpost</h3>
We list this entity as a <em>"signpost"</em> to help you find the right authority for your request.
<br />
You can't send a request to <em>this</em> entity from here. If you can't find the body you require, please <a href="/help/contact">contact us</a>, and we'll try to assist.
</div>
RichardTaylor commented 1 year ago

There are 18 "signpost" "bodies"/pages now on WhatDoTheyKnow:

Reduced by removing the signpost tag from a set of academies, most of which were defunct. We list academy schools now to help our users, though technically the body subject to FOI is the owner/operator of the academy not the school ittself.

RichardTaylor commented 1 year ago

The effect of a placeholder or redirect tag should include

  • To not be subject to the automatically added missing_email tag feature
  • To not show the make a request button

There is a workaround being used on WhatDoTheyKnow:

HelenWDTK commented 7 months ago

Missing email tag being applied to bodies tagged signpost seems like a simple fix.

Is there some reason that adding

  def signpost?
    has_tag?('signpost')
  end

to the public_body model and changing update_missing_email_tag to if !defunct? && !signpost? && missing_email? wouldn't work?

garethrees commented 7 months ago

Yep, looks like a good solution.