Talk:How To Use Dynamic Page Lists: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk (Created page with '== Modification == In order to display the date the displayed pages were last modified (rather than the date the article was first created), this extension (1.15-r48711) has been…') |
imported>Tlosk No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Modification == | == Modification == | ||
In order to display the date the displayed pages were last modified (rather than the date the article was first | In order to display the date the displayed pages were last modified (rather than the date the article was first added to the category, though a page refresh, cache cleared, will also show), this extension (1.15-r48711) has been altered on the following lines: | ||
<pre style="width:auto; overflow:auto"> | <pre style="width:auto; overflow:auto"> | ||
Line 18: | Line 18: | ||
$output .= $wgLang->date($row->page_touched) . wfMsg( 'colon-separator' ); | $output .= $wgLang->date($row->page_touched) . wfMsg( 'colon-separator' ); | ||
</pre> | </pre> |
Latest revision as of 16:35, 16 September 2009
Modification
In order to display the date the displayed pages were last modified (rather than the date the article was first added to the category, though a page refresh, cache cleared, will also show), this extension (1.15-r48711) has been altered on the following lines:
LINE 337 $sSqlSelectFrom = "SELECT page_namespace, page_title, page_id, c1.cl_timestamp FROM $sPageTable"; CHANGE TO: $sSqlSelectFrom = "SELECT page_namespace, page_title, page_id, page_touched, c1.cl_timestamp FROM $sPageTable"; LINE 448 $output .= $wgLang->date($row->cl_timestamp) . wfMsg( 'colon-separator' ); CHANGE TO: $output .= $wgLang->date($row->page_touched) . wfMsg( 'colon-separator' );