* Add rctype parameter to list=recentchanges that filters by type
* Add apprtype and apprlevel parameters to filter list=allpages by protection types and levels
* Add apdir parameter to enable listing all pages from Z to A
+* (bug 11721) Use a different title for results than for the help page.
=== Languages updated in 1.12 ===
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
- <title>MediaWiki API</title>
+<? if ($this->mUnescapeAmps) {
+?> <title>MediaWiki API</title>
+<? } else {
+?> <title>MediaWiki API Result</title>
+<? } ?>
</head>
<body>
<?php
protected function printResult($isError) {
$printer = $this->mPrinter;
$printer->profileIn();
- $printer->initPrinter($isError);
/* If the help message is requested in the default (xmlfm) format,
* tell the printer not to escape ampersands so that our links do
$printer->setUnescapeAmps ( $this->mAction == 'help'
&& $params['format'] == ApiMain::API_DEFAULT_FORMAT );
+ $printer->initPrinter($isError);
+
$printer->execute();
$printer->closePrinter();
$printer->profileOut();