Last modified: 2011-03-13 18:06:22 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 T5208, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3208 - "Wikify" remaining plain MediaWiki messages
"Wikify" remaining plain MediaWiki messages
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.13.x
All All
: Lowest major with 5 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Med...
: patch-need-review
: 3721 4187 14064 16851 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-20 17:01 UTC by David Benbennick
Modified: 2011-03-13 18:06 UTC (History)
6 users (show)

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


Attachments

Description David Benbennick 2005-08-20 17:01:06 UTC
Links in [[MediaWiki:Filedesc]] used to work.  As of this morning at 
the Commons (running 1.6alpha) that page is displayed as plain text in 
[[Special:Upload]].  Check the history of 
 
http://commons.wikimedia.org/wiki/MediaWiki:Filedesc 
 
which used to consist of 
 
<a href="/wiki/Commons:Upload_summary">Summary</a>
Comment 1 Niklas Laxström 2005-08-20 17:10:39 UTC
Actually it's used in two places:
includes/SpecialUpload.php:             $fd = wfMsgHtml( 'filedesc' );
includes/Image.php:                     $textdesc = '== ' . wfMsg ( 'filedesc' )
. " ==\n" . $desc . "\n" .

First one is plain text and second is wikitext.

I'll experiment if I can change to first on to wikitext.
Comment 2 David Benbennick 2005-08-20 17:29:36 UTC
The same goes for [[MediaWiki:Badfiletype]]. 
Comment 3 Niklas Laxström 2005-08-20 17:58:34 UTC
I created new message [[Mediawiki:fileuploadsummary]] which is wikitext and
contains the semicolon.
Comment 4 David Benbennick 2005-08-28 17:31:33 UTC
[[MediaWiki:Categoriespagetext]] is another message where <a> used to work, and
now neither HTML nor Wiki markup works.
Comment 5 Niklas Laxström 2005-09-12 20:29:32 UTC
Not anymore, now wikitext.
Comment 6 David Benbennick 2005-09-12 20:55:56 UTC
It appears that [[MediaWiki:Categoriespagetext]] is still not wikified.  See
[[Special:Categories]].
Comment 7 Niklas Laxström 2005-09-12 21:01:22 UTC
It will be, when wikimedia installation is next time synced, which may take from
hours to days.
Comment 8 Adraeus 2005-09-14 09:21:03 UTC
Formatting is not interpreted in [[MediaWiki:Tagline]].
Comment 9 Adraeus 2005-09-14 14:05:35 UTC
Formatting is not interpreted in [[MediaWiki:Booksourcetext]].
Comment 10 David Benbennick 2005-09-18 16:55:05 UTC
[[MediaWiki:Badfiletype]] is still not wikified.
Comment 11 David Benbennick 2005-10-16 17:42:10 UTC
[[MediaWiki:Minoredit]] is not wikified.
Comment 12 bdk 2005-10-16 19:35:14 UTC
*** Bug 3721 has been marked as a duplicate of this bug. ***
Comment 13 bdk 2005-10-16 19:37:42 UTC
And some more (moved from bug 3721):
* [[MediaWiki:Timezonetext]]
* [[MediaWiki:Templatesused]]
* [[MediaWiki:Unusedcategoriestext]]
* [[MediaWiki:Doubleredirectstext]]
should also be wiki text.
Comment 14 T. Gries 2005-12-11 23:04:29 UTC
(In reply to comment #8)
> Formatting is not interpreted in [[MediaWiki:Tagline]].

see bugzilla 4187 (duplicate)
Comment 15 T. Gries 2005-12-11 23:06:04 UTC
*** Bug 4187 has been marked as a duplicate of this bug. ***
Comment 16 lɛʁi לערי ריינהארט 2005-12-12 09:39:49 UTC
*note*
The feature requested at
bug 2453: [[Special:Allmessages]] should provide information about the type of
the MediaWiki message
would help sysops, developers and users to identify chaanges and bug easier.

As this information would need to be maintaind in a (.php) file it would be easy
to follow changes about how MediaWiki messages are rendering / used via CVS.
However its implementation would require a lot of work analysing the whole
existing code.

best regards reinhart [[user:gangleri]]
Comment 17 T. Gries 2005-12-12 21:16:57 UTC
See my quick patch for [[MediaWiki:tagline]] in bugzilla 4187

For those who need [[MediaWiki:tagline]] messages with HTML and Wiki-formatted
texts (which is currently not
possible), the attached very simple patch is suggested for CVS-HEAD and similar
products:

/skins/Monobook.php
change line 84 (or search for 'tagline')

<h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
to
<h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>

I will submit a regular patch as soon as the cvs access to sf.net is working
again (which is currently not the
case for me for an unknown reason). I also ask the experts to review my patch
(whether it could have negative side effects).

It's unclear, whether a similar change would solve all other message text
problems, but it's again up to the experts to decide.
Comment 18 T. Gries 2005-12-12 21:36:27 UTC
Patch for the unpatient readers:

/skins/Monobook.php change line 84 (or search for 'tagline')

   <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>

to

  <h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>
Comment 19 T. Gries 2005-12-15 23:03:56 UTC
(In reply to comment #13)
> * [[MediaWiki:Timezonetext]]
> * [[MediaWiki:Templatesused]]
> * [[MediaWiki:Unusedcategoriestext]]
> * [[MediaWiki:Doubleredirectstext]]
> should also be wiki text.

also [[MediaWiki:Fileuploaded]]
Comment 20 T. Gries 2005-12-15 23:23:31 UTC
(In reply to comment #19)
> .... [[MediaWiki:Fileuploaded]]
> should also be wiki text.
This appears to be solved in HEAD (1.6); sorry

Comment 21 Melancholie 2006-03-08 00:03:18 UTC
Hmm, isn't this bug actually a duplicate of bug 212?
Comment 22 T. Gries 2006-03-08 00:26:53 UTC
repeated from comments #17, #18 ...

/skins/Monobook.php change line 84 (or search for 'tagline')

change <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
to     <h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>

and so on for all the other remaining not-yet-wikified messages as listed in
this bugzilla 3208
Comment 23 David Benbennick 2006-03-26 18:20:02 UTC
[[MediaWiki:Gotaccount]] is apparently not wikified.
Comment 24 David Benbennick 2006-03-26 18:33:07 UTC
And could we please get [[MediaWiki:Nologin]] wikified ASAP?  I need to add a
language bar at http://commons.wikimedia.org/wiki/MediaWiki:Nologin  (Actually,
it would be nicer if the entire content of [[Special:Userlogin]] were generated
by a single MediaWiki message, but I guess that's too much to hope for.)
Comment 25 Borgx 2006-04-04 03:09:33 UTC
Also [[MediaWiki:1movedto2]] and [[Mediawiki:1movedto2_redir]]
Comment 26 T. Gries 2006-09-16 09:42:51 UTC
(In reply to comment #22)

> /skins/Monobook.php change line 84 (or search for 'tagline')
> change <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
> to     <h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>
> and so on for all the other remaining not-yet-wikified messages as listed in
> this bugzilla 3208

An open issue; the 1.7.1 still lacks the msgWiki() -fying of remaining plain
text textvariables and I kindly ask the main developers to "Wikify" remaining
plain MediaWiki messages for example [[MediaWiki:Tagline]] and many more (see
this mediazilla).


Comment 27 Brion Vibber 2006-09-18 08:07:02 UTC
Such messages are performance-sensitive, and most likely will not be wikified.
Comment 28 Nux 2006-12-03 01:52:15 UTC
How about [[MediaWiki:Badfiletype]], this shouldn't be a performance issue (a
rare message), and there is no way to add a link there (neither [[]] nor <a
href="...">...</a> works).
Comment 29 Niklas Laxström 2007-11-14 15:17:40 UTC
At the moment it is impossible to know from the comments what should be changed to what and what is changed already in the meantime. Please open new bugs for new requests, if needed.
Comment 30 T. Gries 2008-05-07 14:52:29 UTC
/skins/Monobook.php:

change <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
to     <h3 id="siteSub"><?php $this->msgWiki('tagline') ?></h3>

to allow wikisyntax and links for tagline contents.
Comment 31 Leon Weber 2008-05-07 14:58:40 UTC
Commited to SVN trunk, r34370.
Comment 32 Robert Leverington 2008-05-07 15:59:32 UTC
That fix only fixes MonoBook -- this needs to be done for all skins.
Comment 33 Alex Z. 2008-05-07 18:18:58 UTC
was also reverted by Brion in r34382

"Revert r34370 -- don't rev up the wiki parser for *every single page view ever* please!"
Comment 34 Leon Weber 2008-05-07 18:35:28 UTC
Wontfixing, then.
Comment 35 Niklas Laxström 2008-05-09 21:54:41 UTC
*** Bug 14064 has been marked as a duplicate of this bug. ***
Comment 36 P.Copp 2009-01-02 23:43:08 UTC
*** Bug 16851 has been marked as a duplicate of this bug. ***

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


Navigation
Links