OK 创用社区「xcq5678」
在 2013-5-13,下午8:01,[email protected] 写道: > Send MediaWiki-l mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of MediaWiki-l digest..." > > > Today's Topics: > > 1. Re: Wikifamily with shared file repo: wgUploadNavigationUrl > doesn't seem to have any effect (Andru Vallance) > 2. Creating new assignable user group for multi-lingual sites > (Dan Fisher) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 May 2013 16:21:04 +0200 > From: Andru Vallance <[email protected]> > To: [email protected] > Subject: Re: [MediaWiki-l] Wikifamily with shared file repo: > wgUploadNavigationUrl doesn't seem to have any effect > Message-ID: <[email protected]> > Content-Type: text/plain; charset=iso-8859-1; format=flowed > > With fresh eyes, I now see that the intention for this setting is > actually just to change the navigation link in the sidebar, not to > redirect Special:Upload (unless it's a redlink), which it does indeed > do as stated. Since this leaves Special:Upload available to people like > me who just enter the address directly, I'm disabling local uploads. > > If anyone knows of an easy way to redirect Special:Upload to a shared > repo, please let me know > > :) > > > > On 2013-05-11 17:44:52 +0000, Andru Vallance said: > >> Hello, >> I'm setting up a multi-language wiki family, with the wikis all using a >> shared file repo. Currently the language wikis correctly display media >> from the shared file repo wiki, but I'd like any file uploads on the >> language wikis to be redirected to the shared file repo wiki >> (mediapool). >> >> The documentation for $wgUploadNavigationUrl >> (http://www.mediawiki.org/wiki/Manual:$wgUploadNavigationUrl) states >> >> Point the upload navigation link to an external URL. Useful if you want >> to use a shared repository by default without disabling local uploads, >> e. g.: >> >> I've assigned this setting the URL of the mediapool wiki Special:Upload >> page for all language wikis, but contrary to the documentation, file >> uploads on the local wikis are not redirected, and indeed any files >> uploaded on the language wikis remain local, unavailable to the >> mediapool wiki. >> >> Anyone have any ideas/suggestions? >> >> Thanks >> Andru >> _______________________________________________ >> MediaWiki-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > > > ------------------------------ > > Message: 2 > Date: Sun, 12 May 2013 20:25:17 -0500 > From: Dan Fisher <[email protected]> > To: MediaWiki announcements and site admin list > <[email protected]> > Subject: [MediaWiki-l] Creating new assignable user group for > multi-lingual sites > Message-ID: > <CAG3zdR-kXKGouoYjO+qXqYO0KxG=7tyo1yfgrja3vs7jzw5...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > I want to create a new user group called "Group X editors". This text would > appear having its own assignable checkbox in the User rights interface. > Here's a screenshot <http://postimg.org/image/o567yni59/> of that. > > This text would come out different in different languages (where the red > arrow is). I can do the following that creates the group and I can assign > it using a checkbox: > $wgGroupPermissions['group-x-editors']['group-x-editors'] = true; > > But then I only see "group-x-editors" next to the checkbox. I want to see > customized text for each language. I thought something like this would work: > $wgGroupPermissions[wfMessage('group-x-editors')->text()]['group-x-editors'] > = true; > > But that doesn't work. I've seen some existing "user rights extensions" > which create new rights but the few that I saw in > this<https://www.mediawiki.org/wiki/Category:Extensions_which_add_rights>category > did not provide an additional checkbox. They only created an entry > in Special:ListGroupRights > > > Does anyone know how to do this, or does anyone of know an existing > extension that creates a user rights group, where the text shown next to > the checkbox changes for each language? > Or maybe the text next to the checkbox is fixed and cannot be changed > according to the current language? > > > Dan > > > ------------------------------ > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > End of MediaWiki-l Digest, Vol 116, Issue 14 > ******************************************** _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
