Extension talk:TransformChanges.php

From Organic Design wiki
Revision as of 23:39, 16 May 2007 by Nad (talk | contribs) (New page: Changes added in OD changes, <php> # We're using these cols and ordering $cols = array('time','diff','title','comment','user','info'); # this is added before the final row-assembling line...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Changes added in OD changes, <php>

  1. We're using these cols and ordering

$cols = array('time','diff','title','comment','user','info');

  1. this is added before the final row-assembling line of wfTransformChangesLI()

$talk = preg_replace('| \\|.+</a>|',,$talk); $diff = preg_replace('|curid=[0-9]+&(amp;)?action=history|','action=edit',$diff); $diff = preg_replace('|>hist<|','>edit<',$diff); $user .= " $talk"; </php>