Re: [MediaWiki-l] Security of widgets? Way to limit parameters? OpenSeadragon

2016-10-29 Thread Daniel Friesen
On 2016-10-29 5:30 PM, Brian Wolff wrote: > On Saturday, October 29, 2016, Daniel Friesen <dan...@nadir-seen-fire.com> > wrote: >> And then there is $image. urlpathinfo doesn't escape quotes, >> backslashes, or . >> > Its hard to find docs on what urlpathinfo actua

Re: [MediaWiki-l] Security of widgets? Way to limit parameters? OpenSeadragon

2016-10-29 Thread Daniel Friesen
because Smarty does not give easy access to the type of escaping you need to do to make text safe for a <script> tag (generally the safest method is to just JSON.stringify the whole string and make sure to escape ; though there's a chance that even that isn't enough). And then there are the few widgets that don't even do any escaping at all; rather than just don't do enough escaping. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Conditional Resource Module Loading

2016-06-09 Thread Daniel Friesen
directionality information about the current language right out from the DOM. document.documentElement.dir === 'rtl' ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2016-06-09 7:27 PM, Tom wrote: > I would be grateful for some direction or an idea of where to look. I feel >

Re: [MediaWiki-l] Mediawiki postgres socket

2016-06-06 Thread Daniel Friesen
n string by var_dump-ing the string generated by DatabasePostgress:: makeConnectionString in includes/db/DatabasePostgres.php. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2016-06-06 4:11 AM, npyxg1mg2kn7dvk0rl06 wrote: > What $wgDBserver and $wgDBport settings I s

Re: [MediaWiki-l] Painful Short-URL

2016-03-31 Thread Daniel Friesen
imedia.org/r/#/c/219446/ https://phabricator.wikimedia.org/T127734 ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2016-03-31 11:11 AM, kghbln wrote: > Heiya, > > this is painful for me. > > There is a wiki accessible with the following logic: > &g

Re: [MediaWiki-l] My wiki stopped working

2015-12-28 Thread Daniel Friesen
. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-12-28 12:34 AM, Nomad of Norad wrote: > Okay, a few weeks ago my wiki stopped loading. The version I've got > installed there is ancient, but it was working fine until one day it > wasn't. At first the page was

Re: [MediaWiki-l] npm start command for ContentTranslation

2015-12-17 Thread Daniel Friesen
oot. Using whatever method is best for your server machine. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-12-17 1:41 PM, Andrew Geary wrote: > I am trying to install ContentTranslation on our MediaWiki site. I am having > trouble getting past the installa

Re: [MediaWiki-l] Embedded login and account creation

2015-09-30 Thread Daniel Friesen
nstead of directly visiting UserLogin page. Which is practically everyone. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Mediawiki 301 redirect to elimiate /Main_Page

2015-08-26 Thread Daniel Friesen
with systems that want to strip the /Main_Page from the url, both will end up indexing/providing pagerank to the same url. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https

Re: [MediaWiki-l] Mediawiki 301 redirect to elimiate /Main_Page

2015-08-26 Thread Daniel Friesen
1.17 was EOL a long time ago. There's no proper way to make an ancient version of a piece of software that was made for a newer version of the software. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-08-26 8:49 PM, James wrote: Thanks Daniel for your prompt

Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Daniel Friesen
of the ERR_CONNECTION_REFUSED related SO answers seem related to Apache or a VirtualHost not listening on an IP or the order of Allow/Deny entries denying access. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-08-24 2:20 PM, Brenton Horne wrote: Hi, I'm running Sabayon Linux (64-bit, up

Re: [MediaWiki-l] Short URLs with Apache on Sabayon Linux

2015-08-24 Thread Daniel Friesen
the VirtualHost) ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-08-24 3:26 PM, Brenton Horne wrote: Here's my httpd.conf file: http://pastebin.com/raw.php?i=rmP7jbYL On 25 August 2015 at 08:19, Daniel Friesen dan...@nadir-seen-fire.com wrote: Ok, it's getting requests

Re: [MediaWiki-l] Mediawiki 1.25 installation hangs

2015-07-24 Thread Daniel Friesen
about what's causing the hangup. Thanks for the reply! Jim You might be able to hack the profiler to dump a list of profile in-out calls to a file so you can see whereabouts it halts. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Is it possible to load jQuery from google library instead of the MW own jQuery?

