On Sat, Jan 12, 2013 at 4:36 PM, Mark A. Hershberger mah@everybody.orgwrote:
On 01/12/2013 10:14 AM, aude wrote:
ContentHandler is fully backwards compatibility so not meant to be disruptive, but has potential to make things easier and better in the future for new features.
Sure. That makes total sense.
The feature is fully enabled with a configuration variable $wgContentHandlerUseDB to support multiple content formats in the same namespace. (e.g. user/site Javascript and CSS pages without the .js or .css suffix, along with wikitext pages in the MediaWiki namespace)
Right now, I'm focused on non-WMF users of MediaWiki and this sounds like something they should be aware of. If they install a new wiki and have $wgContentHandlerUseDB enabled, then what new risks do they need to be aware of? What are things they should be thinking about?
I don't think there are many impacts, if any, of enabling the content handler to use the database. By default, it stores the type in database as "null". null === default content type (content_model) for the namespace.
It will set content type in the database for JavaScript or CSS pages, as default content type for MediaWiki namespace is wikitext.
One important change with introducing the content handler is that JavaScript and CSS pages don't allow categories and such wiki markup anymore. This is true regardless of how $wgContentHandlerUseDB is set.
If someone installs MW and wants to use and expand this feature (as the WorkingWiki people might want to), where do they go to find information on it?
Right now, the on-wiki documentation refers to docs/contenthandler.txt. It seems like this area is ripe for on-wiki documentation, tutorials, and how-tos.
The information in docs/contenthandler.txt is probably the most useful at this point, along with http://www.mediawiki.org/wiki/ContentHandler
They can look at the Wikibase code to see examples of how we are implementing new content types.
It would certainly be nice to have more examples, tutorials, etc. but I'm not aware of them yet.
Cheers, Katie
Language will always shift from day to day. It is the wind blowing through our mouths. -- http://hexm.de/np
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l