Manual talk:Logging to Special:Log

Jump to navigation Jump to search

This page is basically orphan, shouldn't it be linked from some extension writing manual or something? (And shouldn't it be in Manual: namespace?) --Nemo 06:33, 13 August 2012 (UTC)

Page is now in the Manual namespace, so this message must be obsolete. Maiden taiwan (talk) 18:02, 1 May 2013 (UTC)

Adding a link to a log entry[edit]

How do you pass a custom parameter (say, an article Title) so it renders as a link in the log message? No matter what I try, the wikitext or HTML symbols render literally instead of becoming a link. For example:

'logentry-pagepresets-insert' => "[[$4]] loaded for page $3"

renders as:

[[foo]] loaded for page bar

How do I get "foo" to be a link?

--Maiden taiwan (talk) 18:02, 1 May 2013 (UTC)

Hi Maiden taiwan, you need to add your own LogFormatter: I've added a short explanation by Nikerabbit to the page, is that clear enough for you? --Nemo 08:20, 31 January 2014 (UTC)

Call to undefined method Title::userCanReadEx()[edit]

When I delete page and I want to see all deleted pages, I open Special:Log page. But I'm getting such error:

  Fatal error: Call to undefined method Title::userCanReadEx() in /var/www/mediawiki/includes/logging/LogEventsList.php on line 313

Any ideas why this is happening? --Monic abc (talk) 11:20, 9 February 2015 (UTC)

I found out that I should comment these lines it the file which I mentioned above:

       $title= $entry->getTarget();
       if (!$title->userCanReadEx()) {
           return ;

--Monic abc (talk) 09:56, 13 February 2015 (UTC)