Last modified: 2012-12-21 13:19:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2261, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 261 - Selective enabling of HTML on a per-page basis
Selective enabling of HTML on a per-page basis
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 2422
  Show dependency treegraph
Reported: 2004-08-31 07:33 UTC by Erik Moeller
Modified: 2012-12-21 13:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Erik Moeller 2004-08-31 07:33:21 UTC
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.)
Comment 1 Jamesday 2004-08-31 07:43:04 UTC
"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."
Comment 2 Brion Vibber 2004-08-31 20:40:02 UTC
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.
Comment 3 Brion Vibber 2004-09-11 08:56:57 UTC
Bumping priority as the Wikimedia folks want it.
Comment 4 Jamie Hari 2006-02-04 01:51:55 UTC
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?
Comment 5 Brion Vibber 2006-02-04 02:13:49 UTC
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.
Comment 6 Jamie Hari 2009-10-29 05:51:32 UTC
Any chance of resurrecting this idea... or at least discussing its merits, now that we are almost 4 years down the line?
Comment 7 Brion Vibber 2011-11-29 20:16:14 UTC
Something like the Widgets extension would probably be ideal for the sort of "and here insert a donate button" case.
Comment 8 Andre Klapper 2012-12-21 13:19:36 UTC
(In reply to comment #5)
> so we probably won't want this at all.

[Removing RESOLVED LATER as discussed in and closing as RESOLVED WONTFIX]

Note You need to log in before you can comment on or make changes to this bug.