Jim Hu | 16 May 01:23
Picon
Favicon
Gravatar

categorylinks + page denormalization?

Just wondering...

Would it be worth denormalizing categorylinks a bit so that  
CategoryPage.php doesn't have to join categorylinks and page?  I'm  
thinking that having page_title and page_namespace duplicated there  
would help performance.  In particular, I'm wondering if getting rid  
of the join would speed things up enough to make some of the things  
we're doing with our modified category page extensions tolerable on  
other sites (i.e. get real counts for how many subcategories, find the  
subcategories even when they don't sort within the limit etc.) and  
faster on ours.

I know that it violates all kinds of sacred db design principles and  
is therefore probably a bad idea.  Is this a job for (materialized)  
views?
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
Jim Hu | 15 May 23:58
Picon
Favicon
Gravatar

UserRightsList 0.3 Announcement

This is to announce a new release of UserRightsList.

	http://www.mediawiki.org/wiki/Extension:UserRightsList

This extension provides an alternative to the standard User rights  
management special page.
• Bureaucrats can view users as a list instead of searching for a  
specific user name
• Users with account creation privileges can view limited rights for  
other users they created, if user creation logging is enabled
• The user list can be filtered by group membership, username (with %  
wildcards), and/or date ranges for user_registration (by month).

This version mainly converts the database interaction to use $dbr- 
 >select instead of $dbr->query, so I hope it will solve various  
database problems that have been reported.  I also added MIT license  
info (so DanTMan can add this to svn) and a Russian translation  
submitted at Mediawiki.org.

I've tested it on 1.12.0.  Hope it's useful to others.
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054
Oliver Rojo | 15 May 08:28
Picon

authentication before viewing pages

Guys,

I need help.

Is it possible to set each user to authenticate first before viewing and
editing pages instead of authenticating before editing pages? I don't want
to use htaccess at this moment if mediawiki has this feature. I'm using
mediawiki-1.10 with AD/LDAP authentication.

Thank you!
River Tarnell | 15 May 07:58

Welcome to mediawiki-l (weekly posting)

Welcome to mediawiki-l.  This mailing list exists for discussion and questions 
about the MediaWiki software[0].  Important MediaWiki-related announcements 
(such as new versions) are also posted to this list.

	Other resources.

If you only wish to receive announcements, you should subscribe to 
mediawiki-announce[1] instead.

MediaWiki development discussion, and all Wikimedia technical questions, should 
be directed to the wikitech-l[2] mailing list.

Several other MediaWiki-related lists exist:
  - mediawiki-api[5] for API discussions,
  - mediawiki-enterprise[6] for discussion of MediaWiki in the enterprise,
  - mediawiki-cvs[7] for notification of commits to the Subversion repository,
  - mediawiki-i18n[8] for discussion of MediaWiki internationalisation support,
  - wikibugs-l[9] for notification of changes to the bug tracker.

	List administrivia (unsubscribing, list archives).
	
To unsubscribe from this mailing list, visit [12].  Archives of previous postings 
can be found at [3].

This list is also gatewayed to the Gmane NNTP server[4], which you can use to 
read and post to the list.  

	Posting to the list.

Before posting to this list, please read the MediaWiki FAQ[10].  Many common 
(Continue reading)

Jim R. Wilson | 14 May 22:26
Picon

[mediawiki-l] MediaWiki experts wanted

Hi all,

MediaWiki is a great project and a growing niche.  As it becomes even
more popular, there will be increasing demand for experts in the
field.

I am compiling a contact list of MediaWiki experts who may be
interested in opportunities under the right circumstances.  I am not a
recruiter - I'm a regular developer who sometimes gets asked for
referrals when I'm not personally available.

If you'd like to be on my shortlist of go-to experts, please contact
me off-list at: wilson.jim.r@...

Please be prepared to show your expertise by /any/ of the following:
 * Committer status or patches accepted
 * Bugs reported which were either resolved or are still open (that
is, /real/ bugs)
 * Commit access to another open source project based on MediaWiki
 * Extensions you've authored or significantly modified
 * Links to any public wikis you administer
 * Articles / blog entries written about MediaWiki concepts or development
 * Significant contributions to documentation (mediawiki.org or
meta.wikimedia.org)
 * Speaking engagements or user groups at which you've presented
 * Other? (I'm sure I didn't think of everything)

I'll be happy to answer any questions, and I look forward to hearing from you!

-- Jim R. Wilson (jimbojw)
(Continue reading)

Daniel Barrett | 13 May 22:41
Favicon

Linebreaks in the edit toolbar?

In our wiki, we have many toolbar buttons on the edit page, so we want to split them into multiple lines at
designated spots. My hacked solution is below -- is there a better way?

To implement this, I hacked function mwInsertEditButton in skins/common/wikibits.js, so an imageFile
value of "<br>" causes a real <br> to be inserted into the toolbar.  I added this code as the first lines of
mwInsertEditButton :

        if (item.imageFile == '<br>') {
                parent.appendChild(document.createElement("br"));
                return true;
        }

Is there a better way to accomplish this task without modifying core code?

Thanks,
DanB
paul grinberg | 12 May 19:01
Picon
Favicon

Special:UncategorizedPages from user selectable namespace

After using MediaWiki 1.9 for quite some time now at our work for internal
documentation, I came to a shocking realization a couple of days ago that
Special:Uncategorizedpages defaults to displaying only uncategorized pages in
the main namespace. Why is that? Also, am I missing something or is there no way
for me to display the uncategorized pages from other namespaces?
agent dale cooper | 12 May 12:50
Picon

HELP: MediaWiki & Lucene-Search+MWSearch = ZERO search results ??!

HELP: MediaWiki & Lucene-Search+MWSearch = ZERO search results ??!

Can someone '''please''' assist me?   Here's what I've got running;;

   - Slackware 12.0 <http://www.slackware.com/> on i686 Pentium III
   [Linux 2.6.21.5]
   - MediaWiki: 1.9.1
   - PHP: 5.2.5
   - MySQL: 5.0.37
   - MediaWiki Extension(s):
MWSearch<http://www.mediawiki.org/wiki/Extension:MWSearch>
   SVN<http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/MWSearch/>(05122008),
and
   Lucene-search <http://www.mediawiki.org/wiki/Extension:Lucene-search>
   SVN<http://svn.wikimedia.org/svnroot/mediawiki/trunk/lucene-search-2/>(05122008),
+ I downloaded & installed
   mwdumper.jar <http://download.wikimedia.org/tools/mwdumper.jar> into
   the Lucene2 lib dir
   - Other tools: jre-6u2-i586-1, jdk-1_5_0_09-i586-1,
   apache-ant-1.7.0-i586-1bj, rsync-2.6.9-i486-1

I've followed the steps per
MWSearch<http://www.mediawiki.org/wiki/Extension:MWSearch>and
Lucene-search <http://www.mediawiki.org/wiki/Extension:Lucene-search> pages,
to the T - I've gone over and over them several times, I've tried to search
these forums <http://www.mwusers.com/%20MediaWiki%20Forums>, and the
MediaWiki-L
mailing list <http://lists.wikimedia.org/pipermail/mediawiki-l> ... please
help me! =)

