Page MenuHomePhabricator

Selective enabling of HTML on a per-page basis
Closed, DeclinedPublic

Description

I propose that sysops be allowed to "enable html" on a per-page basis. This
could be stored as a property in cur_rights, or in a separate table. When
enabled, it would eliminate the limits to the HTML code which can be used. The
benefit of this is that it allows us to do stuff like forms, JavaScript, etc. on
selected pages. For instance, we could put a "Donate" form on the Main Page. In
order to prevent accidental mischief, the "enable html" option could only be
available on protected pages.

(I may do this myself, I'm entering it here in case anyone else wants to code it
and to get feedback.)


Version: 1.4.x
Severity: enhancement

Details

Reference
bz261

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
DeclinedNone

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 6:47 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz261.
bzimport added a subscriber: Unknown Object (MLST).

bugzilla_wikipedia_org.to.jamesd wrote:

See http://meta.wikimedia.org/wiki/Foundation_website_meeting%2C_July_2004
"Allowing HTML would require development work, which Brion did during the
meeting and checked in to CVS head the next morning. ... HTML will be used only
where necessary."

There is in 1.4 an option for enabling full HTML site-wide. This is very dangerous on an open site and should only be used for
restricted-access sites.

Doing per-page HTML mode safely is possible, but be very very careful. I would not recommend going this route though, as it's
generally un-wiki; all pages should have the same abilities.

Bumping priority as the Wikimedia folks want it.

webmaster wrote:

Brion...
You bumped the priority on this one a while ago and I thought I heard something
about 1.6 having a similar feature/functionality.

Could you look into this again?

1.6 doesn't have this. We seem to have dealt with the fundraising form issue separately, so
we probably won't want this at all.

Going to resolve as LATER, on the off chance we need to resurrect the idea.

webmaster wrote:

Any chance of resurrecting this idea... or at least discussing its merits, now that we are almost 4 years down the line?

Something like the Widgets extension would probably be ideal for the sort of "and here insert a donate button" case.

(In reply to comment #5)

so we probably won't want this at all.

[Removing RESOLVED LATER as discussed in http://lists.wikimedia.org/pipermail/wikitech-l/2012-November/064240.html and closing as RESOLVED WONTFIX]