Index: trunk/phase3/includes/api/ApiQueryAllLinks.php |
— | — | @@ -224,7 +224,7 @@ |
225 | 225 | |
226 | 226 | protected function getExamples() { |
227 | 227 | return array( |
228 | | - 'api.php?action=query&list=alllinks&alunique&alfrom=B', |
| 228 | + 'api.php?action=query&list=alllinks&alunique=&alfrom=B', |
229 | 229 | ); |
230 | 230 | } |
231 | 231 | |
Index: trunk/phase3/includes/api/ApiWatch.php |
— | — | @@ -108,7 +108,7 @@ |
109 | 109 | protected function getExamples() { |
110 | 110 | return array( |
111 | 111 | 'api.php?action=watch&title=Main_Page', |
112 | | - 'api.php?action=watch&title=Main_Page&unwatch', |
| 112 | + 'api.php?action=watch&title=Main_Page&unwatch=', |
113 | 113 | ); |
114 | 114 | } |
115 | 115 | |
Index: trunk/phase3/includes/api/ApiQuerySiteinfo.php |
— | — | @@ -526,7 +526,7 @@ |
527 | 527 | return array( |
528 | 528 | 'api.php?action=query&meta=siteinfo&siprop=general|namespaces|namespacealiases|statistics', |
529 | 529 | 'api.php?action=query&meta=siteinfo&siprop=interwikimap&sifilteriw=local', |
530 | | - 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb', |
| 530 | + 'api.php?action=query&meta=siteinfo&siprop=dbrepllag&sishowalldb=', |
531 | 531 | ); |
532 | 532 | } |
533 | 533 | |
Index: trunk/phase3/includes/api/ApiMove.php |
— | — | @@ -243,7 +243,7 @@ |
244 | 244 | |
245 | 245 | protected function getExamples() { |
246 | 246 | return array( |
247 | | - 'api.php?action=move&from=Exampel&to=Example&token=123ABC&reason=Misspelled%20title&movetalk&noredirect' |
| 247 | + 'api.php?action=move&from=Exampel&to=Example&token=123ABC&reason=Misspelled%20title&movetalk=&noredirect=' |
248 | 248 | ); |
249 | 249 | } |
250 | 250 | |
Index: trunk/phase3/includes/api/ApiProtect.php |
— | — | @@ -217,7 +217,7 @@ |
218 | 218 | |
219 | 219 | protected function getExamples() { |
220 | 220 | return array( |
221 | | - 'api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=sysop|move=sysop&cascade&expiry=20070901163000|never', |
| 221 | + 'api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=sysop|move=sysop&cascade=&expiry=20070901163000|never', |
222 | 222 | 'api.php?action=protect&title=Main%20Page&token=123ABC&protections=edit=all|move=all&reason=Lifting%20restrictions' |
223 | 223 | ); |
224 | 224 | } |
Index: trunk/phase3/includes/api/ApiQueryDeletedrevs.php |
— | — | @@ -367,7 +367,7 @@ |
368 | 368 | 'List the first 50 deleted revisions in the main namespace (mode 3):', |
369 | 369 | ' api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50', |
370 | 370 | 'List the first 50 deleted pages in the Talk namespace (mode 3):', |
371 | | - ' api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique', |
| 371 | + ' api.php?action=query&list=deletedrevs&drdir=newer&drlimit=50&drnamespace=1&drunique=', |
372 | 372 | ); |
373 | 373 | } |
374 | 374 | |
Index: trunk/phase3/includes/api/ApiImport.php |
— | — | @@ -165,7 +165,7 @@ |
166 | 166 | protected function getExamples() { |
167 | 167 | return array( |
168 | 168 | 'Import [[meta:Help:Parserfunctions]] to namespace 100 with full history:', |
169 | | - ' api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory&token=123ABC', |
| 169 | + ' api.php?action=import&interwikisource=meta&interwikipage=Help:ParserFunctions&namespace=100&fullhistory=&token=123ABC', |
170 | 170 | ); |
171 | 171 | } |
172 | 172 | |
Index: trunk/phase3/includes/api/ApiEditPage.php |
— | — | @@ -514,7 +514,7 @@ |
515 | 515 | 'Edit a page (anonymous user):', |
516 | 516 | ' api.php?action=edit&title=Test&summary=test%20summary&text=article%20content&basetimestamp=20070824123454&token=%2B\\', |
517 | 517 | 'Prepend __NOTOC__ to a page (anonymous user):', |
518 | | - ' api.php?action=edit&title=Test&summary=NOTOC&minor&prependtext=__NOTOC__%0A&basetimestamp=20070824123454&token=%2B\\', |
| 518 | + ' api.php?action=edit&title=Test&summary=NOTOC&minor=&prependtext=__NOTOC__%0A&basetimestamp=20070824123454&token=%2B\\', |
519 | 519 | 'Undo r13579 through r13585 with autosummary (anonymous user):', |
520 | 520 | ' api.php?action=edit&title=Test&undo=13585&undoafter=13579&basetimestamp=20070824123454&token=%2B\\', |
521 | 521 | ); |
Index: trunk/phase3/includes/api/ApiQueryLangLinks.php |
— | — | @@ -141,7 +141,7 @@ |
142 | 142 | protected function getExamples() { |
143 | 143 | return array( |
144 | 144 | 'Get interlanguage links from the [[Main Page]]:', |
145 | | - ' api.php?action=query&prop=langlinks&titles=Main%20Page&redirects', |
| 145 | + ' api.php?action=query&prop=langlinks&titles=Main%20Page&redirects=', |
146 | 146 | ); |
147 | 147 | } |
148 | 148 | |
Index: trunk/phase3/includes/api/ApiQueryWatchlist.php |
— | — | @@ -412,9 +412,9 @@ |
413 | 413 | return array( |
414 | 414 | 'api.php?action=query&list=watchlist', |
415 | 415 | 'api.php?action=query&list=watchlist&wlprop=ids|title|timestamp|user|comment', |
416 | | - 'api.php?action=query&list=watchlist&wlallrev&wlprop=ids|title|timestamp|user|comment', |
| 416 | + 'api.php?action=query&list=watchlist&wlallrev=&wlprop=ids|title|timestamp|user|comment', |
417 | 417 | 'api.php?action=query&generator=watchlist&prop=info', |
418 | | - 'api.php?action=query&generator=watchlist&gwlallrev&prop=revisions&rvprop=timestamp|user', |
| 418 | + 'api.php?action=query&generator=watchlist&gwlallrev=&prop=revisions&rvprop=timestamp|user', |
419 | 419 | 'api.php?action=query&list=watchlist&wlowner=Bob_Smith&wltoken=d8d562e9725ea1512894cdab28e5ceebc7f20237' |
420 | 420 | ); |
421 | 421 | } |
Index: trunk/phase3/includes/api/ApiBlock.php |
— | — | @@ -194,7 +194,7 @@ |
195 | 195 | protected function getExamples() { |
196 | 196 | return array( |
197 | 197 | 'api.php?action=block&user=123.5.5.12&expiry=3%20days&reason=First%20strike', |
198 | | - 'api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate&autoblock&noemail' |
| 198 | + 'api.php?action=block&user=Vandal&expiry=never&reason=Vandalism&nocreate=&autoblock=&noemail=' |
199 | 199 | ); |
200 | 200 | } |
201 | 201 | |