Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -239,7 +239,7 @@ |
240 | 240 | # == Configuration variables == |
241 | 241 | |
242 | 242 | # === Basic configuration === |
243 | | - |
| 243 | +# <source lang=php> |
244 | 244 | /** |
245 | 245 | * Language code for message documentation. Suggested values are qqq or info. |
246 | 246 | * If set to false (default), message documentation feature is disabled. |
— | — | @@ -364,9 +364,9 @@ |
365 | 365 | */ |
366 | 366 | $wgTranslatePermissionUrl = 'Project:Translator'; |
367 | 367 | |
368 | | - |
| 368 | +# </source> |
369 | 369 | # === Page translation feature === |
370 | | - |
| 370 | +# <source lang=php> |
371 | 371 | /** |
372 | 372 | * Enable page translation feature. |
373 | 373 | * |
— | — | @@ -384,7 +384,9 @@ |
385 | 385 | */ |
386 | 386 | $wgPageTranslationNamespace = 1198; |
387 | 387 | |
| 388 | +# </source> |
388 | 389 | # === Message group configuration === |
| 390 | +# <source lang=php> |
389 | 391 | |
390 | 392 | /** |
391 | 393 | * Two-dimensional array of languages that cannot be translated. |
— | — | @@ -515,15 +517,18 @@ |
516 | 518 | $wgTranslateGroupFiles = array(); |
517 | 519 | |
518 | 520 | /** |
519 | | - * List of possible message group review workflow states. |
| 521 | + * List of possible message group review workflow states. Users who have |
| 522 | + * translate-groupreview right can set this in Special:Translate. |
| 523 | + * The state is visible in Special:Translate, Special:MessageGroupStats and |
| 524 | + * Special:LanguageStats. |
520 | 525 | * Up two 32 characters each. |
521 | 526 | * Example: array( 'new', 'needs_proofreading', 'ready', 'published', ); |
522 | 527 | */ |
523 | 528 | $wgTranslateWorkflowStates = false; |
524 | 529 | |
525 | | - |
| 530 | +# </source> |
526 | 531 | # === System setup related configuration === |
527 | | - |
| 532 | +# <source lang=php> |
528 | 533 | /** |
529 | 534 | * Location of your extensions, if not the default. Only matters |
530 | 535 | * if you are localising your own extensions with this extension. |
— | — | @@ -541,10 +546,11 @@ |
542 | 547 | * FileCachedMessageIndex needs $wgCacheDirectory to be functional. |
543 | 548 | */ |
544 | 549 | $wgTranslateMessageIndex = array( 'CachedMessageIndex' ); |
545 | | -# $wgTranslateMessageIndex = array( 'FileCachedMessageIndex' ); |
| 550 | +// $wgTranslateMessageIndex = array( 'FileCachedMessageIndex' ); |
546 | 551 | |
| 552 | +# </source> |
547 | 553 | # ==== PHPlot ==== |
548 | | - |
| 554 | +# <source lang=php> |
549 | 555 | /** |
550 | 556 | * For Special:TranslationStats PHPlot is needed to produce graphs. |
551 | 557 | * Set this the location of phplot.php. |
— | — | @@ -561,8 +567,9 @@ |
562 | 568 | */ |
563 | 569 | $wgTranslatePHPlotFont = '/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf'; |
564 | 570 | |
| 571 | +# </source> |
565 | 572 | # ==== YAML driver ==== |
566 | | - |
| 573 | +# <source lang=php> |
567 | 574 | /** |
568 | 575 | * Currently supported YAML drivers are spyc and syck and sycl-pecl. |
569 | 576 | * |
— | — | @@ -585,6 +592,8 @@ |
586 | 593 | */ |
587 | 594 | $wgTranslateYamlLibrary = 'spyc'; |
588 | 595 | |
| 596 | +# </source> |
| 597 | + |
589 | 598 | /** @cond cli_support */ |
590 | 599 | if ( !defined( 'TRANSLATE_CLI' ) ) { |
591 | 600 | function STDOUT() { } |