2015-04-26 Thread Daniel Friesen
that depends on them. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Is it possible to load jQuery from google library instead of the MW own jQuery?

2015-04-26 Thread Daniel Friesen
that would just slow down the loading since the request that jQuery would be bundled in to would still have other scripts to load and additional HTTP requests are worse for performance than transmitting extra data within a single request ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] Is it possible to load jQuery from google library instead of the MW own jQuery?

2015-04-26 Thread Daniel Friesen
that would just slow down the loading since the request that jQuery would be bundled in to would still have other scripts to load and additional HTTP requests are worse for performance than transmitting extra data within a single request ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] Template Question

2015-03-02 Thread Daniel Friesen
Use |2= directly in your template. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-03-02 2:09 PM, Rowe, Dolores A wrote: Dear Teammates, I have a template which uses parameters, for example {{{2}}} for it's second argument, which is a url. Some url's

Re: [MediaWiki-l] New extension: Semantic Meta Tags

2015-03-02 Thread Daniel Friesen
on-wiki. The hardcoding of og: looks terrible. property= is not an OpenGraph thing, it's an RDFa attribute. There are plenty of things besides just og: that use property. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-03-02 10:48 AM, Jeroen De Dauw wrote: Hey all

Re: [MediaWiki-l] Remove the mustache from the logo?

2015-02-27 Thread Daniel Friesen
On 2015-02-27 11:37 AM, Isarra Yos wrote: Perhaps this is a sign we need to do these things more often. Then it wouldn't come as such a surprise when it happens. And pair them with centralNotice like banners on MW.org, especially on the homepage. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] upgrade from mw 1.16 under php 5.2 to 1.17, 1.19 or?

2015-02-17 Thread Daniel Friesen
to date copy of MediaWiki, and an updated set of extensions you're using. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2015-02-17 4:42 PM, Holger wrote: Dear list, I'm running mw 1.16 under php 5.2 und would like and should upgrade mw as well as php to actual

Re: [MediaWiki-l] Infobox formatting

2015-02-05 Thread Daniel Friesen
Those are part of the wiki design tools that Wikia has. The easiest thing to do would be to use the inspect tool brion mentioned, which also tells you what css rules are applied to the element, and use it to recreate the css classes you need. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] Upgrade vom 1.12.0 to current version

2015-02-02 Thread Daniel Friesen
On 2015-02-02 6:45 AM, Marc Patermann wrote: Daniel, Daniel Friesen schrieb (02.02.2015 12:02 Uhr): On 2015-02-02 2:01 AM, Marc Patermann wrote: I have a little old and well used Mediawiki installation, which has to be migrated. The old installation is version 1.12.0 with php 5.1 and mysql

Re: [MediaWiki-l] Upgrade vom 1.12.0 to current version

2015-02-02 Thread Daniel Friesen
of telling you it's trying to require a file that shouldn't exist. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] MW 1.24 upgrade issue wirh custom skin

2015-01-13 Thread Daniel Friesen
::getDefaultInstance()-makeConfig( 'vector' ); return new SkinVector( $config ); } ); // Register config $GLOBALS['wgConfigRegistry']['vector'] = 'GlobalVarConfig::newInstance'; You'll need to adapt is for your skin since SkinVector expects one of these config objects. ~Daniel Friesen (Dantman, Nadir

Re: [MediaWiki-l] Custom JavaScript

2014-11-10 Thread Daniel Friesen
('edit'); Move a page with: api.post({ from: ..., to: ..., reason: ..., noredirect: true, token: edittoken }); Note that api methods are async and return a jQuery promise. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] [Wikitech-l] MediaWiki:Common.js and MediaWiki:Common.css blocked on Special:Login and Special:Preferences

2014-11-06 Thread Daniel Friesen
on the same page with malicious site-js running. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Restoring MediaWiki after the Drupal exploit?

2014-11-02 Thread Daniel Friesen
Or your Drupal install uses a user that has permissions to the MW install's database. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-11-02 4:43 PM, Tom wrote: Just to be clear. Your MW and Drupal share the same DB with a different prefix? Tom On Nov 2

