Commit graph

10 commits

Author SHA1 Message Date
Brion Vibber
71432fb487 Pet peeve time: reduce clutter from common $wgContLang->isRTL() ? 'x' : 'y' pattern. :)
Introduced helpers:
  $lang->getDir() returns 'ltr' or 'rtl' for HTML 'dir' attrib
  $lang->alignStart() returns 'left' or 'right' for HTML 'align' attrib or CSS 'text-align' property
  $lang->alignEnd() returns 'right' or 'left'

And cleaned up a couple arrays of icons to just reverse the order of items rather than repeating the items twice for each possibility.
2009-08-22 01:24:04 +00:00
Niklas Laxström
875063589d Some escaping fixes and related readability changes 2009-07-13 10:34:31 +00:00
Siebrand Mazeland
0d3a39aec4 * replace use of deprecated makeLink() by link() in core
* replace other deprecated Linker::*link*() methods in special pages
2009-06-06 17:00:20 +00:00
Siebrand Mazeland
8e23949bee Proper casing for getDBkey() 2009-05-24 08:29:10 +00:00
Siebrand Mazeland
547858b7fe Use link() instead of deprecated makeLinkObj() where possible. 2009-05-08 23:24:31 +00:00
Alexandre Emsenhuber
df55e7a861 (bug 17972) Special:FileDuplicateSearch form now works correctly on wikis that don't use PathInfo or short urls 2009-03-14 19:52:10 +00:00
Ilmari Karonen
34fb6297cd Step 2 in NS_IMAGE -> NS_FILE transition (bug 44) (WARNING: huge commit).
This is a global search and replace of NS_IMAGE and NS_IMAGE_TALK with NS_FILE and NS_FILE_TALK respectively in all core files, excluding those already updated in step 1 (r44004).
2008-12-01 17:14:30 +00:00
Siebrand Mazeland
c426e6b9d7 Consistent casing for wfGetDB(), getDB(), and getDBKey() 2008-11-06 22:38:42 +00:00
Tim Starling
96d89329f3 * Don't force rendering in File::getThumbnail(). The old code (pre-filerepo) required rendering to be forced all the time, the new code is much smarter about when to render and doesn't need rendering to be forced. Forcing rendering causes non-scaler servers to be used for scaling.
* Use File::transform() in the core instead of the deprecated File::getThumbnail().
2008-09-05 04:23:24 +00:00
Brion Vibber
660a5eb7aa Rename all the special page class files back to their proper names.
1) This keeps the filename the same as the classname, which is always nice
2) This avoids duplicate filenames (such as includes/Export.php and includes/specials/Export.php)
So I've at least got a chance of figuring out what file is what still...
2008-06-19 21:12:45 +00:00
Renamed from includes/specials/FileDuplicateSearch.php (Browse further)