Re: [MediaWiki-l] Conditional Resource Module Loading

2016-06-09 Thread Daniel Friesen
First note, don't use $wgLang; use getLanguage on the closest context you have (depends on where your code is). Secondly, why do you have separate scripts for rtl/ltr? Writing two scripts that do the same thing sounds really weird when JS is itself a programming language. You can get

[MediaWiki-l] Conditional Resource Module Loading

2016-06-09 Thread Tom
I would be grateful for some direction or an idea of where to look. I feel like I'm going in a circle with the resource module docs. What I need to do is load a js module based on language direction in a skin. Ltr load a ltr.js, rtl direction load a rtl.js instead. Here is what I came up with,

Re: [MediaWiki-l] (no subject)

2016-06-09 Thread Luis Miguel Morillas
Use a bot. And set a subject when you send a message ;) El 9/6/2016 23:20, "william peñaloza" escribió: > buenos dias quisiera saber si hay alguna manera de carga masiva de datos > donde me facilite subir mis paginas sin necesidad del editor de wiki > o una manera q sea

[MediaWiki-l] (no subject)

2016-06-09 Thread william peñaloza
buenos dias quisiera saber si hay alguna manera de carga masiva de datos donde me facilite subir mis paginas sin necesidad del editor de wiki o una manera q sea mas eficaz o externa al editor de media wiki para poder actualizar el contenido de mi wiki gracias de antemano -- *Declinación de

Re: [MediaWiki-l] Painful Short-URL

2016-06-09 Thread Jonathan Aquilina
for the rewrite rules you can also put them in .htaccess that is how wordpress does things. Jonathan Aquilina On Wed, Jun 8, 2016 at 6:24 PM, kghbln wrote: > Heiya Jonathan, > > yeah, actually the rewriting stuff is done in the virtualhost > configuration and works.

Re: [MediaWiki-l] Painful Short-URL

2016-06-09 Thread Jonathan Aquilina
not sure if alias's would work for this im only familiar with mod rewrite Jonathan Aquilina On Thu, Jun 9, 2016 at 2:55 AM, Jan Steinman wrote: > > From: Jonathan Aquilina > > > > Have you tried enabling mod_rewrite if you are on apache and setting