Download the PHP package wikifab/auto-set-page-lang without Composer
On this page you can find all versions of the php package wikifab/auto-set-page-lang. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wikifab/auto-set-page-lang
More information about wikifab/auto-set-page-lang
Files in wikifab/auto-set-page-lang
Package auto-set-page-lang
Short Description Mediawiki extension to automatically set page language at page creation with current user language.
License
Informations about the package auto-set-page-lang
AutoSetPageLang
AutoSetPageLang is a mediawiki extension to set automatically the page lang attribute at page creation, using current language of user wich create the page.
Features
-
Set page language at creation of new page, using user's language
-
Add 'languageSource', 'Language', and 'isTranslation' properties on saving pages For now, this in only on template named "Tuto Details", this must be parametized
-
Automaticaly set Page revision as ready to be translate when property "complete" is set to "Yes" ( to activate it, set $wgAutoSetPageLangAutoMarkTranslate = true; )
-
remove
tags for all tutorials that are not 'complete' - add a translate tab, to each page ready to be translated, and when user has translate rights
Installation
Extract extension ant place it in the 'extensions' directory of your installation. (the directory namme must be 'AutoSetPageLang')
Load extension and enable setting page Language in DB in file LocalSetting.php :
Configuration
To disable auto-mark page as ready to be translate :
To disable remove translate tags on all tutorial not complete :
Namespace where page must be auto mark for translation : to set allowed namespaces : /!\ DeprecatedVariable use other below
default : []
Namespace where page must be auto mark for translation after edition : to set namespaces :
default : []
Namespace where page translation must be auto-updated at each edition (if allready marked) : to set namespaces :
default : []