wfProfileIn( "$fname-category" );
$s = rtrim($s . "\n"); # bug 87
+ # Redirect categories - bug 3311
+ $dbw =& wfGetDB( DB_SLAVE );
+ $obj = $dbw->selectRow( array( 'redirect' ),
+ array( 'rd_namespace', 'rd_title' ),
+ array( 'rd_from' => $nt->getArticleID() ),
+ __METHOD__ );
+ if ( $obj && $obj->rd_namespace == NS_CATEGORY ) {
+ # The category redirects to another category; follow it
+ $nt = Title::makeTitle( NS_CATEGORY, $obj->rd_title );
+ }
+
if ( $wasblank ) {
if ( $this->mTitle->getNamespace() == NS_CATEGORY ) {
$sortkey = $this->mTitle->getText();
'mw_math_mathml' => 'MathML אם אפשר (ניסיוני)',
# Patrolling
-'markaspatrolleddiff' => 'סמן שינוי כבדוק',
-'markaspatrolledtext' => 'סמן דף זה כבדוק',
-'markedaspatrolled' => 'השינוי נבדק',
-'markedaspatrolledtext' => 'השינוי שנבחר נבדק.',
-'rcpatroldisabled' => 'בדיקת השינויים האחרונים מבוטלת',
-'rcpatroldisabledtext' => 'תכונת סימון שינוי כבדוק בשינויים האחרונים היא כרגע מנוטרלת.',
-'markedaspatrollederror' => 'לא יכול לסמן כבדוק',
-'markedaspatrollederrortext' => 'עליכם לציין גרסה שתציינו כבדוקה.',
+'markaspatrolleddiff' => 'סמן שינוי כבדוק',
+'markaspatrolledtext' => 'סמן דף זה כבדוק',
+'markedaspatrolled' => 'השינוי נבדק',
+'markedaspatrolledtext' => 'השינוי שנבחר נבדק.',
+'rcpatroldisabled' => 'בדיקת השינויים האחרונים מבוטלת',
+'rcpatroldisabledtext' => 'תכונת סימון שינוי כבדוק בשינויים האחרונים היא כרגע מנוטרלת.',
+'markedaspatrollederror' => 'לא יכול לסמן כבדוק',
+'markedaspatrollederrortext' => 'עליכם לציין גרסה שתציינו כבדוקה.',
+'markedaspatrollederror-noautopatrol' => 'אינכם מורשים לסמן את השינויים של עצמכם כבדוקים.',
# Monobook.js: tooltips and access keys for monobook
'Monobook.js' => '/* ערכו קובץ זה כדי להריץ סקריפטים ב־JavaScript ברקע Monobook באתר כולו */