Page MenuHomePhabricator

Warning produced when using {{SUBPAGENAME}} in some namespaces
Closed, ResolvedPublic

Description

Author: loustyx

Description:

  • following message sometime appears in namespaces Help (Aide), Template

(Modèle), (...?)

Notice: Undefined offset 10 (or 12) in ....\includes\Title.php on line 683

it usualy appears when I save changes or with "&action=purge". (it disappears
when I reload)

  • with URL :

http://127.0.0.1/STyxWiki/index.php?title=Aide:Test/test/foo&action=edit
if I write {{SUBPAGENAME}} and submit. Result is "Test/test/foo" instead of
"foo" (+php Notice)

Version:

  1. PHP: 4.3.10 (apache)
  2. MySQL: 4.1.9-max
  3. Extensions:
    • Parser hooks: o CharInsert by Brion Vibber o Cite, adds <ref[ name=id]> and <references/> tags, for citations, by

Ævar Arnfjörð Bjarmason

  • Extension functions: o setupSpecialChars and wfCite
  • Parser extension tags: o <charinsert>, <ref> and <references>
  1. Hooks:
    • ParserClearState: (cite, clearState)

Version: 1.6.x
Severity: normal

Details

Reference
bz5510

Related Objects

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:11 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz5510.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Fixed in SVN trunk, r13597 and backported to REL1_6.