Merge "Allow callbacks to be passed to $wgContentHandlers"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Mon, 8 Feb 2016 09:11:21 +0000 (09:11 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 8 Feb 2016 09:11:21 +0000 (09:11 +0000)
1  2 
includes/DefaultSettings.php

@@@ -75,7 -75,7 +75,7 @@@ $wgConfigRegistry = array
   * MediaWiki version number
   * @since 1.2
   */
 -$wgVersion = '1.27alpha';
 +$wgVersion = '1.27.0-alpha';
  
  /**
   * Name of the site. It must be changed in LocalSettings.php
@@@ -904,7 -904,8 +904,8 @@@ $wgMediaHandlers = array
  
  /**
   * Plugins for page content model handling.
-  * Each entry in the array maps a model id to a class name.
+  * Each entry in the array maps a model id to a class name or callback
+  * that creates an instance of the appropriate ContentHandler subclass.
   *
   * @since 1.21
   */