On Sun, Dec 28, 2008 at 12:57 AM, Jesús Quiroga <[email protected]> wrote: > For example, I found these in Article.php, method updateRedirectOn(): > > $dbw->replace( 'redirect', array( 'rd_from' ), $set, __METHOD__ ); > > $dbw->delete( 'redirect', $where, __METHOD__); > > These I consider wikiNeedL phrases, and they're (almost) perfect. Some > helper agent is located and told about some need that ought to be > fulfilled, and what is needed is expressed clearly using wiki > concepts. No details about how to do it are included, except for that > string 'rd_from' which seems to be a column name in some relational > schema, and that would be forbidden in wikiNeedL proper.
You do realize that 'redirect' is the name of a table, and $where is an SQL WHERE clause (possibly prettified into an array of some sort, but only as syntactic sugar), and "replace" and "delete" are methods that map directly into the MySQL REPLACE and DELETE statements, and $dbw stands for "database (writable)", yes? Those are thin wrappers around database queries. Are you suggesting that your wikiNeedL could be achieved by suitable choice of table and column names? > The usefulness of the interpreted way can be compellingly argued, and I > plan to do so in a separate message. Finally, to get the full benefits > of wikiNeedL, if it is deemed to be a good idea, I believe the first > step should be to begin to steer its evolution in a top-down fashion, to > analyze what is there, to bring it forward, and to make it more > 'official'. I think you'll need to be considerably more specific and less abstract before anyone is even going to be *able* to listen to what you're saying. _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
