Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -70,6 +70,8 @@ |
71 | 71 | * (bug 29680) Add GetDefaultSortkey hook to override the default sortkey. |
72 | 72 | * (bug 16699) {{#language:}} accepts second parameter to specify the language in |
73 | 73 | which the language name is wanted. Coverage depends on the cldr extension. |
| 74 | +* (bug 15802) An easy way to look up messages: language qqx which returns |
| 75 | + the message keys |
74 | 76 | |
75 | 77 | === Bug fixes in 1.19 === |
76 | 78 | * (bug 28868) Show total pages in the subtitle of an image on the |
Index: trunk/phase3/languages/classes/LanguageQqx.php |
— | — | @@ -0,0 +1,15 @@ |
| 2 | +<?php
|
| 3 | +/**
|
| 4 | + * For all translated messages, this returns the name of the message bracketed.
|
| 5 | + * This does not affect untranslated messages.
|
| 6 | + *
|
| 7 | + * NOTE: It returns a valid title, because there are some poorly written
|
| 8 | + * extentions that assume the contents of some messages are valid.
|
| 9 | + *
|
| 10 | + * @ingroup Language
|
| 11 | + */
|
| 12 | +class LanguageQqx extends Language {
|
| 13 | + function getMessage( $key ) {
|
| 14 | + return "[$key]";
|
| 15 | + }
|
| 16 | +}
|