Re: [Wikitech-l] Common.css not working

2010-03-25 Thread Jean-Marc van Leerdam
Hi, On 25 March 2010 17:21, Platonides wrote: > Jean-Marc van Leerdam wrote: >> Regardless of whether you succeed in hiding the 'view source' tab, how >> will you counter URL manipulation by the user? >> >> AFAIK anyone can change the URL to >> >> ...index.php?title=Pagename&action=edit >> >> and

Re: [Wikitech-l] Common.css not working

2010-03-25 Thread Makelesi Kora-Gonelevu
Hi everyone I think i found the answer. Its an extension called GroupPermissionsManager http://www.mediawiki.org/wiki/Extension:GroupPermissionsManager. Thanks On Fri, Mar 26, 2010 at 5:21 AM, Platonides wrote: > Jean-Marc van Leerdam wrote: > > Regardless of whether you succeed in hiding the

Re: [Wikitech-l] Common.css not working

2010-03-25 Thread Platonides
Jean-Marc van Leerdam wrote: > Regardless of whether you succeed in hiding the 'view source' tab, how > will you counter URL manipulation by the user? > > AFAIK anyone can change the URL to > > ...index.php?title=Pagename&action=edit > > and then get presented with the 'view source' results (or

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Jean-Marc van Leerdam
Hi, On 24 March 2010 23:34, Makelesi Kora-Gonelevu wrote: > Hi im trying to hide the [view source] tab from annonymous users to my wiki. > Regardless of whether you succeed in hiding the 'view source' tab, how will you counter URL manipulation by the user? AFAIK anyone can change the URL to ..

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread John Doe
Modifing commons.js should do it. I don't know JavaScript or I would give you the exact code On Wednesday, March 24, 2010, Makelesi Kora-Gonelevu wrote: > ok i will try to put the code in my skin.php file instead. > > > On Thu, Mar 25, 2010 at 12:46 PM, Happy-melon wrote: > >> >> "Makelesi Kora-

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Makelesi Kora-Gonelevu
ok i will try to put the code in my skin.php file instead. On Thu, Mar 25, 2010 at 12:46 PM, Happy-melon wrote: > > "Makelesi Kora-Gonelevu" wrote in message > news:8f623ff1003241613r4bb92efcnbb3c19cc015ee...@mail.gmail.com... > > Hi sorry here it is: > > > > > > isAnon() ) { ?> > > > >

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Happy-melon
"Makelesi Kora-Gonelevu" wrote in message news:8f623ff1003241613r4bb92efcnbb3c19cc015ee...@mail.gmail.com... > Hi sorry here it is: > > > isAnon() ) { ?> > >#ca-viewsource { display: none !important; } > > > But nothing happens. I can still see the [view source] tab even

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Chad
On Wed, Mar 24, 2010 at 7:41 PM, Roan Kattouw wrote: > 2010/3/25 Makelesi Kora-Gonelevu : >>        #ca-viewsource { display: none !important; } > You should only add this line and remove all the others. > > Roan Kattouw (Catrope) > > ___ > Wikitech-l ma

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Roan Kattouw
2010/3/25 Makelesi Kora-Gonelevu : >        #ca-viewsource { display: none !important; } You should only add this line and remove all the others. Roan Kattouw (Catrope) ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.o

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Q
On 3/24/2010 6:13 PM, Makelesi Kora-Gonelevu wrote: > Hi sorry here it is: > > > isAnon() ) { ?> > > #ca-viewsource { display: none !important; } > > [[MediaWiki:Common.css]] is for CSS only, you can't put PHP code in it and expect it to be interpreted. __

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Makelesi Kora-Gonelevu
Hi sorry here it is: isAnon() ) { ?> #ca-viewsource { display: none !important; } But nothing happens. I can still see the [view source] tab even when im an anonymous user. On Thu, Mar 25, 2010 at 11:54 AM, Huib Laurens wrote: > Hi, > > I think you forgot to add the c

Re: [Wikitech-l] Common.css not working

2010-03-24 Thread Huib Laurens
Hi, I think you forgot to add the code. Best, Huib 2010/3/24, Makelesi Kora-Gonelevu : > Hi im trying to hide the [view source] tab from annonymous users to my wiki. > > i pasted the following code in the MediaWiki:Common.css page but nothing > happens. > > Any suggestions would be greatly appre

[Wikitech-l] Common.css not working

2010-03-24 Thread Makelesi Kora-Gonelevu
Hi im trying to hide the [view source] tab from annonymous users to my wiki. i pasted the following code in the MediaWiki:Common.css page but nothing happens. Any suggestions would be greatly appreciated. ___ Wikitech-l mailing list Wikitech-l@lists.wik