Re: [Wikitech-l] Changing contentmodel of pages

2015-03-15 Thread MZMcBride
Jackmcbarn wrote: I agree with pretty much all of this. In my mind, editcontentmodel is a temporary hack that should go away completely once the bugs that led to its creation are fixed. This is now being discussed at https://phabricator.wikimedia.org/T92794. MZMcBride

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-24 Thread Jackmcbarn
I agree with pretty much all of this. In my mind, editcontentmodel is a temporary hack that should go away completely once the bugs that led to its creation are fixed. Jackmcbarn On Fri, Jan 23, 2015 at 1:00 AM, Legoktm legoktm.wikipe...@gmail.com wrote: Hi, On 01/09/2015 04:25 PM, Erik

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-24 Thread Chris Steipp
On Jan 23, 2015 8:43 PM, Matthew Flaschen mflasc...@wikimedia.org wrote: On 01/22/2015 10:00 PM, Legoktm wrote: I disagree that we need a editcontentmodel user right. I think all users should be allowed to change the content model of a page (provided they have the right to edit it, etc.).

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-24 Thread Legoktm
On 01/24/2015 07:52 AM, Chris Steipp wrote: From a security perspective, I like limiting the content models per namespace to a relatively small whitelist. I think it will give more flexibility to anyone coming up with new content type definitions if we don't have to worry about what happen if

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-23 Thread Matthew Flaschen
On 01/22/2015 10:00 PM, Legoktm wrote: I disagree that we need a editcontentmodel user right. I think all users should be allowed to change the content model of a page (provided they have the right to edit it, etc.). I think that setting a content model different from the namespace's default

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-22 Thread Legoktm
Hi, On 01/09/2015 04:25 PM, Erik Bernhardson wrote: However, changing the content model of an existing page is a disruptive change. We added the right `editcontentmodel` without which attempts to change content model through the API or EditPage.php fail. Currently no group (user or bot) has

Re: [Wikitech-l] Changing contentmodel of pages

2015-01-12 Thread Brad Jorsch (Anomie)
On Fri, Jan 9, 2015 at 7:25 PM, Erik Bernhardson ebernhard...@wikimedia.org wrote: The Co-op team will ask the Bot Approval Group on enwiki to grant their bot this right. *enwiki BAG hat on* FYI, they'll be asked to advertise the request on enwiki [[WP:VPR]], and probably [[WP:AN]] wouldn't

[Wikitech-l] Changing contentmodel of pages

2015-01-09 Thread Erik Bernhardson
When ContentHandler support was added to MediaWiki in 2012, the content type and content model of a revision is stored with it. However, the DB tables for WMF wikis did not have the new columns, so $wgContentHandlerUseDB was set to false on our wikis. Eventually the database jobs to add and