Index: trunk/extensions/UploadWizard/resources/mw.Title.js |
— | — | @@ -17,6 +17,13 @@ |
18 | 18 | * - NameText = "Foo bar" |
19 | 19 | * - Extension "jpg" |
20 | 20 | * |
| 21 | + * all of the above are implemented as 'get' functions, i.e |
| 22 | + * getPrefixedDb(), getPrefixedText(), etc. |
| 23 | + * |
| 24 | + * in addition: |
| 25 | + * .toString(), and therefore all string coercions, are the same as getPrefixedDb(); |
| 26 | + * .toText() gives you the most common human-readable representation (getPrefixedText()). |
| 27 | + * |
21 | 28 | * n.b. this class does not handle URI-escaping |
22 | 29 | * |
23 | 30 | * n.b. this class relies on the existence of two globals: |