Last modified: 2011-08-12 20:11:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T32014, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30014 - plainlinks class won't work with [irc:#foo]
plainlinks class won't work with [irc:#foo]
Status: NEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-22 10:14 UTC by Axpde
Modified: 2011-08-12 20:11 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Axpde 2011-07-22 10:14:44 UTC
On meta I changed [[:m:Template:Channel]] by including the <nowiki>[irc:...]</nowiki> part into <nowiki><span class="plainlinks"></nowiki> (see [http://meta.wikimedia.org/w/index.php?title=Template:Channel&oldid=2752406 difflink]).

On my own user page, the template worked as desired, but [[:m:Talk:Spam blacklist]] got corrupted. There was no sidebar, no topbar, and the line

 #wikimedia-external-links<sup>connect</sup> - Real-time IRC chat for co-ordination of activities related to maintenance of the blacklist.

was changed into

 1. wikimedia-external-links<sup>connect</sup> - Real-time IRC chat for co-ordination of activities related to maintenance of the blacklist.

Somehow mediawiki wrongly substituted the "#" of the channel name with a numbered list!
Comment 1 Brion Vibber 2011-07-22 18:03:44 UTC
First thing I see wrong is that the template version you pointed to tries to do [[irc:link|text]] rather than [irc:link text].

If I correct it that way on a local copy, then I can see the problem you describe -- this is probably because of one of the nested bits incorrectly thinking it's at line-start when it's not.
Comment 2 Axpde 2011-07-23 08:20:24 UTC
The syntax change from [irc://server/channel #channel] to [[irc:channel|#channel]] was introduced on July, 14th this year (difflink: http://meta.wikimedia.org/w/index.php?title=Template:Channel&diff=next&oldid=2006559). But (nearly) all continued to work properly ...
Comment 3 Axpde 2011-07-23 09:08:45 UTC
Ok, I restored the old crappy version in [[:m:User:Axpde/Channel]] and linked it the same way as it is done in [[:m:Talk:Spam blacklist]] in [[:m:User:Axpde/Sandbox]] ... no error!

But when I exchange ":''{{channel|wikimedia-external-links}}''" in [[:m:Talk:Spam blacklist]] with ":''{{User:Axpde/Channel|wikimedia-external-links}}''" ... same error as before (and in preview mode without sidebar, topbar and footerbar (see this version: http://meta.wikimedia.org/w/index.php?title=Talk:Spam_blacklist&oldid=2756098).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links