aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api
diff options
context:
space:
mode:
Diffstat (limited to 'includes/api')
-rw-r--r--includes/api/ApiQueryPageProps.php2
-rw-r--r--includes/api/i18n/en.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiQueryPageProps.php b/includes/api/ApiQueryPageProps.php
index dd19bf23cfb3..87f90c59672a 100644
--- a/includes/api/ApiQueryPageProps.php
+++ b/includes/api/ApiQueryPageProps.php
@@ -137,7 +137,7 @@ class ApiQueryPageProps extends ApiQueryBase {
protected function getExamplesMessages() {
return array(
- 'action=query&prop=pageprops&titles=Category:Foo'
+ 'action=query&prop=pageprops&titles=Main%20Page|MediaWiki'
=> 'apihelp-query+pageprops-example-simple',
);
}
diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json
index b90664e04046..5b3c0767a6c4 100644
--- a/includes/api/i18n/en.json
+++ b/includes/api/i18n/en.json
@@ -778,7 +778,7 @@
"apihelp-query+pageprops-description": "Get various properties defined in the page content.",
"apihelp-query+pageprops-param-prop": "Only list these props. Useful for checking whether a certain page uses a certain page prop.",
- "apihelp-query+pageprops-example-simple": "Get properties for <kbd>Category:Foo</kbd>.",
+ "apihelp-query+pageprops-example-simple": "Get properties for the pages <kbd>Main Page</kbd> and <kbd>MediaWiki</kbd>.",
"apihelp-query+pageswithprop-description": "List all pages using a given page property.",
"apihelp-query+pageswithprop-param-propname": "Page prop for which to enumerate pages.",