equal
deleted
inserted
replaced
309 $user_link .= htmlspecialchars(str_replace('_', ' ', $value)) . '</a>'; |
309 $user_link .= htmlspecialchars(str_replace('_', ' ', $value)) . '</a>'; |
310 |
310 |
311 $crumb = $lang->get('log_breadcrumb_author', array('user' => $user_link)); |
311 $crumb = $lang->get('log_breadcrumb_author', array('user' => $user_link)); |
312 break; |
312 break; |
313 case 'page': |
313 case 'page': |
314 $crumb = $lang->get('log_breadcrumb_page', array('page' => '<a href="' . makeUrl($value, false, true) . '">' . htmlspecialchars(get_page_title($value)) . '</a>')); |
314 list($pid, $ns) = RenderMan::strToPageID($value); |
|
315 $ns = namespace_factory($pid, $ns); |
|
316 $exist = $ns->exists() ? '' : ' class="wikilink-nonexistent"'; |
|
317 $crumb = $lang->get('log_breadcrumb_page', array('page' => '<a' . $exist . ' href="' . makeUrl($value, false, true) . '">' . htmlspecialchars($ns->title) . '</a>')); |
315 break; |
318 break; |
316 case 'action': |
319 case 'action': |
317 $action = ( $lang->get("log_formaction_{$value}") === "log_formaction_{$value}" ) ? $lang->get("log_action_{$value}") : $lang->get("log_formaction_{$value}"); |
320 $action = ( $lang->get("log_formaction_{$value}") === "log_formaction_{$value}" ) ? $lang->get("log_action_{$value}") : $lang->get("log_formaction_{$value}"); |
318 $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($action))); |
321 $crumb = $lang->get('log_breadcrumb_action', array('action' => htmlspecialchars($action))); |
319 break; |
322 break; |