$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.
I think you are way overthinking things in general, and failing to
understand the existing code in the specific two examples above. Both
contain a lot more "details about how to do it" than just the 'rd_from'
column (see: 'redirect', $set, $where). It might be helpful if you took
the relevant surrounding code (e.g. where $set is defined) and rewrote
it in the newly proposed system so we can see exactly what you are
talking about.
--
Greg Sabino Mullane greg(a)endpoint.com
End Point Corporation
PGP Key: 0x14964AC8