Page MenuHomePhabricator
Paste P864

Variable and function prefix issues in mw-core
ActivePublic

Authored by polybuildr on Jul 1 2015, 10:15 PM.
............................................................ 60 / 1909 (3%)
............................................................ 120 / 1909 (6%)
............................................................ 180 / 1909 (9%)
............................................................ 240 / 1909 (13%)
............................................................ 300 / 1909 (16%)
............................................................ 360 / 1909 (19%)
........................................................E... 420 / 1909 (22%)
...........................................................E 480 / 1909 (25%)
.........................................E..E..........E.... 540 / 1909 (28%)
......E.E..............................E.................... 600 / 1909 (31%)
.....E...................................................... 660 / 1909 (35%)
............................................................ 720 / 1909 (38%)
............................................................ 780 / 1909 (41%)
............................................................ 840 / 1909 (44%)
............................................................ 900 / 1909 (47%)
...................................................E........ 960 / 1909 (50%)
............................................................ 1020 / 1909 (53%)
.....................S...................................... 1080 / 1909 (57%)
............................................................ 1140 / 1909 (60%)
............................................................ 1200 / 1909 (63%)
............................................................ 1260 / 1909 (66%)
............................................................ 1320 / 1909 (69%)
............................................................ 1380 / 1909 (72%)
............................................................ 1440 / 1909 (75%)
............................................................ 1500 / 1909 (79%)
............................................................ 1560 / 1909 (82%)
............................................................ 1620 / 1909 (85%)
............................................................ 1680 / 1909 (88%)
........................................................E... 1740 / 1909 (91%)
...........................SS................S.............. 1800 / 1909 (94%)
......................E......S.............................. 1860 / 1909 (97%)
.............................................E...
FILE: ...cts/mediawiki/maintenance/benchmarks/bench_strtr_str_replace.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
28 | ERROR | Global function "bfNormalizeTitleStrTr" is lacking a
| | 'wf' prefix. Should be "wfBfNormalizeTitleStrTr".
32 | ERROR | Global function "bfNormalizeTitleStrReplace" is lacking
| | a 'wf' prefix. Should be
| | "wfBfNormalizeTitleStrReplace".
----------------------------------------------------------------------
FILE: ...home/vivek/projects/mediawiki/maintenance/language/transstat.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
45 | ERROR | Global function "showUsage" is lacking a 'wf' prefix.
| | Should be "wfShowUsage".
----------------------------------------------------------------------
FILE: ...me/vivek/projects/mediawiki/maintenance/storage/resolveStubs.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
37 | ERROR | Global function "resolveStubs" is lacking a 'wf'
| | prefix. Should be "wfResolveStubs".
70 | ERROR | Global function "resolveStub" is lacking a 'wf' prefix.
| | Should be "wfResolveStub".
----------------------------------------------------------------------
FILE: .../vivek/projects/mediawiki/maintenance/storage/moveToExternal.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
50 | ERROR | Global function "moveToExternal" is lacking a 'wf'
| | prefix. Should be "wfMoveToExternal".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/maintenance/importImages.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
351 | ERROR | Global function "showUsage" is lacking a 'wf' prefix.
| | Should be "wfShowUsage".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/maintenance/importImages.inc
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
34 | ERROR | Global function "findFiles" is lacking a 'wf' prefix.
| | Should be "wfFindFiles".
65 | ERROR | Global function "splitFilename" is lacking a 'wf'
| | prefix. Should be "wfSplitFilename".
88 | ERROR | Global function "findAuxFile" is lacking a 'wf'
| | prefix. Should be "wfFindAuxFile".
117 | ERROR | Global function "getFileCommentFromSourceWiki" is
| | lacking a 'wf' prefix. Should be
| | "wfGetFileCommentFromSourceWiki".
128 | ERROR | Global function "getFileUserFromSourceWiki" is lacking
| | a 'wf' prefix. Should be
| | "wfGetFileUserFromSourceWiki".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/maintenance/mcc.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
61 | ERROR | Global function "mccShowUsage" is lacking a 'wf'
| | prefix. Should be "wfMccShowUsage".
82 | ERROR | Global function "mccGetHelp" is lacking a 'wf' prefix.
| | Should be "wfMccGetHelp".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/maintenance/cdb.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
30 | ERROR | Global function "cdbShowHelp" is lacking a 'wf' prefix.
| | Should be "wfCdbShowHelp".
----------------------------------------------------------------------
FILE: ...home/vivek/projects/mediawiki/tests/qunit/data/styleTest.css.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
35 | ERROR | Global function "cssfilter" is lacking a 'wf' prefix.
| | Should be "wfCssfilter".
----------------------------------------------------------------------
FILE: ...me/vivek/projects/mediawiki/tests/phpunit/includes/HooksTest.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
160 | ERROR | Global function "NothingFunction" is lacking a 'wf'
| | prefix. Should be "wfNothingFunction".
166 | ERROR | Global function "NothingFunctionData" is lacking a
| | 'wf' prefix. Should be "wfNothingFunctionData".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/includes/GlobalFunctions.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
2258 | ERROR | Global function "mimeTypeMatch" is lacking a 'wf'
| | prefix. Should be "wfMimeTypeMatch".
----------------------------------------------------------------------
FILE: .../vivek/projects/mediawiki/includes/libs/normal/UtfNormalUtil.php
----------------------------------------------------------------------
FOUND 5 ERRORS AFFECTING 5 LINES
----------------------------------------------------------------------
39 | ERROR | Global function "codepointToUtf8" is lacking a 'wf'
| | prefix. Should be "wfCodepointToUtf8".
54 | ERROR | Global function "hexSequenceToUtf8" is lacking a 'wf'
| | prefix. Should be "wfHexSequenceToUtf8".
67 | ERROR | Global function "utf8ToHexSequence" is lacking a 'wf'
| | prefix. Should be "wfUtf8ToHexSequence".
85 | ERROR | Global function "utf8ToCodepoint" is lacking a 'wf'
| | prefix. Should be "wfUtf8ToCodepoint".
97 | ERROR | Global function "escapeSingleString" is lacking a 'wf'
| | prefix. Should be "wfEscapeSingleString".
----------------------------------------------------------------------
FILE: /home/vivek/projects/mediawiki/profileinfo.php
----------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
----------------------------------------------------------------------
290 | ERROR | Global function "compare_point" is lacking a 'wf'
| | prefix. Should be "wfCompare_point".
361 | ERROR | Global function "getEscapedProfileUrl" is lacking a
| | 'wf' prefix. Should be "wfGetEscapedProfileUrl".
----------------------------------------------------------------------
Time: 4 mins, 56.21 secs; Memory: 232Mb

Event Timeline

polybuildr edited the content of this paste. (Show Details)Jul 1 2015, 10:15 PM
polybuildr changed the title of this paste from untitled to Variable and function prefix issues in mw-core.
polybuildr updated the paste's language from autodetect to autodetect.