Re: [MediaWiki-l] WG: How to make MediaWiki easier to install: use cases

2014-06-13 Thread Daniel Friesen
repo anymore. Tarballs will continue to be bundled with all 3rd party libraries we use and will still work out of the box. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-06-13, 3:02 AM, Stip wrote: case 1) here on multiple wikis. Please dont follow the example

Re: [MediaWiki-l] PHP recognition issue upgrading from Mediawiki 1.19.11 1.22.6 ?officially

2014-06-08 Thread Daniel Friesen
/phpinfo.php script). When I went back to the command line to run the update scripts again, I received the same message. Which is kind of funny, as I was updating from 5.3, not 5.2. Are you sure the cli (not just the web version) was running php 5.3? Try running `php -v`. ~Daniel Friesen (Dantman

Re: [MediaWiki-l] [Wikitech-l] Feedback on 1.23 RC 0

2014-04-29 Thread Daniel Friesen
I discovered this regression yesterday: https://bugzilla.wikimedia.org/show_bug.cgi?id=64595 ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-04-29, 7:50 AM, Mark A. Hershberger wrote: We've gotten some feedback already -- https://github.com/SemanticMediaWiki

Re: [MediaWiki-l] Image File Page 404'ed?

2014-04-27 Thread Daniel Friesen
pastebin the whole config? It's probably either matching some non-wiki config or the result of an enabled nginx module. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-04-27, 11:15 AM, Matthew Wayne Selznick wrote: Got another nginx / mediawiki issue for you brilliant

Re: [MediaWiki-l] MediaWiki On Nginx As A Subdirectory of WordPress

2014-04-22 Thread Daniel Friesen
On 2014-04-22, 3:36 PM, Matthew Wayne Selznick wrote: On Mon, Apr 21, 2014 at 12:07 AM, Daniel Friesen dan...@nadir-seen-fire.com wrote: It's likely something to do with your location rules. Instead of hitting the right wiki location a broad WordPress location is being hit. First thing to do

Re: [MediaWiki-l] MediaWiki On Nginx As A Subdirectory of WordPress

2014-04-21 Thread Daniel Friesen
It's likely something to do with your location rules. Instead of hitting the right wiki location a broad WordPress location is being hit. First thing to do is share the nginx.conf you have related to WordPress and MediaWiki. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Restoring a wiki from an old database

2014-04-16 Thread Daniel Friesen
Import the dump into MySQL if you haven't already. Tweak your mysql config to point to the database with the dump. Then run maintenance/update.php to fix any version differences in the schema. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-04-16, 2:54 AM

Re: [MediaWiki-l] mediawiki problem in chrome browser

2014-03-09 Thread Daniel Friesen
? thanks, This sounds like an ancient bug that we already fixed a long time ago. https://code.google.com/p/chromium/issues/detail?id=28267 Old obsolete code is simply not built to be compatible with the latest browsers. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Created subskin but changes to main page not visible

2014-03-07 Thread Daniel Friesen
$this-data['somekey'] parent::execute(); } Then you keep all the advantages. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] Created subskin but changes to main page not visible

2014-03-07 Thread Daniel Friesen
the place that vary from browser to browser, since our skins are not designed for quirks mode. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [MediaWiki-l] Created subskin but changes to main page not visible

2014-03-06 Thread Daniel Friesen
EOF leads to bugs where some forms of file transfer programs insert a newline after the ? creating whitespace that triggers Headers already sent fatal errors when uploaded to a webserver. For this reason it's standard practice in MediaWiki to NEVER use a ? at the end of a PHP file. ~Daniel Friesen

Re: [MediaWiki-l] Created subskin but changes to main page not visible

2014-03-06 Thread Daniel Friesen
with $skinname and $stylename. This will tell your skin implementation to use the template class you created instead of continuing to inherit the name of the template that SkinVector gives it. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Created subskin but changes to main page not visible

2014-03-06 Thread Daniel Friesen
On 2014-03-06, 12:01 PM, Alastair Sherringham wrote: On 06/03/14 19:12, Daniel Friesen wrote: Add $template = 'ZedDocsTemplate' to the line with $skinname and $stylename. This will tell your skin implementation to use the template class you created instead of continuing to inherit the name

