Derk-Jan Hartman
dbc563169b
(bug 31644) [MERGE DEPENDENCY] Let WikiMap url builders return full urls instead of canonical urls
...
* This commit depends on a commit of globalusage https://gerrit.wikimedia.org/r/17117
* This allows GlobalUsage, CentralAuth and AbuseLog extensions to use protocol relative URLs.
Change-Id: I7e65bd029f359c36770aa48e6663f26a671b92c0
2012-07-31 23:17:12 +02:00
Reedy
c5e154664d
Add getCanonicalServer to WikiMap
...
Change-Id: I9473034ced524ea3d0b3ea9e4166b173653f58c4
2012-07-13 10:02:00 +00:00
Alexandre Emsenhuber
2040d1337e
Added missing GPLv2 headers in some places.
...
Also made file/class documentation more consistent.
Change-Id: Ib46e50da4ec649a6a06cbeed00752effb79ed06e
2012-05-09 20:11:36 +02:00
Sam Reed
f3cc77aaee
Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar
...
Other documentation improvements
2012-02-09 17:41:50 +00:00
Sam Reed
6906724935
Add, update, tweak documentation
...
Fix document comment blocks
Tweak some returns
2011-10-26 03:45:13 +00:00
Roan Kattouw
a4c0941213
(bug 31320) CentralAuth uses http URLs for autologin images when logging in over https.
...
Renamed WikiReference::getUrl() to getCanonicalUrl() (but kept the old name as a back compat alias), and added getFullUrl() which returns a URL built using $wgServer rather than $wgCanonicalServer, which means it'll be protocol-relative if the wiki is configured for that.
2011-10-03 10:27:23 +00:00
Alexandre Emsenhuber
5f62872f13
Don't use isset() to check for null
2011-09-17 19:09:13 +00:00
Roan Kattouw
e6fca5c816
In WikiMap, pull wgCanonicalServer from $wgConf instead of wgServer for building URLs to foreign wikis. This means wgCanonicalServer is now expected to always be available in wgConf; document this in RELEASE-NOTES (-1.18 because this is for backporting).
2011-08-29 08:55:35 +00:00
Roan Kattouw
d0d89f4297
Instead of using some hacky regexes, just use wfParseUrl() in WikiMap::getDisplayName(). This should make protocol-relative URLs behave correctly as well, and fix bug 29965
2011-08-12 19:19:34 +00:00
Alexandre Emsenhuber
ed4a147637
Call Linker::link() statically instead of getting a Skin object from $wgUser
2011-07-01 08:24:32 +00:00
Siebrand Mazeland
75c6696aa8
Use consistent notation for "@todo FIXME". Should update http://svn.wikimedia.org/doc/todo.html nicely.
2011-05-17 22:03:20 +00:00
Sam Reed
ecf56c33fa
Braces and spaces
2010-09-04 03:43:33 +00:00
Sam Reed
04f68827d0
Removal of unused globals
...
Removal of one setting of a variable to '', then not using further
2010-07-24 19:11:52 +00:00
Bryan Tong Minh
e505a59df7
Fix undefined variable
2010-01-22 21:37:29 +00:00
Alexandre Emsenhuber
5fc268d803
document a bit
2010-01-12 21:49:47 +00:00
Alexandre Emsenhuber
586be1e1eb
* (bug 9794) User rights log entries for foreign user now links to the foreign user's page if possible
2010-01-09 15:23:27 +00:00
Andrew Garrett
af184614e5
Phase 1 in fixing up SiteConfiguration: Replace the hack of including InitialiseSettings.php with a generic system for loading full configuration data, involving a callback.
2009-06-02 09:49:31 +00:00
Andrew Garrett
6a91f0640c
Move WikiMap class from CentralAuth to core, since it's used in 2 extensions at least now, and doesn't depend on CentralAuth
2009-03-26 13:31:30 +00:00