User:Saftzie

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search
My PGP public key ID is 0xC5848762820CD95A.

Notes[edit | edit source]

  • Changes in MW 1.27 (28 Jun 2016)
    • $wgPreloadJavaScriptMwUtil (deprecated in 1.26) was removed. Extensions, skins, gadgets, and scripts that use the mediawiki.util module must express a dependency on it.
    • $wgIncludeLegacyJavaScript (deprecated in 1.26) now defaults false. Extensions, skins, gadgets, and scripts that need the mediawiki.legacy.wikibits module (includes importScript and importStylesheet) should express a dependency on it.
    • AbortLogin is deprecated and superseded by AuthManager functionality. Any logic should be moved to a class implementing MediaWiki\Auth\PreAuthenticationProvider in the testForAuthentication method.
  • Changes in MW 1.28 (28 Nov 2016)
    • Submitting action=purge in the query string to api.php is now deprecated and outputs a warning. It should be submitted in the POST body instead.
    • Submitting action=purge in the query string to index.php always requires confirmation. The purge user right is ignored.
      /**
       * For action=purge to index.php
       *   change it to POST api.php
       *   then reload the page
       * Restores pre-1.28 behavior to MW 1.28+
       * Based on meta:User:Glaisher/autoPurge.js, 21 Aug 2016
       */
      	if ((mw.config.get('wgAction') === 'purge') &&
      		($.inArray('user', mw.config.get('wgUserGroups')) + 1)) {
      		$.post(mw.config.get('wgScriptPath') + '/api.php', {
      			format: 'none',
      			action: 'purge',
      			titles: mw.config.get('wgPageName').replace(/_/g, ' ')
      		}, function () {
      			// remove action=purge, but keep the rest
      			location.replace(
      				location.pathname +
      				location.search
      					.replace(/(?:\?|&)action=purge$/i, '')
      					.replace(/(\?|&)action=purge&/i, '$1') +
      				location.hash
      			);
      		});
      	}
      

Ponderable[edit | edit source]

    • AbuseFilter.hooks.php seems to suggest {{int:abusefilter-blocker}} doesn't need to be sysop. It's promoted only to keep the block/rights log from looking "crazy."
    • $wgAbuseFilterActions[ 'degroup' ] = false;, so AbuseFilter can't remove users from groups
  1. T149 The purge user "right" is ignored in mw1.28+
  2. Modern Family is a deleted wiki, but the logo/wordmark still exists. Why?
  3. Enable {{DISPLAYTITLE}} (Manual:$wgAllowDisplayTitle = true;) with no restrictions ($wgRestrictDisplayTitle = false;), then delete Template:Title.
  4. Set $wgGroupPermissions['*']['writeapi'] = false. It should still be true for registered users.
  5. T268 Suspicious loopback activity

For later[edit | edit source]

.sw-outline > ol {
	list-style-type: upper-roman;
}
.sw-outline > ol > li > ol {
	list-style-type: upper-alpha;
}
.sw-outline > ol > li > ol > li > ol {
	list-style-type: decimal;
}
.sw-outline > ol > li > ol > li > ol > li > ol {
	list-style-type: lower-alpha;
}
.sw-outline > ol > li > ol > li > ol > li > ol > li > ol {
	list-style-type: lower-roman;
}