Re: [MediaWiki-l] Scaling up - MySQL server

2014-02-18 Thread Daniel Friesen
server. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2014-02-18 2:11 PM, David Gerard wrote: rationalwiki.org is getting hammered again. It looks like MySQL is the busiest portion - seriously just doing a lot of work. Our current arrangement is: one box for MySQL

Re: [MediaWiki-l] #REDIRECT as 301/302

2014-02-07 Thread Daniel Friesen
that people have made on how to handle the Redirected from {x} has had some fundamental flaw the author didn't think of that makes it an unacceptable alternative to rel=canonical. Cookies, query parameters, referers (sic), and so on have all been suggested, and flopped. ~Daniel Friesen (Dantman, Nadir-Seen

Re: [MediaWiki-l] How to switch to HTTPS for logins

2014-01-22 Thread Daniel Friesen
, the right way is to use $wgSecureLogin. https://www.mediawiki.org/wiki/Manual:$wgSecureLogin Though I'm not sure of it's state. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l

Re: [MediaWiki-l] How to switch to HTTPS for logins

2014-01-22 Thread Daniel Friesen
don't take into account readers attempting to browse over https and leaves wgServer set to http for them. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [MediaWiki-l] vector subskin ignoring my screen.css

2014-01-20 Thread Daniel Friesen
. And because parent::setupSkinUserCss is called this means that both your module and vector's are loaded. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [MediaWiki-l] switch($X){case 'Y':trigger_error(can you believe \$X is NOT Y but Z); }

2014-01-03 Thread Daniel Friesen
On 2014-01-03 2:37 AM, jida...@jidanni.org wrote: Or is this some weird php/apache echoing? You can test whether it is or isn't by adding an mt_rand() call to your log test. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Links to Filesystem not work after Update

2013-12-15 Thread Daniel Friesen
Ok sounds like some of the URI encoding changed between versions. In the meantime maybe try using [file://server/FolderA/FolderB/FolderC/FolderD/Dokumentations within this Folder] ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2013-12-15 11:28 PM, Ramm Thomas wrote

Re: [MediaWiki-l] [reportlab-users] Different styles for screen and print

2013-11-29 Thread Daniel Friesen
Don't use an explicit @media in Common.css and Print.css, those are implicit. You don't need the div portion of the selectors, just use .ys_print and .ys_screen. Get rid of the style=media:*, those are completely invalid and meaningless. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] Obtaining page URL from the wikidb

2013-11-21 Thread Daniel Friesen
and use mw.Title: var title = Title::newFromText( 'Foo' ); if ( title ) { // Invalid titles may be null title-getUrl(); } ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2013-11-21 7:56 AM, Bill Traynor wrote: Figured it out myself. I just used concat to prepend

Re: [MediaWiki-l] Obtaining page URL from the wikidb

2013-11-21 Thread Daniel Friesen
that the 'mediawiki.Title' is loaded and use mw.Title: var title = mw.Title.newFromText( 'Foo' ); if ( title ) { // Invalid titles may be null title-getUrl(); } ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2013-11-21 7:56 AM, Bill Traynor wrote: Figured it out

Re: [MediaWiki-l] Alternate mailer program / UserMailer.php

2013-11-18 Thread Daniel Friesen
another part of MW that is legacy code with a bit of NIH sprinkled on it. Thank you for reading, Matthias ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [MediaWiki-l] Alternate mailer program / UserMailer.php

2013-11-18 Thread Daniel Friesen
On 2013-11-18 4:42 AM, Matthias Paul wrote: Am 18.11.2013, 11:38 Uhr, schrieb Daniel Friesen dan...@nadir-seen-fire.com: On 2013-11-18 1:07 AM, Matthias Paul wrote: I'm trying to install a MediaWiki instance. Although I never worked with MediaWiki before, I feel quite comfortable with server

Re: [MediaWiki-l] Rather than 404 is there an ability for a basic search result on the page too (user experience)

2013-11-16 Thread Daniel Friesen
Right now there's no search input integrated directly into the 404 page. ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On 2013-11-16 3:32 PM, billinghurst wrote: At a wiki where I have a long participation, we are looking at an issue of bland 404 pages (following

Re: [MediaWiki-l] $wgNoFollowLinks

2013-11-14 Thread Daniel Friesen
Tim Starling tstarling at wikimedia.org writes: On 10/11/13 03:57, Nathan Larson wrote: Also, we have other antispam tools that are way more effective than nofollow at deterring spam. Like what? AbuseFilter is unusable for small wikis, SpamBlacklist is poorly maintained, and FancyCaptcha

Re: [MediaWiki-l] Need Help with Short URLs

2013-08-10 Thread Daniel Friesen
) { $router-addStrict( /wiki/index.php, array( 'title' = false ) ); $router-add( /wiki/index.php/$1 ); return true; }; The other, classic way to fix this of course would simply be a rewrite rule to 301 redirect all /wiki/index.php paths to /w/index.php. -- ~Daniel

Re: [MediaWiki-l] Tapping into the Backbone

2013-06-22 Thread Daniel Friesen
still be off topic. Since it would be better suited for wikitech-l where people who can actually fix the security flaw subscribe. Better yet actually, since it would be a security issue secur...@wikimedia.org or the Security project in bugzilla. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire

Re: [MediaWiki-l] Lua: Maintain state between invokes?

2013-06-19 Thread Daniel Friesen
calls. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Some Unanswered Questions

2013-06-12 Thread Daniel Friesen
tipping someone off, yeah, I'd say so. Heck, we spot the problem all the time when someone goes and makes a live hack without committing. -Chad -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list

Re: [MediaWiki-l] Some Unanswered Questions

2013-06-11 Thread Daniel Friesen
@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] how to be notified of ALL media wiki changes

