Manual talk:Title.php

Latest comment: 28 days ago by Wladek92 in topic Red links due to not existing targets

Question

edit

Is there a function to convert $wgTitle to the Title.php format, e.g. by converting spaces to underscores? I mean, I guess one could use Title::getDBkey(), but then you're not getting the whole title. Tisane 14:18, 20 March 2010 (UTC)Reply

The values returned by ->getLocalURL() or ->getFullURL() are missing necessary namespace parts. Is there a suitable workaround? (using MediaWiki 1.16.3) --HonoredMule 18:27, 5 July 2011 (UTC)Reply

They say "Please do not post support questions here"

Logics problem

edit

If a title begins with a colon as its first character, no prefixes are scanned for, and the colon is removed before the title is processed. Because of this rule, it is possible to have articles with colons in their names. "E. Coli 0157:H7" is a valid title, as is "Commandos: Behind Enemy Lines", because "E. Coli 0157" and "Commandos" are not valid interwikis or namespaces.

I think, it's not because of this rule...

edit

leading to -> {{ll|Manual:ProperPageRecord.php|ProperPageRecord}} i.e. ProperPageRecord

leading to -> {{ll|Manual:BacklinkCacheFactory|BacklinkCacheFactory::getBacklinkCache()}} i.e. BacklinkCacheFactory::getBacklinkCache()

Please realign the text or create the corresponding pages if still actual.

Christian 🇫🇷 FR (talk) 14:18, 27 November 2024 (UTC)--Reply

Return to "Title.php" page.