Merge "Use Diffusion for default Git Viewer"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 25 Mar 2016 19:20:13 +0000 (19:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 25 Mar 2016 19:20:13 +0000 (19:20 +0000)
1  2 
includes/DefaultSettings.php

@@@ -3081,11 -3081,10 +3081,11 @@@ $wgHtml5 = true
  
  /**
   * Defines the value of the version attribute in the &lt;html&gt; tag, if any.
 - * If $wgAllowRdfaAttributes is true, and this evaluates to boolean false
 - * (like if it's left at the default null value), it will be auto-initialized
 - * to the correct value for RDFa+HTML5.  As such, you should have no reason to
 - * ever actually set this to anything.
 + *
 + * If your wiki uses RDFa, set it to the correct value for RDFa+HTML5.
 + * Correct current values are 'HTML+RDFa 1.0' or 'XHTML+RDFa 1.0'.
 + * See also http://www.w3.org/TR/rdfa-in-html/#document-conformance
 + * @since 1.16
   */
  $wgHtml5Version = null;
  
@@@ -3106,6 -3105,17 +3106,6 @@@ $wgHTMLFormAllowTableFormat = true
   */
  $wgUseMediaWikiUIEverywhere = false;
  
 -/**
 - * Enabled RDFa attributes for use in wikitext.
 - * NOTE: Interaction with HTML5 is somewhat underspecified.
 - */
 -$wgAllowRdfaAttributes = false;
 -
 -/**
 - * Enabled HTML5 microdata attributes for use in wikitext.
 - */
 -$wgAllowMicrodataAttributes = false;
 -
  /**
   * Should we try to make our HTML output well-formed XML?  If set to false,
   * output will be a few bytes shorter, and the HTML will arguably be more
@@@ -3562,7 -3572,25 +3562,7 @@@ $wgResourceLoaderMinifierMaxLineLength 
   *
   * @deprecated since 1.26: Always declare dependencies.
   */
 -$wgIncludeLegacyJavaScript = true;
 -
 -/**
 - * Whether to ensure the mediawiki.util is loaded before other modules.
 - *
 - * Before MediaWiki 1.19, modules used to load less asynchronous which allowed
 - * modules to lack dependencies on 'popular' modules that were likely loaded already.
 - *
 - * This setting is to aid scripts during migration by providing mediawiki.util
 - * unconditionally (which was the most commonly missed dependency). It doesn't
 - * cover all missing dependencies obviously but should fix most of them.
 - *
 - * This should be removed at some point after site/user scripts have been fixed.
 - * Enable this if your wiki has a large amount of user/site scripts that are
 - * lacking dependencies.
 - *
 - * @deprecated since 1.26: Always declare dependencies.
 - */
 -$wgPreloadJavaScriptMwUtil = false;
 +$wgIncludeLegacyJavaScript = false;
  
  /**
   * Whether or not to assign configuration variables to the global window object.
@@@ -5945,7 -5973,7 +5945,7 @@@ $wgCachePrefix = false
  /**
   * Display the new debugging toolbar. This also enables profiling on database
   * queries and other useful output.
 - * Will disable file cache.
 + * Will be ignored if $wgUseFileCache or $wgUseSquid is enabled.
   *
   * @since 1.19
   */
@@@ -6210,14 -6238,15 +6210,15 @@@ $wgGitBin = '/usr/bin/git'
   * %h will be replaced by the short SHA-1 (7 first chars) and %H by the
   * full SHA-1 of the HEAD revision.
   * %r will be replaced with a URL-encoded version of $1.
+  * %R will be replaced with $1 and no URL-encoding
   *
   * @since 1.20
   */
  $wgGitRepositoryViewers = [
        'https://(?:[a-z0-9_]+@)?gerrit.wikimedia.org/r/(?:p/)?(.*)' =>
-               'https://git.wikimedia.org/tree/%r/%H',
+               'https://phabricator.wikimedia.org/r/revision/%R;%H',
        'ssh://(?:[a-z0-9_]+@)?gerrit.wikimedia.org:29418/(.*)' =>
-               'https://git.wikimedia.org/tree/%r/%H',
+               'https://phabricator.wikimedia.org/r/revision/%R;%H',
  ];
  
  /** @} */ # End of maintenance }