Implement magic accessors for RequestContext variables: you can now just call $contex...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 22:09:35 +0000 (22:09 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 22:09:35 +0000 (22:09 +0000)
commitdf5f627e568552bd45c756c3195737227384b5de
tree5ebf0d23f35479557b99128d973135c1414c3ee3
parentbfdcdd1371a5df1767c9d178ed0a7a4aab0363d2
Implement magic accessors for RequestContext variables: you can now just call $context->request->stuff(), and that is internally mapped to the get accessor.  Rename the private variables to the old $mName syntax: I know that that's "discouraged in new code", but in this case it stops over-clever IDEs highlighting the magic accesses as potential visibility errors and sticking big error tags on them.
includes/RequestContext.php
includes/Wiki.php