(Continue reading)

Darren VanBuren | 11 May 18:57
Picon

Re: Installation help: file uploads

Works just fine for me. I just uploaded an image to your Wiki.

It was a png file at about 471K. You may delete it if you wish.

On May 11, 2008, at 9:39 AM, Joachim Nielandt wrote:

> Hello,
>
>
>
> I just did a fresh install on a free provider of the latest version of
> MediaWiki. Everything works, after some troubleshooting, except for  
> the file
> upload. I repeatedly get:
>
>
>
> The file has no extension (like ".jpg").
>
>
>
> When I try to upload a file to the site. I chmodded the images map  
> (755),
> the legal filetypes are correctly entered, I tried disabling filetype
> checking all together, I tried to use another mime type detector, .,  
> nothing
> works. Can anyone put me on the right track? Before you ask, I do  
> try to
> upload a .png or .jpg file. Link to the installation:
>
(Continue reading)

Joachim Nielandt | 11 May 18:38
Picon
Favicon

Installation help: file uploads

Hello,

I just did a fresh install on a free provider of the latest version of
MediaWiki. Everything works, after some troubleshooting, except for the file
upload. I repeatedly get:

The file has no extension (like ".jpg").

When I try to upload a file to the site. I chmodded the images map (755),
the legal filetypes are correctly entered, I tried disabling filetype
checking all together, I tried to use another mime type detector, ., nothing
works. Can anyone put me on the right track? Before you ask, I do try to
upload a .png or .jpg file. Link to the installation:

http://bankvandetoekomst.freehostia.com/wiki

Thanks!

Joa
Daniel Barrett | 9 May 23:20
Favicon

Pywikipedia bot and LDAP authentication

If anyone else has tried (and failed) get the pywikipedia bot running on a MediaWiki site with LDAP
authentication...  I just posted a patch to pywikipedia to make it work:

http://sourceforge.net/tracker/index.php?func=detail&aid=1961161&group_id=93107&atid=603138

DanB

Gmane