Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech
Re: [MediaWiki-CVS] SVN: [39568] trunk/phase3/includes
 

Index | Next | Previous | View Flat


roan.kattouw at home

Aug 18, 2008, 3:49 AM


Views: 534
Permalink
Re: [MediaWiki-CVS] SVN: [39568] trunk/phase3/includes

dantman[at]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 mailing list
Wikitech-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Subject User Time
Re: [MediaWiki-CVS] SVN: [39568] trunk/phase3/includes roan.kattouw at home Aug 18, 2008, 3:49 AM
    Re: [MediaWiki-CVS] SVN: [39568] trunk/phase3/includes dan_the_man at telus Aug 18, 2008, 7:57 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.