Dan Comstock | 1 Aug 2008 04:02
Picon
Favicon

Adding a box above the edit page


Hi there, I was wondering if you guys could help me out.

I admin a small mediawiki and am trying to learn the ropes. I
want to add a template above the edit page, sort of like the blue box
here: http://www.mediawiki.org/w/index.php?title=BUTTS&action=edit 

Can someone point me in the right direction?
_________________________________________________________________
Time for vacation? WIN what you need- enter now!
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm
Michael Daly | 1 Aug 2008 06:17

Re: Adding a box above the edit page

Dan Comstock wrote:

> want to add a template above the edit page, sort of like the blue box
> here: http://www.mediawiki.org/w/index.php?title=BUTTS&action=edit 

Boilerplate text on pages like that is stored in the system messages. 
If you click on Special pages, then System messages, it'll take you to 
(in the case of mediawiki.org):

http://www.mediawiki.org/wiki/Special:AllMessages

Search that page for the text you're interested in (e.g. search for 
"Attention visitors") and you'll see the source of the message.  Click 
on the name of the message in the left column ("newarticletext") and 
copy what you want.

Open the same page on your wiki and paste the content.

Mike
Benjamin Lees | 1 Aug 2008 07:03
Picon

Re: Setting Sitename

On Thu, Jul 31, 2008 at 9:46 AM, Darren Wyn Rees <darren@...> wrote:

> I can't seem to set the sitename for a mediawiki installation.
>
> I've given a value for $wgSitename in localsettings.php, however, it
> doesn't add this value to the <title></title> for wiki pages.  Instead
> something else comes up.
>
> I grepped through the directories of the installation, but couldn't find
> the erroneous title.  And I couldn't find it on a search of the mysql.
>
> I'm clearly missing something obvious!
>
> Any help appreciated.
>
> - Darren
>

What is the title that's coming up?  It might give us a hint as to the
problem.
Daniel Friesen | 1 Aug 2008 07:56

Re: Setting Sitename

Also, what do you see in MediaWiki:pagetitle

~Daniel Friesen(Dantman, Nadir-Seen-Fire) of:
-The Nadir-Point Group (http://nadir-point.com)
--It's Wiki-Tools subgroup (http://wiki-tools.com)
--The ElectronicMe project (http://electronic-me.org)
--Games-G.P.S. (http://ggps.org)
-And Wikia ACG on Wikia.com (http://wikia.com/wiki/Wikia_ACG)
--Animepedia (http://anime.wikia.com)
--Narutopedia (http://naruto.wikia.com)

Benjamin Lees wrote:
> On Thu, Jul 31, 2008 at 9:46 AM, Darren Wyn Rees <darren@...> wrote:
>
>   
>> I can't seem to set the sitename for a mediawiki installation.
>>
>> I've given a value for $wgSitename in localsettings.php, however, it
>> doesn't add this value to the <title></title> for wiki pages.  Instead
>> something else comes up.
>>
>> I grepped through the directories of the installation, but couldn't find
>> the erroneous title.  And I couldn't find it on a search of the mysql.
>>
>> I'm clearly missing something obvious!
>>
>> Any help appreciated.
>>
>> - Darren
>>
(Continue reading)

Darren Wyn Rees | 1 Aug 2008 09:57

Re: Setting Sitename

On Thu, 2008-07-31 at 22:56 -0700, Daniel Friesen wrote:

> Also, what do you see in MediaWiki:pagetitle

Solved!  That was what needed editing.  

Thank you very much for your help.

Darren
Rolf Lampa | 1 Aug 2008 17:06

EAN-code generator for Mediawiki

Hi all,

I've tried Google but couldn't find any EAN-generator extension for 
Mediawiki. Does anyone know of any such extension, or any hint about how 
to achieve the functionality of generating the EAN code from a number.

TIA

// Rolf Lampa
Rolf Lampa | 1 Aug 2008 20:14

Remove thousand separator in Number

Hi all,

How do I suppress displaying the thousand separator for numbers?

// Rolf Lampa
Rolf Lampa | 1 Aug 2008 20:18

Re: Remove thousand separator in Number


Rolf Lampa skrev:
> Hi all,
>
> How do I suppress displaying the thousand separator for numbers?
Ah, wrong group, should have gone to SemanticMediawiki! Sorry.

// Rolf Lampa
M Sz | 1 Aug 2008 21:49
Picon
Favicon

Re: EAN-code generator for Mediawiki

Hi!I have made a quick programming session and developed exactly such an extension for you. You (and of
course everybody else) can download it and read more about it (as well as see its results) at
http://www.chaosreligion.com/wtl/index.php5?title=EAN
or at its MediaWiki page:http://www.mediawiki.org/wiki/Extension:EAN

greetings,
Markus

> Date: Fri, 1 Aug 2008 17:06:23 +0200> From: rolf.lampa@...>
To: mediawiki-l@...> Subject: [Mediawiki-l]
EAN-code generator for Mediawiki> > Hi all,> > I've tried Google but couldn't find any EAN-generator
extension for > Mediawiki. Does anyone know of any such extension, or any hint about how > to achieve the
functionality of generating the EAN code from a number.> > TIA> > // Rolf Lampa> >
_______________________________________________> MediaWiki-l mailing list>
MediaWiki-l@...> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_________________________________________________________________
Windows Live Spaces - Ihr Leben, Ihr Space. Hier klicken und informieren.
http://get.live.com/spaces/overview
Reid Priedhorsky | 2 Aug 2008 00:51
Picon

Internal error when creating accounts by e-mail with $wgMinimalPasswordLength > 0

Hi,

We are running MediaWiki 1.12. We can cause an "Internal Error" by using 
the following recipe.

1. Set $wgMinimalPasswordLength to 6.
2. Browse (as bureaucrat and sysop) to 
http://example.com/index.php?title=Special:Userlogin&type=signup
3. Enter a new username, e.g. "UserFoo".
4. Leave both password fields blank.
5. Enter a valid e-mail address in the e-mail field.
6. Click "by e-mail".

Expected behavior:

1. Get a page titled "Password sent".
2. Temporary password shows up at entered e-mail.

Actual behavior:

1. Get a page titled "Internal Error" and the following content:
 >
> #0 /export/web/sites01/mediawiki/cyclopath/includes/SpecialUserlogin.php(338): User->setPassword('-')
> #1 /export/web/sites01/mediawiki/cyclopath/includes/SpecialUserlogin.php(320):
LoginForm->initUser(Object(User), false)
> #2 /export/web/sites01/mediawiki/cyclopath/includes/SpecialUserlogin.php(117): LoginForm->addNewAccountInternal()
> #3 /export/web/sites01/mediawiki/cyclopath/includes/SpecialUserlogin.php(96): LoginForm->addNewAccountMailPassword()
> #4 /export/web/sites01/mediawiki/cyclopath/includes/SpecialUserlogin.php(17): LoginForm->execute()
> #5 [internal function]: wfSpecialUserlogin(NULL, Object(SpecialPage))
> #6 /export/web/sites01/mediawiki/cyclopath/includes/SpecialPage.php(678):
(Continue reading)


Gmane