1 Apr 2008 03:41

Re: Is "real name" preference used anywhere?

You can set the LocalSettings.php to show this at the bottom of each page.

-Lonny

PS You can see that in action at www.appropedia.org.

On Mon, Mar 31, 2008 at 7:11 AM, Daniel Barrett <danb@...> wrote:

> Yow, I've never seen this page before.  How do users reach it without
> typing a query string manually?
>
> DanB
>
> -----Original Message-----
> I think it's used on the &action=credits page. -MGrabovsky
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l@...
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>

1 Apr 2008 10:16

how to show most popular pages?

Every non-special page has a footer "This page has been accessed XY
times" at the bottom.

Is there an easy way to show/sort the most popular pages out of the
whole wiki?

Or perhaps there is no generic interface to this, and writing a custom
script is the only way to do it? Maybe there is one already?

--

--
Tomasz Chmielewski
http://wpkg.org

1 Apr 2008 13:29

Re: How redirect default page to login window

I am notorious for over complicating things, but you could have it
check if the user is logged-in, and if not, redirect them to a login
page, and if they are, let them brows as usual.
You would probably need to do this in php at the level of the skin
something like this at the very top of the skin template should work

The name of the user cookie is different for each install, so you
would need to find the name and enter it in.

if(!isset($_COOKIE['name_of_user_cookie'])){ // if cookie not set - redirect header("Location: http://www.example.com/index.php/ Special:Userlogin"); // Redirects browser to login page } On Mar 31, 2008, at 12:11 PM, for.register for.register wrote: > On Tue, Apr 1, 2008 at 12:05 AM, for.register for.register > <fregister@...> wrote: >> >> On Mon, Mar 31, 2008 at 11:56 PM, for.register for.register >> <fregister@...> wrote: >>> >>> On Mon, Mar 31, 2008 at 11:21 PM, Schneelocke >>> <schneelocke@...> wrote: >>>> 2008/3/31, for.register for.register <fregister@...>: >>>> >>>>> I am a new user of mediawiki, my wiki is a private wiki, only >>>>> authentic user is allowed. My question is how to set the homepage >>>>> directly to login window.  (Continue reading) 1 Apr 2008 20:01 Re:$wgArticleRobotPolicies doesn't work for me


Tomasz Chmielewski wrote:
> Brion Vibber schrieb:
>> Special pages would be in control of their own robots settings, so
>> probably not overrideable here.
>
> In other words, for special pages I would have to change php code, I guess?

Looks like.

> And here is why it didn't work for me - $wgArticleRobotPolicies has to > be placed *before* require_once( "includes/DefaultSettings.php" ): *after*, not *before* :) > This one will NOT work: > >$wgArticleRobotPolicies = array( 'Some_Page' => 'testing' );
>
> require_once( "includes/DefaultSettings.php" );

This is the same as with all MediaWiki settings whatsoever.

-- brion vibber (brion  <at>  wikimedia.org)

1 Apr 2008 20:05

Re: Parser changes in 1.12.0 affecting Extension:SimpleForms?


Daniel Barrett wrote:
> Also, http://www.mediawiki.org/wiki/Extension:ExpandAfter appears to be
> broken by in 1.12.0.  Pity, it's a very useful extension. Any
> workarounds or alternative approaches?
>
> Test case is on the extension page above:
>
> {{#expandafter:math||{ {{{1}}} \over 2 } }}
>
> displays as a literal [itex] tag, not a parsed math formula.

You can use the built-in #tag parser function for this:

{{#tag:math|{ {{{1}}} \over 2 } }}

-- brion vibber (brion  <at>  wikimedia.org)

1 Apr 2008 20:06

Re: how to show most popular pages?


Tomasz Chmielewski wrote:
> Every non-special page has a footer "This page has been accessed XY
> times" at the bottom.
>
> Is there an easy way to show/sort the most popular pages out of the
> whole wiki?

Special:Popularpages

-- brion vibber (brion  <at>  wikimedia.org)

1 Apr 2008 20:18

Re: How redirect default page to login window

Actually you don't even need to do that.
$wgUser->isLoggedIn(); will tell you if you're logged in. And$wgOut->redirect( SpecialPage::getTitleFor( 'Special:UserLogin'
)->fullURL() );
should direct to the login page (Though I may have a function name or
two wrong.)

~Daniel Friesen(Dantman) of:
-The Gaiapedia (http://gaia.wikia.com)
-Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
-and Wiki-Tools.com (http://wiki-tools.com)

> I am notorious for over complicating things, but you could have it
> check if the user is logged-in, and if not, redirect them to a login
> page, and if they are, let them brows as usual.
> You would probably need to do this in php at the level of the skin
> something like this at the very top of the skin template should work
>
> The name of the user cookie is different for each install, so you
> would need to find the name and enter it in.
>
> redirect
> }
>
> On Mar 31, 2008, at 12:11 PM, for.register for.register wrote:
>


1 Apr 2008 20:59

Re: changing 'article' to 'property'

index.php?title=Special:Allmessages  all the tabs are mentioned there.
You just have to scroll down to ns.

-----Original Message-----
From: mediawiki-l-bounces@...
[mailto:mediawiki-l-bounces@...] On Behalf Of Michael
Daly
Sent: Monday, March 31, 2008 12:22 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] changing 'article' to 'property'

Mark (Markie) wrote:

> you need to change the content of MediaWiki:Nstab-main

Is there a place where these pages are listed/documented?  I can't find
them on mediawiki.org's Manual pages.

I looked in my wiki's Mediawiki namespace, but none are listed even
though MediaWiki:Nstab-main exists if I display it.  A lot of folks ask
about renaming these things and are sent into the code to change the
display names in code - clearly knowing the names of these pages would
be much better.

Mike

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@...
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


1 Apr 2008 22:24

Re: how to show most popular pages?

But how to show the five popular spages on the Mainside?

Thomas

Brion Vibber schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Tomasz Chmielewski wrote:
>
>> Every non-special page has a footer "This page has been accessed XY
>> times" at the bottom.
>>
>> Is there an easy way to show/sort the most popular pages out of the
>> whole wiki?
>>
>
> Special:Popularpages
>
> - -- brion vibber (brion  <at>  wikimedia.org)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkfyeawACgkQwRnhpk1wk45mdACeLy2eljRSojr/1JJeQzPrXzxw
> lwoAoNDjN1dj1y8blDoY33SYfOpO7zL6
> =Hnkl
> -----END PGP SIGNATURE-----
>
> _______________________________________________


1 Apr 2008 22:38

Re: how to show most popular pages?

On 01/04/2008, Thomas Dräger <eis@...> wrote:
>
> But how to show the five popular spages on the Mainside?

Look at Dynamic Page LIst (DPL) this can do what you want and a heck of a
lot more!

It was running on my site, but I 'upgraded' and have yet to re-install the
DPL - you can check out the call none the less here

http://BioDatabase.Org

http://meta.wikimedia.org/wiki/DynamicPageList

Thomas
>
> Brion Vibber schrieb:
>
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Tomasz Chmielewski wrote:
> >
> >> Every non-special page has a footer "This page has been accessed XY
> >> times" at the bottom.
> >>
> >> Is there an easy way to show/sort the most popular pages out of the
> >> whole wiki?
> >>
> >