Special:PageLanguage: Show log extract only when title known
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 23 May 2015 19:41:01 +0000 (21:41 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 23 May 2015 19:41:01 +0000 (21:41 +0200)
commit5d62d69421091c43f087cb7fe387692865c5355a
tree75221e70b12e433195216ddec2b250d0a8a1023c
parent433ff9be16fffb5ef70ae6e0800960085a6cb0e0
Special:PageLanguage: Show log extract only when title known

When open Special:PageLanguage without a page, the whole pagelang log is
shown and the notice:
Title::newFromText: $text must be a string. This will throw an
InvalidArgumentException in future. [Called from LogPager::limitTitle]
The whole log is useless at this position, so showing it only when
looking at a specific page.

Change-Id: I2a0b7ccc71789506554617e1d12797e72835a12a
includes/specials/SpecialPageLanguage.php