User:Dan Nessett/Technical/How to set up a CZ clone on Ubuntu: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dan Nessett
No edit summary
imported>Dan Nessett
Line 6: Line 6:
* Had to set xdebug.max_nesting_level=200 in /etc/php5/cli/php.ini so dump import wouldn't croak.
* Had to set xdebug.max_nesting_level=200 in /etc/php5/cli/php.ini so dump import wouldn't croak.
* Some useful information on MW XML dumps: http://www.mail-archive.com/wikitech-l@lists.wikimedia.org/msg01712.html, http://www.gossamer-threads.com/lists/wiki/wikitech/180598, http://meta.wikimedia.org/wiki/Data_dumps, http://meta.wikimedia.org/wiki/Xml2sql
* Some useful information on MW XML dumps: http://www.mail-archive.com/wikitech-l@lists.wikimedia.org/msg01712.html, http://www.gossamer-threads.com/lists/wiki/wikitech/180598, http://meta.wikimedia.org/wiki/Data_dumps, http://meta.wikimedia.org/wiki/Xml2sql
* Used cloc to count lines of PHP code in CZ phase 3. Results:  1005 files, 56590 blank lines, 69544 comments, 460125 php code statements.
* Used cloc to count lines of PHP code in CZ:
::: In CZ includes: 321 files, 14769 blank lines, 33313 comments, 97375 php code statements.
 
::: In CZ extensions: 142 files, 3769 blank lines, 6742 comments, 27350 php code statements.
::{| class="wikitable sortable"
:::::: Total: 463 files, 18583 blank lines, 40055 comments, 124725 php code statements.
| align="center" style="background:#f0f0f0;"|'''Directory'''
| align="center" style="background:#f0f0f0;"|'''Files'''
| align="center" style="background:#f0f0f0;"|'''Blank Lines'''
| align="center" style="background:#f0f0f0;"|'''Comments'''
| align="center" style="background:#f0f0f0;"|'''PHP code statements'''
|-
|align="center"| CZ phase 3 ||align="center"| 1005 ||align="center"| 56590 ||align="center"| 69544 ||align="center"| 460125
|-
|align="center"| CZ includes ||align="center"| 321 ||align="center"| 14769 ||align="center"| 33313 ||align="center"| 97375
|-
|align="center"| CZ extensions ||align="center"| 142 ||align="center"| 3769 ||align="center"| 6742 ||align="center"| 27350
|-
|align="center"| CZ includes+extensions ||align="center"| 463 ||align="center"| 18583 ||align="center"| 40055 ||align="center"| 124725
|-
|}

Revision as of 16:05, 20 November 2009

Notes

Directory Files Blank Lines Comments PHP code statements
CZ phase 3 1005 56590 69544 460125
CZ includes 321 14769 33313 97375
CZ extensions 142 3769 6742 27350
CZ includes+extensions 463 18583 40055 124725