2013-05-29 Thread Daniel Friesen
. But if you absolutely must have email there is this setting: https://www.mediawiki.org/wiki/Manual:%24wgUsersNotifiedOnAllChanges Though I'm not sure of it's particulars. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Wiki spam. Stronger fightback.

2013-05-26 Thread Daniel Friesen
regularly get friends too. Paul -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Wiki spam. Stronger fightback.

2013-05-24 Thread Daniel Friesen
-spam_system -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Wiki spam. Stronger fightback.

2013-05-24 Thread Daniel Friesen
submission eventually you only need to vet wiki instead. Also since articles are public, not private like emails. So you can do proper vetting with a whole community. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l

Re: [MediaWiki-l] Wiki spam. Stronger fightback.

2013-05-22 Thread Daniel Friesen
On Wed, 22 May 2013 14:44:10 -0700, Richard legal...@xmission.com wrote: I thought the standard practice was to require admin approval of new accounts and require new accounts to fill out a profile for their user page. No it's not. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [MediaWiki-l] Case Study: Skinning Media Wiki

2013-05-21 Thread Daniel Friesen
on Special:Version. So your Special:Version looks a little broken now http://wiki.laravel.io/Special:Version Thanks for reading. I'd be happy to answer any further questions. Jason -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name

Re: [MediaWiki-l] Case Study: Skinning Media Wiki

2013-05-21 Thread Daniel Friesen
tutorial on creating subskins that skin could probably use http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ though I haven't had the time to copy this one over to MediaWiki.org)) -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] On Mon, 20 May 2013 09:34:50

Re: [MediaWiki-l] Case Study: Skinning Media Wiki

2013-05-21 Thread Daniel Friesen
`[...]` as A placeholder to replace with relevant data. Instead thinking that the `...` alone was a placeholder and the []'s we're either required or indicated it was a wikilink. I swapped that out for just `...` inside that specific field on the wiki page. -- ~Daniel Friesen (Dantman, Nadir-Seen

Re: [MediaWiki-l] $parser-getTitle() vs $frame-getTitle()

2013-05-09 Thread Daniel Friesen
to be displayed on)) -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Spambots and CPU usage

2013-03-30 Thread Daniel Friesen
. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Rewrite Rules

2013-01-17 Thread Daniel Friesen
On Tue, 15 Jan 2013 22:53:00 -0800, Mark A. Hershberger m...@everybody.org wrote: On 01/15/2013 11:33 PM, Daniel Friesen wrote: %{DOCUMENT_ROOT} is not wrong. Though /w/ is. And that ?title=$1 shouldn't be there. The rules work for me and others. Your suggested rules work, I'm sure

