dantman@svn.wikimedia.org schreef:
Revision: 39568 Author: dantman Date: 2008-08-18 03:56:38 +0000 (Mon, 18 Aug 2008)
Log Message:
Create a placeholder for the LinkHook experimentation. This will allow us to develop a new method of parsing links (non-hacky), without breaking current syntax, and also allow us to make sure new methods don't break syntax.
Currently this class merely inherits from the Parser class. Constants and static functions are coppied so that use of self:: won't break when we modify things.
Why don't you just use parent:: wrappers for the static functions, like:
static function func($foo, $bar) { return parent::func($foo, $bar); }
Roan Kattouw (Catrope)
Hmm... that's an interesting option... Though, I may be able to actually delete half those functions. I'll mark this mail and see if I get to that tomorrow.
~Daniel Friesen(Dantman, Nadir-Seen-Fire) of: -The Nadir-Point Group (http://nadir-point.com) --It's Wiki-Tools subgroup (http://wiki-tools.com) --The ElectronicMe project (http://electronic-me.org) --Games-G.P.S. (http://ggps.org) -And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG) --Animepedia (http://anime.wikia.com) --Narutopedia (http://naruto.wikia.com)
Roan Kattouw wrote:
dantman@svn.wikimedia.org schreef:
Revision: 39568 Author: dantman Date: 2008-08-18 03:56:38 +0000 (Mon, 18 Aug 2008)
Log Message:
Create a placeholder for the LinkHook experimentation. This will allow us to develop a new method of parsing links (non-hacky), without breaking current syntax, and also allow us to make sure new methods don't break syntax.
Currently this class merely inherits from the Parser class. Constants and static functions are coppied so that use of self:: won't break when we modify things.
Why don't you just use parent:: wrappers for the static functions, like:
static function func($foo, $bar) { return parent::func($foo, $bar); }
Roan Kattouw (Catrope)
wikitech-l@lists.wikimedia.org