Révision 7693a3a0
Fix mediawiki_api when called with admins arg
It was using wrong var and was missing a break
Tested successfully
| plugins/wiki/mediawiki_api | ||
|---|---|---|
| 134 | 134 |
break; |
| 135 | 135 |
|
| 136 | 136 |
case "admins": |
| 137 |
print "admins.value $admins\n"; |
|
| 137 |
print "admins.value $value\n"; |
|
| 138 |
break; |
|
| 138 | 139 |
|
| 139 | 140 |
default: |
| 140 | 141 |
print "link me as mediawiki_<type>, where type can be one of: views, edits, articles, pages, users, images or admins. \n"; |
Formats disponibles : Unified diff