Re: [MediaWiki-l] Requesting help and advice on making a custom Vector skin

2013-01-17 Thread Daniel Friesen
to create a skin that's based on it. See http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/ -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [MediaWiki-l] Rewrite Rules

2013-01-15 Thread Daniel Friesen
} !-d RewriteRule ^/?wiki/(.*)$ %{DOCUMENT_ROOT}/wiki/index.php [L] RewriteRule ^/*$ %{DOCUMENT_ROOT}/wiki/index.php [L] -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://danielfriesen.name/] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org

Re: [MediaWiki-l] $wgCopyrightIcon

2012-08-25 Thread Daniel Friesen
1.18 See https://www.mediawiki.org/wiki/Manual:%24wgFooterIcons -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

Re: [MediaWiki-l] Hook for modifying meta tags?

2012-08-14 Thread Daniel Friesen
? -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [MediaWiki-l] Show Pages by pageid not by title

2012-08-09 Thread Daniel Friesen
work. However you should avoid it as much as possible. There are multiple situations where the page id for one page can change. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l

Re: [Mediawiki-l] New Extension: AllTimeZones

2012-04-04 Thread Daniel Friesen
the not sending pointless cookies and StorageEvent advantages). We'll also want to come up with a good switching ui for https://bugzilla.wikimedia.org/show_bug.cgi?id=30857 -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] Problem sending confirmation email after upgrade to 1.17.3

2012-03-25 Thread Daniel Friesen
. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] building a replica/backup media wiki

2012-03-14 Thread Daniel Friesen
turn off read only but set $wgMainCacheType = CACHE_NONE; does your wiki feel as slow as it does overnight? -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [Mediawiki-l] wiki family setup with mediawiki 1.18.1

2012-03-02 Thread Daniel Friesen
is greatly appreciated. Thanks, Poornima. You should not be modifying core code to make wiki families. You do that by adding conditionals into your LocalSettings.php and setting configuration variables with different settings depending on where you are. -- ~Daniel Friesen (Dantman, Nadir-Seen

Re: [Mediawiki-l] wiki family setup with mediawiki 1.18.1

2012-03-02 Thread Daniel Friesen
. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] On Fri, 02 Mar 2012 11:28:55 -0800, Poornima Pochana ppre...@uab.edu wrote: Thank you Daniel. Would the configuration variables happen to be 'MW_CONFIG_FILE' , '$IP'? Can you provide an example how to set

Re: [Mediawiki-l] CAPTCHA recommendation for account-creation bots?

2012-02-27 Thread Daniel Friesen
to use the same mechanism in an extension. hth Frank We have that too: https://www.mediawiki.org/wiki/Extension:SimpleAntiSpam But if the bot is smart enough to register for accounts and handle captchas, it might not be easily tripped up by such a simple measure. -- ~Daniel Friesen (Dantman

Re: [Mediawiki-l] the password encoding hash algorithm

2012-02-27 Thread Daniel Friesen
continue to function. If I implement the same hash mechanism, I suspect this will work out OK. Thanks for your assistance, --Hiram http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/User.php?view=markup#l3868 -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [Mediawiki-l] custom skins not working on upgrade to 1.18.1

2012-02-27 Thread Daniel Friesen
. And then add a yourskinname/screen.css which would contain the css tweaks you want to vector. And then require_once that from your LocalSettings.php This way you inherit everything from vector and don't have to copy anything. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

[Mediawiki-l] MediaWiki Skinning Tutorial

2012-02-13 Thread Daniel Friesen
types of content, an overview of things you should test for in your skin when implemented, a bit on i18n and related info on variants and rtl, and a touch on accessibility. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] MediaWiki replication?

2012-02-04 Thread Daniel Friesen
would do the trick since it would only pick up the changes. This would also allow bi-directional updates. You could use sqlite for the database, then you could just rsync. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] [MediaWiki-I] upgrade from 1.17.0 to 1.18.x: Skins

2012-01-27 Thread Daniel Friesen
: An embedded script. addMeta: Adds meta tags, start the name with http: to add a http-equiv= instead of a name= addHeadItem: Plain and simply adds any html you want to the head, can be used for inserting link's, or anything else that we don't have better methods for. -- ~Daniel Friesen (Dantman

[Mediawiki-l] Bypassing the external image whitelist

2012-01-23 Thread Daniel Friesen
-website.com/path/to/my/evil/image.png?.wordpress.comimage.png which would match that latter regexp. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https

Re: [Mediawiki-l] tooltips for sidebar objects

2012-01-19 Thread Daniel Friesen
And you have a page title in MediaWiki:Mypage-url and My Page in MediaWiki:Mypage You should then be able to create MediaWiki:Tooltip-n-mypage with the text of the tooltip. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] SOPA blackout: technical advice on how to join?

2012-01-18 Thread Daniel Friesen
the BeforeInitialize hook is good enough. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Re: [Mediawiki-l] I need to Hide a single page from Un-login users

2012-01-11 Thread Daniel Friesen
a ridiculous suggestion, you're not even hiding the page you're just wrapping the content with some css and making it look like the content isn't there when the whole page is there and the whole content is there to see. MediaWiki is not built for partial-read restriction, don't do it. -- ~Daniel

Re: [Mediawiki-l] Time stamp variance??SOLVED as far as Mediawiki is concerned.

2012-01-09 Thread Daniel Friesen
On Mon, 09 Jan 2012 17:56:03 -0800, John W. Foster jfoster81...@verizon.net wrote: On Sat, 2012-01-07 at 05:55 -0800, Daniel Friesen wrote: On Sat, 07 Jan 2012 05:45:27 -0800, John W. Foster jfoster81...@gmail.com wrote: I was running the php runjobs.php to refresh the links as Ive been

Re: [Mediawiki-l] Time stamp variance??

2012-01-07 Thread Daniel Friesen
but the time stamp read 13:40:13 Anyone know what is causing this. I don't think it causes an issue but just seems strange. Thanks! frosty Ever heard of time zones and UTC? https://en.wikipedia.org/wiki/UTC -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] Old MW installations' Monobook skin breaking in Firefox 9

2012-01-03 Thread Daniel Friesen
on the presence of navigator.taintEnabled for Firefox and well, it was something useless and Firefox has been trying to remove it. Relevant bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=679971 https://bugzilla.wikimedia.org/show_bug.cgi?id=31807 -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http

Re: [Mediawiki-l] Google Analytics advice

2011-12-26 Thread Daniel Friesen
updates their code, you just paste it into LocalSettings. Rob From: Daniel Friesen li...@nadir-seen-fire.com To: mediawiki-l@lists.wikimedia.org mediawiki-l@lists.wikimedia.org Sent: Sunday, December 25, 2011 5:20 PM Subject: Re: [Mediawiki-l] Google Analytics

Re: [Mediawiki-l] Best in class software for small wiki on VPS

2011-12-26 Thread Daniel Friesen
schema because MySQL's utf8 schemas don't support characters outside of the BMP. As a result you can have text in some fancy scripts disappear. Thanks in advance, Rob -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] Using tables with different prefixes in the same wiki

2011-12-25 Thread Daniel Friesen
version of the name of the other system you're incorporating the database from. Either that or use a separate database name for the other data. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list

Re: [Mediawiki-l] WP Touch skin for 1.18 ?

2011-12-25 Thread Daniel Friesen
- Looks like it's using some junk js for a placeholder, just replace that with html5's placeholder attribute and let our fallback js take over -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] On Sat, 17 Dec 2011 21:46:26 -0800, Eric K ek79...@yahoo.com wrote: I'm

Re: [Mediawiki-l] Changing password for user with special utf characters in name

2011-12-25 Thread Daniel Friesen
the unicode character in. If all else fails in your attempts to figure out how to get your shell to pass the unicode in changePassword.php accepts a --userid parameter you can use instead of the username. -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name

Re: [Mediawiki-l] Google Analytics advice

2011-12-25 Thread Daniel Friesen
@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l -- ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name] ___ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman

Re: [Mediawiki-l] Does wikipedia use different methods to compute the hash part of an image path?

2011-12-06 Thread Daniel Friesen
-methods-to-compute-the-hash-part-of-an-image-path -- @tommychheng http://tommy.chheng.com ___ Mediawiki-api mailing list mediawiki-...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api -- ~Daniel Friesen (Dantman

  1   2   >