@@ 457-463 (lines=7) @@ | ||
454 | $pageInfo['watched'] = $this->watched[$ns][$dbkey]; |
|
455 | } |
|
456 | ||
457 | if ( $this->fld_watchers ) { |
|
458 | if ( $this->watchers !== null && $this->watchers[$ns][$dbkey] !== 0 ) { |
|
459 | $pageInfo['watchers'] = $this->watchers[$ns][$dbkey]; |
|
460 | } elseif ( $this->showZeroWatchers ) { |
|
461 | $pageInfo['watchers'] = 0; |
|
462 | } |
|
463 | } |
|
464 | ||
465 | if ( $this->fld_visitingwatchers ) { |
|
466 | if ( $this->visitingwatchers !== null && $this->visitingwatchers[$ns][$dbkey] !== 0 ) { |
|
@@ 465-471 (lines=7) @@ | ||
462 | } |
|
463 | } |
|
464 | ||
465 | if ( $this->fld_visitingwatchers ) { |
|
466 | if ( $this->visitingwatchers !== null && $this->visitingwatchers[$ns][$dbkey] !== 0 ) { |
|
467 | $pageInfo['visitingwatchers'] = $this->visitingwatchers[$ns][$dbkey]; |
|
468 | } elseif ( $this->showZeroWatchers ) { |
|
469 | $pageInfo['visitingwatchers'] = 0; |
|
470 | } |
|
471 | } |
|
472 | ||
473 | if ( $this->fld_notificationtimestamp ) { |
|
474 | $pageInfo['notificationtimestamp'] = ''; |