Sorry, it is me again. I finally found that Extension::Collection
already implemented "$wgCollectionMWServeCredentials" in
Collection.php file for login the read-only wiki site. I was
misleaded by the Wiki "Invalid URL" error message. Someone have
mentioned this "Invalid URL" problem is related to login issue, but I
was not related them together.
Note: This line "$wgGroupPermissions ['*']['read'] = true;"
is not needed in the api.php file
Suggestion: mw-serve calls Wiki's api.php, api.php response "unknown
'action' parameter" which cause mw-serve return "Invalid URL"
message. If api.php can respone "read-only" or "login require"
message, and mw-serve return this message to Collection and display to
the user, then it is less confusing.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---