Index: trunk/tools/code-utils/read_wfMsgCalls.py |
— | — | @@ -15,9 +15,14 @@ |
16 | 16 | # * the results are CSV |
17 | 17 | # * the format of the messageStrings file is: 1/ language code (from the name of the file when available); 2/ message key; 3/ content of the message |
18 | 18 | # * the format of the wfMsgCalls file is: 1/ path of the file; 2/ line number; 3/ wfMsg type (wfMsg, wfMessage, etc.); 4/ message key (when possible); 5/ complete call of the function |
| 19 | +# |
| 20 | +# Author: Seb35 on Wikimedia projects |
| 21 | +# |
| 22 | +# License: WTFPL 2.0 http://sam.zoy.org/wtfpl/ |
19 | 23 | # |
20 | 24 | |
21 | 25 | |
| 26 | + |
22 | 27 | # # # # # # # # |
23 | 28 | # Parameters # |
24 | 29 | # # # # # # # # |
— | — | @@ -25,7 +30,7 @@ |
26 | 31 | # BASE PARAMETERS |
27 | 32 | |
28 | 33 | # Folder containing a tree of MediaWiki |
29 | | -baseFolder = "mediawiki/repo/phase3" |
| 34 | +baseFolder = "mediawiki/trunk/phase3" |
30 | 35 | |
31 | 36 | # Name of the CSV result file (in the current folder) containing the calls to the functions wfMsg* (specified thereafter in a parameter) obtained by analysing the code |
32 | 37 | wfMsgCallsResultFile = "wfMsgCalls.csv" |