http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100160
Revision: 100160 Author: platonides Date: 2011-10-18 20:54:03 +0000 (Tue, 18 Oct 2011) Log Message: ----------- Import wfMsg statistics script by Seb35 (follow-up r100158, r100159) per http://lists.wikimedia.org/pipermail/mediawiki-i18n/2011-September/000344.html thread. Source https://svn.toolserver.org/svnroot/seb35/mediawiki/read_wfMsgCalls.py r20 Modified Paths: -------------- trunk/tools/code-utils/read_wfMsgCalls.py Modified: trunk/tools/code-utils/read_wfMsgCalls.py =================================================================== --- trunk/tools/code-utils/read_wfMsgCalls.py 2011-10-18 20:53:27 UTC (rev 100159) +++ trunk/tools/code-utils/read_wfMsgCalls.py 2011-10-18 20:54:03 UTC (rev 100160) @@ -15,9 +15,14 @@ # * the results are CSV # * 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 # * 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 +# +# Author: Seb35 on Wikimedia projects +# +# License: WTFPL 2.0 http://sam.zoy.org/wtfpl/ # + # # # # # # # # # Parameters # # # # # # # # # @@ -25,7 +30,7 @@ # BASE PARAMETERS # Folder containing a tree of MediaWiki -baseFolder = "mediawiki/repo/phase3" +baseFolder = "mediawiki/trunk/phase3" # 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 wfMsgCallsResultFile = "wfMsgCalls.csv" _______________________________________________ MediaWiki-CVS mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs
