Reference:LocalisationUpdate and Template:WcagCheck: Difference between pages

(Difference between pages)
No edit summary
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
{{BSExtensionInfobox
<noinclude>Template is included in Template:BSExtensionInfo and Template:BSExtensionInfobox to check all extensions for accessibility.</noinclude><templatestyles src="WcagCheck/styles.css" /><includeonly>{{#if: {{{wcagStatus|}}}|
|desc=Allows to update the localizations for MediaWiki messages at any time, without needing to upgrade the MediaWiki software.
<div class="wcaginfo">
|status=stable
==Accessibility==
|developer=Tom Maaswinkel, Niklas Laxström
{{{!}} class="wikitable" {{!}}
|type=MediaWiki
!style="width:200px" {{{!}}Test status:
|edition=BlueSpice free (deactivated), BlueSpice pro (deactivated), BlueSpice Farm (deactivated)
{{!}}[[wcagStatus::{{{wcagStatus|}}}]]
|compatible=MediaWiki
{{#ifeq: {{{extensionType|}}}|backend| |
|category=Infrastructure
{{!}}-
|license=GPL v2+
!Checked for:
|docu=https://www.mediawiki.org/wiki/Extension:LocalisationUpdate
{{!}}{{#arraymap:{{{wcagCheckedfor|}}}|,|@@@|[[wcagCheckedfor::@@@]]}} }}
|features='''LocalisationUpdate''' keeps the localized messages as up-to-date as possible.
{{!}}-
 
!Last test date:
 
{{!}}[[wcagTestdate::{{{wcagTestdate|}}}]]
This MediaWiki extension fetches updates to MediaWiki core and extension localization files and makes them available to an installation without updating its own source. This allows us to pull updated translations being committed to development trunk even though our live install is running a deployment branch.
{{#ifeq: {{{extensionType|}}}|backend| |
 
{{!}}-
 
!WCAG level
Whenever you want to run an update, run <nowiki><code>php extensions/LocalisationUpdate/update.php</code></nowiki> on the command line, or set up a cron job.
{{!}}[[wcagLevel::{{{wcagLevel|}}}]]
 
{{!}}-
 
!WCAG support:
LocalisationUpdate does not update translations automatically.
{{!}} class="{{#switch:{{{wcagSupport}}}|supports=supports|partially supports=partiallysupports|does not support=notsupports|}}" {{!}}[[wcagSupport::{{{wcagSupport|}}}]] {{#ifeq: {{{wcagSupport}}}|partially supports|<span> (workaround: [[wcagWorkaround::{{{wcagWorkaround|}}}]])</span>|{{#ifeq: {{{wcagSupport}}}|does not support|<span> (workaround: [[wcagWorkaround::{{{wcagWorkaround|}}}]])</span>}}|}} }}
 
{{#if: {{{wcagComments|}}}|
 
{{!}}-
If you are on a unix-like system, you should add LocalisationUpdate to crontab:
!Comments:
 
{{!}}
<syntaxhighlight language="text">
{{{wcagComments|}}}|}}
crontab -e
{{!}}-
</syntaxhighlight>
!Extension type:
 
{{!}}[[extensionType::{{{extensionType|}}}]]
Add the following line:
{{#ifeq: {{{extensionType|}}}|backend| |
 
{{!}}-
<syntaxhighlight language="text">
!Extension focus:
@daily php /path/to/your/wiki/extensions/LocalisationUpdate/update.php --quiet
{{!}}[[extensionFocus::{{{extensionFocus|}}}]]
</syntaxhighlight>
{{!}}} }}
 
<div>|{{#set: wcagCheck=0}} }}</includeonly>
If localization updates don't seem to come through, you may need to run:
 
<syntaxhighlight language="text">
hp maintenance/rebuildLocalisationCache.php --force
</syntaxhighlight>
|active=No
}}
{{wcagCheck
|wcagStatus=2-testing complete
|wcagCheckedfor=Web
|wcagTestdate=2022-08-05
|wcagLevel=AA
|wcagSupport=not applicable
|extensionType=backend
}}

Revision as of 13:42, 5 August 2022

Template is included in Template:BSExtensionInfo and Template:BSExtensionInfobox to check all extensions for accessibility.

No categories assignedEdit

Discussions