Use TablePager on Special:ProtectedPages (using log_search)
authorumherirrender <umherirrender_de.wp@web.de>
Thu, 13 Feb 2014 19:48:53 +0000 (20:48 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Thu, 13 Feb 2014 19:48:53 +0000 (20:48 +0100)
commitca7c098134b5a7663ce9fc2487a8bab0a3e6ec2b
tree90f2a5780aecd40c34d07cb5f9e2ebe15b2cc9f1
parentf73c54a0a47585f4baf1aee38a4a1a059bfb259c
Use TablePager on Special:ProtectedPages (using log_search)

Adding the pr_id to log_search table and use a join to get the user,
timestamp and comment from the logging table. For logs without the pr_id
a placeholder text is shown.
The code for page protection is changed from a replace to delete/insert
to have for each pr_id a log_id and not reusing pr_ids which was used
for the first protection on a protection change.
The log_deleted field is checked to avoid showing revision deleted data
from the logging table.

This is a alternative patch for
Ie40057398a7829c698df3d68813006798a72dccb
and Iade82653999ca770586762b3c1383f73dfe3a5ee to avoid a schema change
on table page_restriction.
Idea by Aaron Schulz.

Change-Id: Ia0dc5895ec672896fe4b75c2e0f76da2474bd6e4
RELEASE-NOTES-1.23
includes/Title.php
includes/WikiPage.php
includes/specials/SpecialProtectedpages.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messageTypes.inc
maintenance/language/messages.inc
resources/mediawiki.special/mediawiki.special.css