User "NeilK" posted a comment on MediaWiki.r93856.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/93856#c20600
Commit summary:

Add archive feed API list module for external archival services.

Comment:

I have no idea how to ensure your API key is unique. I have trouble with this 
myself.

I just used this command to grep through the whole source tree, and it MAY have 
discovered all the possible keys that exist already...

$ find includes/api extensions/ -name 'Api*.php' | xargs grep __construct | 
perl -wlne '/moduleName\s*,\s*([^)]+)/ and print $1' | sort | uniq

$code 
$modulePrefix = '' 
$paramPrefix 
$paramPrefix = '' 
$prefix 
$prefix = 'ii' 
$prefix = 'vi' 
$this->prefix 
'' 
'abf' 
'ac' 
'af' 
'afl' 
'ai' 
'al' 
'am' 
'ap' 
'au' 
'bg'
'bk' 
'cc' 
'ci' 
'cl' 
'cm' 
'cp' 
'cr' 
'cs' 
'ct' 
'df' 
'dr' 
'el' 
'eu' 
'fa' 
'ga' 
'gc' 
'gu' 
'gui' 
'ii' 
'im' 
'in' 
'iw' 
'iwbl' 
'lbl' 
'le' 
'll' 
'mc' 
'mg' 
'or' 
'pa' 
'pp' 
'pt' 
'qp' 
'rc' 
'rn' 
'rp' 
'rt' 
'rv' 
'si' 
'sii' 
'sr' 
'tb' 
'tg' 
'th' 
'ti' 
'uc' 
'ui' 
'ur' 
'us' 
've' 
'wl' 
'wr' 

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to